Cheatography
https://cheatography.com
Boolean OperatorsAnd | AND && + | Or | OR || - | Not | NOT ! |
WildcardsSingle characters | ? | Multiple characters | * | Fuzzy | ~ |
Ranges1 to 10, including 1 and 10 | [ 1 TO 10 ] | 1 to 10, excluding 1 and 10 | { 1 TO 10 } | 1 to 10, including 1, excluding 10 | [1 to 5} | All days in 2017 | [2017-01-01 TO 2017-12-31] | Specific timestamp* | [2017-01-01T09:00:00 TO 2017-01-01T09:00:10] | Larger then 10 | >10 | Smaller then 10 | <10 | Larger or equal to 10 | >=10 | Smaller or equal to 10 | <=10 |
* timestamp : warning to timezone
| | Reserved charactersReserved | + - = && || > < ! ( ) { } [ ] ^ " ~ * ? : \ / | Break character | \ |
SearchKeyword | keyword | Pattern | *ywo* ?eywor? | Match field | field:term | Match field** | field.raw:TeRm | Field contains term1 or term2 | field:(term1 OR term2) | Field exists | _exists_:field | Field missing | !(_exists_:field) | Phrase | "/etc/elasticsearch/" | Regular Expressions | /h?[tx]ml?/ | JSON | { "match": { "field": "term" } } |
term : complete word in lowercase
** : Not analyzed fields are case sensitive
|
Created By
www.alasta.com
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by Alasta