If by UID you mean the internal, volatile, Lucene integer used to
identify docs, then, yes, it must be an integer. If by UID you mean
some application specific field set on your document, then it can be
whatever you want that uniquely identifies that doc. Just know
Lucene knows nothing about it being your UID.
Grant
On May 15, 2007, at 12:19 PM, Ram Peters wrote:
Can UID be URI or it has to be INTEGER?
thnx
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------
Grant Ingersoll
Center for Natural Language Processing
http://www.cnlp.org/tech/lucene.asp
Read the Lucene Java FAQ at http://wiki.apache.org/jakarta-lucene/
LuceneFAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]