Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nobitagit/elasticsearch-es6
ES2015 + elasticsearch + autocomplete demo
https://github.com/nobitagit/elasticsearch-es6
Last synced: about 1 month ago
JSON representation
ES2015 + elasticsearch + autocomplete demo
- Host: GitHub
- URL: https://github.com/nobitagit/elasticsearch-es6
- Owner: nobitagit
- Created: 2015-12-16T20:05:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-15T23:01:23.000Z (almost 9 years ago)
- Last Synced: 2024-04-14T11:36:25.507Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Elasticsearch + ES6 autocomplete demo
How to start this project:
- clone it
- run `npm i`
- run `npm run build`
- start an ElasticSearch instance
- open `dist/index.html`Once the page is open:
- press the button to create an index
- add 'title' and 'content', press 'post' (repeat a few times to grow the index)
- type in the search field and see the autocomplete kick instart off with Elastic: http://okfnlabs.org/blog/2013/07/01/elasticsearch-query-tutorial.html#query-dsl-overview
credits to: https://blog.raananweber.com/2015/11/24/simple-autocomplete-with-elasticsearch-and-node-js/