You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by wangdong <hr...@gmail.com> on 2015/03/10 05:08:58 UTC

get the DocsEnum in lucene4.10.3

I am confused about the api in lucene 4.10.3.

I want to get the DocsEnum object and iterate the doc and its frequecy 
for a specific term.

Now I get the IndexReader and IndexSearcher in my hand.

What can I do ? thanks ahead!

andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: get the DocsEnum in lucene4.10.3

Posted by Ian Lea <ia...@gmail.com>.
Take a look at the first section of
https://lucene.apache.org/core/4_10_3/MIGRATE.html.  There's probably
something there that will help you.


--
Ian.


On Wed, Mar 11, 2015 at 11:03 AM, wangdong <hr...@gmail.com> wrote:
> Can anybody help me?
>
>
>> I am confused about the api in lucene 4.10.3.
>>
>> I want to get the DocsEnum object and iterate the doc and its frequecy for
>> a specific term.
>>
>> Now I get the IndexReader and IndexSearcher in my hand.
>>
>> What can I do ? thanks ahead!
>>
>> andrew
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: get the DocsEnum in lucene4.10.3

Posted by wangdong <hr...@gmail.com>.
Can anybody help me?

> I am confused about the api in lucene 4.10.3.
>
> I want to get the DocsEnum object and iterate the doc and its frequecy 
> for a specific term.
>
> Now I get the IndexReader and IndexSearcher in my hand.
>
> What can I do ? thanks ahead!
>
> andrew


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org