Re: get the DocsEnum in lucene4.10.3

2015-03-11 Thread Ian Lea
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 wrote: > Can anybody help me? > > >> I am confused about the api in lucene 4.10.3. >> >> I want to ge

Re: get the DocsEnum in lucene4.10.3

2015-03-11 Thread wangdong
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 ---

get the DocsEnum in lucene4.10.3

2015-03-09 Thread wangdong
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