Start with one node
{
"mappings": {
"post": {
"properties": {
"id": {"type":"long", "store":"yes", "precision_step":"0" },
"name": {"type":"string", "store":"yes", "index":"analyzed" },
"published": {"type":"date", "store":"yes","precision_step":"0" },
"contents": {"type":"string", "store":"no", "index":"analyzed" }
}}}}
Indexing
Searching
Analysis
Tokenization
Filtering
Analyzer
- boolean- fast- no scoring- cacheable*
- fuzzy, scoring- slownot cacheable
- term, terms, match query, boolean match- phase match, match prefix, multi match- query string, field, prefix, fuzzy, all, wildcard, range
- bool- filtered- boosting- custom score