lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@syr.edu>
Subject Re: Document number
Date Thu, 27 Oct 2005 00:10:55 GMT
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: java-user-unsubscribe@lucene.apache.org
>>For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>>
>> 
>>
>>    
>>
>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: java-user-unsubscribe@lucene.apache.org
>For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message