lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "m.harig" <m.ha...@gmail.com>
Subject optimized searching
Date Tue, 30 Jun 2009 06:01:26 GMT

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@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message