Hi, Ishan. May https://solr.apache.org/guide/solr/latest/query-guide/response-writers.html#json-nl help here?
On Sun, Jul 16, 2023 at 2:44 AM Ishan Chattopadhyaya < ichattopadhy...@gmail.com> wrote: > I used classic facets after a long time, and observed that the facet.field > results in a list of alternating keys and values: > > https://gist.github.com/chatman/e475d8fe8e2bf1d7890aa7f75768865e > > "facet_counts":{ > "facet_queries":{}, > "facet_fields":{ > "unknownField":[ > "val",1, > "val2",1] > }, > } > > Shouldn't it have been something like the following? > > "unknownField": {"val": 1, "val2": 1} > > Not sure if the current behaviour is intentional, but going forward does it > make sense to change to the latter? I do understand that the JSON Facets > API does the reasonable thing already. > -- Sincerely yours Mikhail Khludnev