Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Getting the number of indexed fields in an index

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


marc.dumontier at thomson

Feb 12, 2008, 8:13 AM

Post #1 of 2 (192 views)
Permalink
Getting the number of indexed fields in an index

Hi,



Does anyone have a code snippet which would allow me to ask my index how
many instances of a field are indexed?





Thanks,



Marc Dumontier
Manager, Software Development
Thomson Scientific (Canada)
1 Yonge Street, Suite 1801
Toronto, Ontario M5E 1W7



Direct +1 416 214 3448
Mobile +1 416 454 3147


gsingers at apache

Feb 12, 2008, 12:49 PM

Post #2 of 2 (178 views)
Permalink
Re: Getting the number of indexed fields in an index [In reply to]

I think this is what you are asking: http://lucene.apache.org/java/2_3_0/api/core/org/apache/lucene/index/IndexReader.html#getFieldNames(org.apache.lucene.index.IndexReader.FieldOption)



On Feb 12, 2008, at 11:13 AM, <marc.dumontier[at]thomson.com> <marc.dumontier[at]thomson.com
> wrote:

> Hi,
>
>
>
> Does anyone have a code snippet which would allow me to ask my index
> how
> many instances of a field are indexed?
>
>
>
>
>
> Thanks,
>
>
>
> Marc Dumontier
> Manager, Software Development
> Thomson Scientific (Canada)
> 1 Yonge Street, Suite 1801
> Toronto, Ontario M5E 1W7
>
>
>
> Direct +1 416 214 3448
> Mobile +1 416 454 3147
>
>
>




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

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.