: I'd like to have an up-to-date map from unique-ids to lucene internal : doc-nums.
Which way do you want the mapping to go? You can use the FieldCache to generate a cached mapping from docid to any (single value) indexed field. if you want a mapping from field value to docid, just iterate over a TermEnum for your field, you'll get all the field values in lexical order and you can use a TermDoc to find which doc(s) are associated with that Term. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]