-
Notifications
You must be signed in to change notification settings - Fork 1
Elastic Search Query Notes
Robbie Hott edited this page Apr 3, 2015
·
2 revisions
Elastic search is quite powerful, and there are a few nice search features we can take advantage of:
- Wildcard and regex queries work: http://www.elastic.co/guide/en/elasticsearch/guide/current/_wildcard_and_regexp_queries.html
- Prefix searching for fast autocomplete: http://www.elastic.co/guide/en/elasticsearch/guide/current/_query_time_search_as_you_type.html
Note the full listing of query types can be found here
Indexing might help us, too, if the default inverted indices are not enough. The inverted index allows for regex, wildcard, and even edit-distance searching. However, other methods of indexing exist:
Also, it has a great scoring mechanism, as seen here and here