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

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -