UnInvertedField does this...
    final String prefix =
TrieField.getMainValuePrefix(searcher.getSchema().getFieldType(field));

-Yonik
http://lucidworks.com


On Mon, Sep 9, 2013 at 5:35 PM, Joel Bernstein <[email protected]> wrote:
> Hi,
>
> I wrote some code that iterates through an int field terms using a TermsEnum
> and it works great.
>
> Tried the same code on a Trie Int, precision step 8 field and the code no
> longer works properly, because of the precision step terms in the index.
>
> How can I distinguish between the original term and the precision step terms
> while iterating through the TermsEnum?
>
> Thanks,
> Joel
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to