You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "karel04@gmail.com" <ka...@gmail.com> on 2011/05/27 19:13:57 UTC

Result Grouping always returns grouped output

Hello,

I am using the latest nightly build of Solr 4.0 and I would like to
use grouping/field collapsing while maintaining compatibility with my
current parser.  I am using the regular webinterface to test it, the
same commands like in the wiki, just with the field names matching my
dataset.

Grouping itself works, group=true and group.field return the expected
results, but neither group.main=true or group.format=simple seem to
change anything.

Do I have to include something special in solrconconfig.xml or
scheme.xml to make the simple output work?

Thanks for any hints,
K

Re: Result Grouping always returns grouped output

Posted by Martijn v Groningen <ma...@gmail.com>.
Hi Karel,

group.main=true should do the trick. When that is set to true the
group.format is always simple.

Martijn

On 27 May 2011 19:13, karel04@gmail.com <ka...@gmail.com> wrote:

> Hello,
>
> I am using the latest nightly build of Solr 4.0 and I would like to
> use grouping/field collapsing while maintaining compatibility with my
> current parser.  I am using the regular webinterface to test it, the
> same commands like in the wiki, just with the field names matching my
> dataset.
>
> Grouping itself works, group=true and group.field return the expected
> results, but neither group.main=true or group.format=simple seem to
> change anything.
>
> Do I have to include something special in solrconconfig.xml or
> scheme.xml to make the simple output work?
>
> Thanks for any hints,
> K
>



-- 
Met vriendelijke groet,

Martijn van Groningen