: Is there a simple way to list all terms in a field?
: The only approach that I see is to use the IndexReader.terms() method
: and then iterate over all the results and build my list by manually
: filtering. This seems inefficient and there must be a better way that
: my newbie eyes don'
(this == o) return 0;
TermFreq other = (TermFreq) o;
return other.freq - this.freq;
}
}
On Apr 7, 2005 9:00 PM, Mark Gunnels <[EMAIL PROTECTED]> wrote:
> Is there a simple way to list all terms in a field?
> The only approach that I see is to use the IndexReader.te
Is there a simple way to list all terms in a field?
The only approach that I see is to use the IndexReader.terms() method
and then iterate over all the results and build my list by manually
filtering. This seems inefficient and there must be a better way that
my newbie eyes don'