[
https://issues.apache.org/jira/browse/SOLR-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-1177:
----------------------------------------
Attachment: SOLR-1177.patch
# Based on Matt's patch
# Synced to trunk
# Uses BaseDistributedTestCase
All tests pass.
I had to change TermData#frequency to an int to match the output of distributed
and non-distributed cases. It is theoretically possible to have the sum of
frequencies from all shards to exceed size of an int but I don't think it is
practical right now. The problem is that we represent frequency as int
everywhere for non-distributed responses. If we want longs in distributed
search responses then we must start using longs in non-distributed responses as
well to maintain compatibility.
Matt -- There is an issue open for adding SolrJ support for TermsComponent -
SOLR-1139. Is it possible to replace the TermsHelper and TermData classes by
classes in SOLR-1139? I'd like to have the same classes parsing responses in
Solrj and distributed search.
> Distributed TermsComponent
> --------------------------
>
> Key: SOLR-1177
> URL: https://issues.apache.org/jira/browse/SOLR-1177
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 1.4
> Reporter: Matt Weber
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.5
>
> Attachments: SOLR-1177.patch, SOLR-1177.patch, SOLR-1177.patch,
> TermsComponent.java, TermsComponent.patch
>
>
> TermsComponent should be distributed
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.