We have ElasticSearch 1.5 set up with a very simple mapping to perform full
text search in our docs (https://docs.giantswarm.io/). When searching for
"swarmvars" we get no hits, although "swarmvars.json" appears in documents.
The field "text" is used as a catch-all field for all searchable content
(title, document body, keywords). Here is the mapping:
When using the "english" analyzer on the text "Text containing
swarmvars.json and more", the result are these tokens:
Having the token "swarmvars.json" is fine. What I need are two additional
tokens "swarmvars" and "json". How can I achieve that?
I was looking into creating a custom tokenizer, but I was unable to get it
to work (errors when applying the settings) and also I was unable to find
an example, no matter how I searched.
Please update your bookmarks! We have moved to https://discuss.elastic.co/
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/85a03096-ae33-4517-8eab-6f2be4da73ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.