Searching
*Double quotes are required for phrase searching, single quotes do not work **Not analyzed fields are case sensitive ***Allowing a wildcard at the beginning of a word (eg "*ing") is particularly heavy, because all terms in the index need to be examined, just in case they match Reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html Analyzed vs Not Analyzed (.raw)
Above is how Elasticsearch stores analyzed vs not analyzed strings for searching. Not analyzed fields need to be searched as one phrase. Analyzed fields can be searched using one or more of its sections. See: https://www.elastic.co/guide/en/elasticsearch/guide/current/mapping-intro.html Analyzed vs Not AnalyzedFilters |
Cheatography
https://cheatography.com
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets