You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "LiLi (JIRA)" <ji...@apache.org> on 2010/07/26 05:13:53 UTC

[jira] Commented: (SOLR-1632) Distributed IDF

    [ https://issues.apache.org/jira/browse/SOLR-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892167#action_12892167 ] 

LiLi commented on SOLR-1632:
----------------------------

My solr version is 1.4. I patched it but failed.
SolrCache<String, Integer> cache = perShardCache.get(shard);  it suggests that "The type SolrCache is not generic; it cannot be parameterized with arguments <String, Integer>" 

The SolrCache is a interface: public interface SolrCache extends SolrInfoMBean 

patching file src/common/org/apache/solr/common/params/ShardParams.java
patching file src/java/org/apache/solr/core/SolrConfig.java
Hunk #1 succeeded at 30 with fuzz 2 (offset 2 lines).
Hunk #2 FAILED at 197.
1 out of 2 hunks FAILED -- saving rejects to file src/java/org/apache/solr/core/
SolrConfig.java.rej
patching file src/java/org/apache/solr/core/SolrCore.java
Hunk #5 succeeded at 821 (offset 3 lines).
patching file src/java/org/apache/solr/handler/component/QueryComponent.java
Hunk #1 succeeded at 40 with fuzz 2 (offset -2 lines).
Hunk #6 succeeded at 302 (offset 13 lines).
Hunk #7 succeeded at 324 with fuzz 2 (offset 12 lines).
Hunk #8 succeeded at 343 (offset 21 lines).
Hunk #9 succeeded at 367 (offset 21 lines).
Hunk #10 succeeded at 423 (offset 28 lines).
patching file src/java/org/apache/solr/handler/component/SearchHandler.java
patching file src/java/org/apache/solr/handler/component/ShardRequest.java
Hunk #1 FAILED at 37.
1 out of 1 hunk FAILED -- saving rejects to file src/java/org/apache/solr/handle
r/component/ShardRequest.java.rej
patching file src/java/org/apache/solr/search/DFCache.java
patching file src/java/org/apache/solr/search/DFSource.java
patching file src/java/org/apache/solr/search/DefaultDFCache.java
patching file src/java/org/apache/solr/search/ExactDFCache.java
patching file src/java/org/apache/solr/search/LRUDFCache.java
patching file src/java/org/apache/solr/search/SolrIndexSearcher.java
Hunk #1 succeeded at 77 (offset 3 lines).
Hunk #2 succeeded at 149 (offset 3 lines).
Hunk #3 succeeded at 699 (offset 46 lines).
Hunk #4 succeeded at 927 (offset 59 lines).
Hunk #5 succeeded at 1041 (offset 59 lines).
Hunk #6 succeeded at 1190 with fuzz 1 (offset 180 lines).
Hunk #7 FAILED at 1276.
Hunk #8 FAILED at 1311.
Hunk #9 succeeded at 1608 (offset 104 lines).
Hunk #10 succeeded at 1716 (offset 113 lines).
Hunk #11 succeeded at 1774 (offset 113 lines).
2 out of 11 hunks FAILED -- saving rejects to file src/java/org/apache/solr/sear
ch/SolrIndexSearcher.java.rej
patching file src/java/org/apache/solr/util/SolrPluginUtils.java
can't find file to patch at input line 1206
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: trunk/src/test/org/apache/solr/BaseDistributedSearchTestCase.java
|===============================================================
|--- trunk/src/test/org/apache/solr/BaseDistributedSearchTestCase.java  (revisio
n 893413)
|+++ trunk/src/test/org/apache/solr/BaseDistributedSearchTestCase.java  (working
 copy)
--------------------------
File to patch:
Skip this patch? [y] n
File to patch:
Skip this patch? [y]
Skipping patch.
4 out of 4 hunks ignored
patching file src/test/org/apache/solr/search/TestDefaultDFCache.java
patching file src/test/org/apache/solr/search/TestExactDFCache.java
patching file src/test/org/apache/solr/search/TestLRUDFCache.java
patching file src/test/test-files/solr/conf/solrconfig-defaultdfcache.xml
patching file src/test/test-files/solr/conf/solrconfig-exactdfcache.xml
patching file src/test/test-files/solr/conf/solrconfig-lrudfcache.xml

> Distributed IDF
> ---------------
>
>                 Key: SOLR-1632
>                 URL: https://issues.apache.org/jira/browse/SOLR-1632
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.5
>            Reporter: Andrzej Bialecki 
>         Attachments: distrib-2.patch, distrib.patch
>
>
> Distributed IDF is a valuable enhancement for distributed search across non-uniform shards. This issue tracks the proposed implementation of an API to support this functionality in Solr.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org