t; totalHits; i++) {
>> Document doc = searcher.doc(scoreDocs[i].doc,
>> selector);
>>
>> System.out.println(i+" ) "+doc.get("title"));
>> System.out.println(doc.get("path"));
&
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
}
>
> 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
}
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
++) {
> >
> >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
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
.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