I notice that in Solr 4.6.1 CollapsingQParserPlugin is slower than standard
Solr field grouping. I have a Solr index of 10000 docs, with a signature
field which is a Solr dedup field of the doc content. Majority of the
signatures are unique.

        <field name="signature" type="string" stored="true" indexed="true"
multiValued="false" />

With standard Solr field grouping,
http://localhost:4462/solr/collection1/select?q=*:*&group.ngroups=true&group=true&group.field=signature&group.main=true&rows=10000&fl=id

I get average QTime 78 after Solr warmed up.

Using CollapsingQParserPlugin,
http://localhost:4462/solr/collection1/select?q=*:*&fq={!collapse%20field=signature}&rows=10000&fl=id

I get average QTime 89.2

In fact CollapsingQParserPlugin QTime is always slower than the standard
Solr field grouping.

How can I get CollapsingQParserPlugin run faster?

Joe

Reply via email to