I had the patch problem but I manually created that file and
solr nightly builds fine.

After replacing solr.war with apache-solr-solrj-1.3-dev.jar,
in solrconfig.xml, I added this:

<searchComponent name="collapse"  
class="org.apache.solr.handler.component.CollapseComponent" />

Then added this to the standard and dismax handler handler
<requestHandler name="standard" ...
    <arr name="components">
      <str>collapse</str>
    </arr>
</requestHandler>

I added &collapse.field=<field>&collapse.threshold=<n>, and the result
collapsed as expected.

> Can you provide feedback about this particular patch once you try
> it?  I'd like to get it on Solr 1.3, actually, so any feedback would
> help.

> Thanks,
> Otis



Reply via email to