Created
March 10, 2022 10:13
-
-
Save leberknecht/ea1692a0281fd832ecc68462c0bb6d33 to your computer and use it in GitHub Desktop.
Elasticsearch special character meanings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ => term must be present | |
- => tern must not be present | |
&& => not 100% sure, lucene says `can be used in place of the word AND` | |
|| => not 100% sure, lucene says `can be used in place of the word OR` | |
> => can be used in comparison on range queries like `age:(+>=10 +<20)` | |
< => can be used in comparison on range queries like `age:(+>=10 +<20)` | |
= => can be used in comparison on range queries like `age:(+>=10 +<20)` | |
( => range query opening | |
) => range query closing | |
{ => exclusive range query opening | |
} => exclusive range query closing | |
[ => inclusive range query opening | |
] => inclusive range query closing | |
" => used for exact term as in `"Match this whole thing"` | |
~ => Fuzzy matching | |
* => wildcard | |
? => can occure but doesnt have to | |
: => end-of-fieldname marker (as in `age:(+>=10 +<20)`) | |
\ => escape character | |
/ => regex delimiter | |
! => not sure | |
^ => not sure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment