Hi Thomas, In a 5-24-09 nightly build, I applied the patch:
cd apache-solr-nightly patch -p0 < ~/Projects/apache-solr-patches/SOLR-236_collapsing.patch patching file src/common/org/apache/solr/common/params/CollapseParams.java patching file src/java/org/apache/solr/handler/component/CollapseComponent.java patching file src/java/org/apache/solr/search/CollapseFilter.java patching file src/java/org/apache/solr/search/NegatedDocSet.java patching file src/java/org/apache/solr/search/SolrIndexSearcher.java Hunk #1 succeeded at 1444 (offset -39 lines). patching file src/test/org/apache/solr/search/TestDocSet.java Hunk #1 succeeded at 134 (offset 42 lines). ... and got this when running "ant dist" docs: [mkdir] Created dir: /Users/mwm4n/Downloads/apache-solr-nightly/contrib/javascript/dist/doc [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main [java] at JsRun.main(Unknown Source) BUILD FAILED /Users/mwm4n/Downloads/apache-solr-nightly/common-build.xml:338: The following error occurred while executing this line: /Users/mwm4n/Downloads/apache-solr-nightly/common-build.xml:215: The following error occurred while executing this line: /Users/mwm4n/Downloads/apache-solr-nightly/contrib/javascript/build.xml:74: Java returned: 1 Not sure what any of that means, but the "ant dist" task worked fine before the patch. Any ideas? Thanks, Matt On Mon, May 25, 2009 at 3:59 PM, Thomas Traeger <t.trae...@kabuco.de> wrote: > Hello Matt, > > the patch should work with trunk and after a small fix with 1.3 too (see > my comment in SOLR-236). I just made a successful build to be sure. > > Do you see any error messages? > > Thomas > > Matt Mitchell schrieb: > > Thanks guys. I looked at the dedup stuff, but the documents I'm adding >> aren't really duplicates. They're very similar, but different. >> >> I checked out the field collapsing feature patch, applied the patch but >> can't get it to build successfully. Will this patch work with a nightly >> build? >> >> Thanks! >> >> On Fri, May 15, 2009 at 7:47 PM, Otis Gospodnetic < >> otis_gospodne...@yahoo.com> wrote: >> >> Matt - you may also want to detect near duplicates at index time: >>> >>> http://wiki.apache.org/solr/Deduplication >>> >>> Otis >>> -- >>> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch >>> >>> >>> >>> ----- Original Message ---- >>> >>>> From: Matt Mitchell <goodie...@gmail.com> >>>> To: solr-user@lucene.apache.org >>>> Sent: Friday, May 15, 2009 6:52:48 PM >>>> Subject: grouping response docs together >>>> >>>> Is there a built-in mechanism for grouping similar documents together in >>>> >>> the >>> >>>> response? I'd like to make it look like there is only one document with >>>> multiple "hits". >>>> >>>> Matt >>>> >>> >>> >> >