Hey i am new in Lucene  and  i want to search indexes in *100 *ms;
FileSize is* 2gb* and  indexes are seperated via some type( 6 files ) and 
there are *20m records* in file 
i set searcher and  reader in the constructor 

and  i have boolean query which include fuzzy query and  wildcard query.

everything is fine and  working  but 


*int resultSize = 100;
TopDocs results = searcher.search(boolQuery, resultSize);

for (ScoreDoc docTemp : results.scoreDocs) {
    Document doc = searcher.doc(docTemp.doc);                    
    addresses.add(helper.fillFields(_doc));
}*
Here is my code and there are records more than resultSize but when I
increase this number search takes longer but the documents which I am
looking for can be in another part of same index. It's because of ordering
as I understand the documents with same Score order by some field but that
order is not returning me correct result .

Or can I increase my search performance?



--
Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html

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