Answer the question
In order to leave comments, you need to log in
Can't write a query with 2 facets?
In the database, each document has a city field and a country field,
I make a request facet.field=city&facet=on
and get
"facet_counts":{
"facet_queries":{},
"facet_fields":{
"property__city__string":[
"Chennai",2,
"Riyadh",2,
"Bogota",1,
"Bucharest",1,
"Chambery",1,
"Dax",1,
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question