lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lennart Regebro" <>
Subject Getting the terms for a particular field.
Date Wed, 25 Oct 2006 12:38:12 GMT

I'm trying to get out all of the terms in a field. More specifically,
I'm trying to get a complete list of the UIDs I have indexed.

The best I have come up with so far is to go through all the terms
gotten from the IndexReader.terms() and filter on field(). That works
but fields kinda silly, but I don't know enough of Lucenes internals
to know if it is silly or not. ;-)

I'm using NX/Lucene/PyLucene is that makes a difference.

Lennart Regebro, Nuxeo
CPS Content Management

View raw message