
m.harig at gmail
Jun 29, 2009, 11:01 PM
Views: 452
Permalink
|
hello all, i've gone through most of the posts from this forum , i need a code snippet for searching large index, currently am iterating , hits = searher.search(query); for (int inc = 0; inc < hits.length(); inc++) { Document doc = hits.doc(inc); String title = doc.get("title"); /// etc....... } its not good by the way when you use large index. am running it from tomcat 6 .0 , java heap space is 256 MB , please any1 help me -- View this message in context: http://www.nabble.com/optimized-searching-tp24266553p24266553.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe[at]lucene.apache.org For additional commands, e-mail: java-user-help[at]lucene.apache.org
|