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 JLIST <jl...@gmail.com> on 2008/06/18 11:24:25 UTC

SOLR-236 patch works

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