> From: Jay Booth [mailto:jbo...@wgen.net]  
> Are you fetching all of the results for your search? 

No, I'm not doing anything on the search results.
This is essentially what I do:

        searcher = new IndexSearcher(IndexReader.open(indexFileDir));
      query = new TermQuery(new Term(fieldName, queryTerm));
        for (int i=0; i<1000; ++i){
        TopDocs td = searcher.search(query, null, 50, Sort.RELEVANCE);
          // td is not used and the results are thrown away.
        }
-kuro  
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to