[ 
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

{code}
if (tc.getFrequency() >= freqmin && tc.getFrequency() <= freqmax) {
  fieldterms.add(tc.getTerm(), ((Number)tc.getFrequency()).intValue()); cnt++; 
}
{code}

I changed freqmin and freqmax to long and used Yonik's method to write int if 
possible or else switch to longs in the response.

I'll commit this shortly.

> 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, 
> 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.

Reply via email to