Re: optimized searching

2009-06-30 Thread Simon Willnauer
t; totalHits; i++) { >>                        Document doc = searcher.doc(scoreDocs[i].doc, >> selector); >> >>                        System.out.println(i+" ) "+doc.get("title")); >>                        System.out.println(doc.get("path")); &

Re: optimized searching

2009-06-30 Thread Erick Erickson
t;+doc.get("title")); >System.out.println(doc.get("path")); > >} > > can you please tune my code to work it faster and better, is it possible > to > display total hits like google , since am using new TopDocColle

Re: optimized searching

2009-06-30 Thread Ian Lea
           } > > can you please tune my code to work it faster and better,  is it possible to > display total hits like google , since am using new TopDocCollector(1000); > it won't allow you to pick total hits ?? am i right??? > > -- > View this message in context: > http

Re: optimized searching

2009-06-30 Thread m.harig
} can you please tune my code to work it faster and better, is it possible to display total hits like google , since am using new TopDocCollector(1000); it won't allow you to pick total hits ?? am i right??? -- View this message in context: http://www.nabble.com/opt

Re: optimized searching

2009-06-30 Thread Erick Erickson
++) { > > > >Document doc = hits.doc(inc); > > > >String title = doc.get("title"); > > > >///etc... > >} > > > > > > its not good by the way when you use large index. am running i

Re: optimized searching

2009-06-30 Thread Ian Lea
               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 c

optimized searching

2009-06-29 Thread m.harig
.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.na