: What i would prefer to see as we do with all other parameters is a
: normal key/value pairing. this might look like:
a true key value pairing via a "map" type structure is what you get with
json.nl=map -- but in most client langauges that would lose whatever
sorting you might have specified with facet.sort.
: {"metadata_meta_last_author":[{"value": "Nick", "count": 330},{"value":
: "standard user","count": 153},{"value": "Mohan","count":
: 52},{"value":"wwd","count": 49}…
that structure is essentially what you get with json.nl=arrarr -- ie: the
values are still in the specified facet.sort order; but instead of an
array of maps, it's an array of array "pairs".
This is the most close equivilent to how the facet counts are internally
modeled -- you should be able to inject those keys you choose ("value" and
"count") in your client layer fairely easily.
-Hoss