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
Fie
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 numbe