Yonik Seeley
added a comment - 25/Mar/10 12:36 Remember to check the JSON output for new request handlers!
We currently have this:
"terms" :[
"features" ,[
But it should be this:
"terms" : {
"features" : [

Isn't getting the terms in order more important then being able to look them up in a map?

Yes - just like faceting.
The proposal is not to change that part, but the top-level terms container.
In the example above "features" is the name of a field. It's "terms" that changes from a list to a map (the way faceting already is).

Yonik Seeley
added a comment - 25/Mar/10 16:26 Isn't getting the terms in order more important then being able to look them up in a map?
Yes - just like faceting.
The proposal is not to change that part, but the top-level terms container.
In the example above "features" is the name of a field. It's "terms" that changes from a list to a map (the way faceting already is).

Hoss Man
added a comment - 25/Mar/10 16:31 Ah .. sorry, my ignorance of TermsComponent is showing ... i though "features" was a term in the "terms" list for some field (specified higher up outside your snippet)
carry on.

Hoss Man
added a comment - 28/May/10 03:23
Correcting Fix Version based on CHANGES.txt, see this thread for more details...
http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E