While using the _version might seem to work in certain cases, I would
recommend to never use it for anything else than
optimistic locking of updates. In particular, versions do not carry any
meaning: they might look like the number of times a document has been modified
but it is not always the case (for instance if you create a new document which
has the same ID as a document that you just deleted, the version number of the
new document will not be 1), and more importantly it is an implementation detail,
this behaviour might change in the future.
Versioning
TOKEN FILTER
Token filters can act on the tokens
generated from the tokenizers and modify,
add or remove them
Slide 22
Slide 22 text
ANALYZER
Analyzer is combination of tokenizer and
token filters
Slide 23
Slide 23 text
BUILD IN ANALYZERS
‣ standard (default) combination of (standard token filter, lowercase
and stop token filter)
‣ simple
‣ whitespace
‣ stop
‣ keyword
‣ pattern
‣ language
‣ fingerprint
Slide 24
Slide 24 text
NORMALIZER
Normalizers are similar to analyzers
except that they may only emit a single
token
Slide 25
Slide 25 text
INVERTED INDEX
Frontend developer w Warszawie
PHP Developer Poznań
Slide 26
Slide 26 text
INVERTED INDEX
Token Document 1 Document 2
frontend 1
php 1
developer 1 1
poznan 1
warszawa 1
Slide 27
Slide 27 text
MAPPING
Mapping is the process of defining how a document,
and the fields it contains, are stored and indexed. For
instance, use mappings to define:
‣ which string fields should be treated as full text fields.
‣ which fields contain numbers, dates, or geolocations.
‣ the format of date values.
‣ custom rules to control the mapping for dynamically
added fields.