lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Re[2]: How to limit number of pages per domain
Date Tue, 17 Jun 2008 15:16:22 GMT
That looks like the correct way to apply the patch.  I tried it and it worked for me.

Otis
P.S.
no need to use reply-all, I'm subscribed to solr-user :)
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch


----- Original Message ----
> From: JLIST <jlist9@gmail.com>
> To: Otis Gospodnetic <otis_gospodnetic@yahoo.com>
> Cc: solr-user@lucene.apache.org
> Sent: Tuesday, June 17, 2008 1:16:04 AM
> Subject: Re[2]: How to limit number of pages per domain
> 
> Hello Otis,
> 
> https://issues.apache.org/jira/browse/SOLR-236 has links for
> a lot of files. I figure this is what I need:
> 10. solr-236.patch (24 kb)
> 
> So I downloaded the patch file, and also downloaded 2008/06/16
> nightly build, then I ran this, and got an error:
> 
> $ patch -p0 -i solr-236.patch --dry-run
> patching file `src/test/org/apache/solr/search/TestDocSet.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'
> patching file `src/java/org/apache/solr/common/params/CollapseParams.java'
> patching file 
> `src/java/org/apache/solr/handler/component/CollapseComponent.java'
> patch: **** malformed patch at line 680:
> 
> Am I doing it wrong, or missing some other steps?
> 
> Thanks,
> Jack
> 
> > I don't know yet, so I asked directly in that JIRA issue :)
> 
> > Applying patches is done something like this:
> > ....
> > Ah, just added it to the Solr FAQ on the Wiki for everyone:
> 
> > http://wiki.apache.org/solr/FAQ#head-bd01dc2c65240a36e7c0ee78eaef88912a0e4030
> 
> > 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
> > --
> > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
> 
> 
> > ----- Original Message ----
> >> From: Jack 
> >> To: solr-user@lucene.apache.org
> >> Sent: Thursday, May 22, 2008 12:35:28 PM
> >> Subject: Re: How to limit number of pages per domain
> >> 
> >> I think I'll give it a try. I haven't done this before. Are there any
> >> instructions regarding how to apply the patch? I see 9 files, some
> >> displayed in gray links, some in blue links; some named as .diff, some
> >> .patch; one has 1.3 in file name, one has 1.3, I suppose the other
> >> files are for both versions. Should I apply all of them?
> >> https://issues.apache.org/jira/browse/SOLR-236
> >> 
> >> > Actually, the best documentation are really the comments in the JIRA issue
> >> itself.
> >> > Is there anyone actually using Solr with this patch?


Mime
View raw message