lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sahin Buyrukbilen <sahin.buyrukbi...@gmail.com>
Subject Re: how to get the first term from index?
Date Thu, 30 Sep 2010 19:06:40 GMT
Thank you Anshum, it seems to be working, I need to play with it.



On Thu, Sep 30, 2010 at 2:34 PM, Anshum <anshumg@gmail.com> wrote:

> Hi Sahin,
> Incase you intend to get an enumerator on the terms in an index, you could
> use the following call [indexreader.terms()] from IndexReader to get the
> enumerator on terms and just iterate.
>
>
> http://lucene.apache.org/java/3_0_1/api/core/org/apache/lucene/index/IndexReader.html#terms()<http://lucene.apache.org/java/3_0_1/api/core/org/apache/lucene/index/IndexReader.html#terms%28%29>
> Hope this is what you intended!
>
> --
> Anshum Gupta
> http://ai-cafe.blogspot.com
>
>
> On Thu, Sep 30, 2010 at 11:54 PM, Sahin Buyrukbilen <
> sahin.buyrukbilen@gmail.com> wrote:
>
> > Hi all,
> >
> > I need to get the first term in my index and iterate it. Can anybody help
> > me?
> >
> > Best.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message