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: best way to get specific results
Date Mon, 18 Sep 2006 15:26:05 GMT

: Thanks for the info on this. Since I should use the search function that
: returns TopDocs, I was wondering what was the proper way to create a
: Weight object to pass into the search function.

I think you are getting too hung up on the method summary section of the
IndexSearcher javadocs ... IndexSearcher also supports all of the methods
in the Searcher interface, like...

   TopDocs d = searcher.search(myQuery, (Filter)null, 100);




-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