no [query] registered for [filtered]

The filtered query has been deprecated and removed in ES 5.0. You should now use the bool/must/filter query instead. { “query”: { “bool”: { “must”: { “multi_match”: { “operator”: “and”, “fields”: [ “author”, “title”, “publisher”, “year” ], “query”: “George Orwell” } }, “filter”: { “terms”: { “year”: [ 1980, 1981 ] } } } } … Read more

How to search for a part of a word with ElasticSearch

I’m using nGram, too. I use standard tokenizer and nGram just as a filter. Here is my setup: { “index”: { “index”: “my_idx”, “type”: “my_type”, “analysis”: { “index_analyzer”: { “my_index_analyzer”: { “type”: “custom”, “tokenizer”: “standard”, “filter”: [ “lowercase”, “mynGram” ] } }, “search_analyzer”: { “my_search_analyzer”: { “type”: “custom”, “tokenizer”: “standard”, “filter”: [ “standard”, “lowercase”, “mynGram” … Read more