On Sat, Nov 13, 2010 at 10:46 AM, Lukas Kahwe Smith <m...@pooteeweet.org> wrote: > > On 13.11.2010, at 10:30, Yonik Seeley wrote: > >> On Wed, Nov 10, 2010 at 9:12 AM, Lukas Kahwe Smith <m...@pooteeweet.org> >> wrote: >>> The above wiki page seems to be out of date. Reading the comments in >>> https://issues.apache.org/jira/browse/SOLR-236 it seems like "group" should >>> be replaced with "collapse". >> >> The Wiki page is not expansive, but I've tried to make it easy for >> people to get started, and make everything there correct. If you can >> point out what is incorrect, we can fix! >> >> With regards to faceting, it works, but is unaffected by grouping >> (i.e. facet counts will be the same as a non-grouped response). > > > The wiki page uses "group", but in the ticket all examples always speak of > "collapse". Which syntax is correct?
It's "group" - try out the examples on the wiki page. JIRA tickets are for development, not documentation. > Other than that the ticket also speaks of a few parameters not mentioned, > specifically if facetting should happen before or after group/collapse: > collapse.facet=before|after This currently doesn't exist in the committed code, hence the param is not documented. Grouping/collapsing currently has no effect on faceting (i.e. set group=false and you will get a non grouped result with the exact same facet counts). -Yonik http://www.lucidimagination.com