lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Determining index from MultiSearcher
Date Thu, 07 Sep 2006 23:51:06 GMT

: For ranking purposes, I need to know at least the String version of the
: Directory associated with the index for each returned Document.
:
: Does anybody know if there currently some built-in functionality to do this?

note the following methods...

http://lucene.apache.org/java/docs/api/org/apache/lucene/search/MultiSearcher.html#getSearchables()
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/MultiSearcher.html#subSearcher(int)
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/MultiSearcher.html#subDoc(int)

...the last may be of no iterest to you, but from what i've seen
discussed before, the first two are all what you are looking for.



-Hoss


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