mirror of https://github.com/apache/lucene.git
SOLR-877: output ints instead of strings
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@721534 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b55c2b6592
commit
b78bb222e5
|
@ -64,7 +64,7 @@ public class TermsComponent extends SearchComponent {
|
|||
if (theTerm != null && theTerm.field().equals(field)
|
||||
&& ((upperIncl == true && upperCmp <= 0) ||
|
||||
(upperIncl == false && upperCmp < 0))) {
|
||||
terms.add(theText, String.valueOf(termEnum.docFreq()));
|
||||
terms.add(theText, termEnum.docFreq());
|
||||
} else {//we're done
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue