Yep.  hits.id() should do it.

Gusenbauer Stefan wrote:

Gusenbauer Stefan wrote:

I've searching trough the archives but is there a way to get the
document number for a specific document? I would need it for the Method
getTermFreqVector of IndexReader? For deleting I've saved a unique ID
Field to delete the documents but how I get the document number?
thanks
Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Sorry for the first Email but am I right if I have to do a search for
the document and then call the hits.id() method for the number of the
document?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to