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:
Grant Ingersoll 2008-11-28 16:53:09 +00:00
parent b55c2b6592
commit b78bb222e5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}