search - multi-word term factes in elasticsearch -
how do faceting in multi-word field , return under same multi-word field? question same getting elasticsearch facets treat multi-word field content atomic term problem answer there not working in case. query follow.
{ "query": { "query_string": { "query": "*a*" } }, "facets": { "facet1": { "terms": { "type":"multi_field", "field": { "city":{ "type":"string", "index":"not_analyzed" } } } } } }
Comments
Post a Comment