lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Bernstein <joels...@gmail.com>
Subject Re: TermsEnum and Trie Int
Date Mon, 09 Sep 2013 22:29:04 GMT
thanks!


On Mon, Sep 9, 2013 at 6:17 PM, Yonik Seeley <yonik@lucidworks.com> wrote:

> 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 <joelsolr@gmail.com> 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: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>


-- 
Joel Bernstein
Professional Services LucidWorks

Mime
View raw message