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

Reply via email to