Do you also suggest applying that latest patch to the Solr 1.4 GA version of
the source code (branch-1.4)?
I'm a little worried about it breaking Solrj due to the merge issues
encountered (see below). Would I need to stop using Solrj as my client, and
start using staight HTTP requests to take advantage of the field-collapsing
functionality?
I did successfully build and test branch-1.4 with the field-collapse-5.patch
(patch from 12-08-2009 9:43 PM) but also see dependency issues in my IDE.
-Kelly
MERGE ISSUES (branch-1.4 and latest SOLR-236.patch)...
src/java/org/apache/solr/handler/component/QueryComponent.java
The file line
// we already have the sort values
and the patchline
ArrayList ids = new ArrayList(shardDocs.size());
do not match!
src/solrj/org/apache/solr/client/solrj/SolrQuery.java
The file line
import org.apache.solr.common.params.TermsParams;
and the patchline
do not match!
src/solrj/org/apache/solr/client/solrj/response/QueryResponse.java
The file line
private NamedList _termsInfo = null;
and the patchline
do not match!
Martijn v Groningen wrote:
>
> I wouldn't use the patches of the sub issues right now as they are
> under development right now (the are currently a POC). I also think
> that the latest patch in SOLR-236 is currently the best option. There
> are some memory related problems with the patch that have to do with
> caching. The fieldCollapse cache requires a lot of memory (best is not
> to use it right now). The filterCache also becomes quite large as
> well. Depending on the size your corpus you would need to increase
> your heap size and play around with that.
>
> Martijn
>
> 2010/1/12 Joe Calderon :
>> it seems to be in flux right now as the solr developers slowly make
>> improvements and ingest the various pieces into the solr trunk, i think
>> your
>> best bet might be to use the 12/24 patch and fix any errors where it
>> doesnt
>> apply cleanly
>>
>> im using solr trunk r892336 with the 12/24 patch
>>
>>
>> --joe
>> On 01/11/2010 08:48 PM, Kelly Taylor wrote:
>>>
>>> Hi,
>>>
>>> Is there a step-by-step for applying the patch for SOLR-236 to enable
>>> field
>>> collapsing in Solr 1.4?
>>>
>>> Thanks,
>>> Kelly
>>>
>>
>>
>
>
>
> --
> Met vriendelijke groet,
>
> Martijn van Groningen
>
>
--
View this message in context:
http://old.nabble.com/Re%3A-Solr-1.4-Field-collapsing---What-are-the-steps-for-applying-the-SOLR-236-patch--tp27122700p27166881.html
Sent from the Solr - User mailing list archive at Nabble.com.