lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: Document ID
Date Fri, 24 Jun 2005 19:11:21 GMT
>Is there any way to force the document id inside the lucene index, if
>I have my own internal numbering scheme, it would be nice to have that
>reflected inside the lucene index...anyway?
Simply put your ID as additional field to your document. You never 
should rely on lucenes document id as it might change due to delete 
documents during optimize.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message