Hi 

Apologies....

If I want to get all the  hits for Scores  between  0.5f  to 0.8f, 
I usally use
query = QueryParser.parse(srchkey,Fields, analyzer);
int tothits = searcher.search(query);

for (int i = 0; i<tothits ; i++) {
        docs = hits.doc(i);
        Score = hits.score(i);
         
        if ((Score > 0.5f ) && (Score < 0.8f) ) {
            System.out.println(" FileName  : " + docs.get("filename");
        }
}

Is there any other way to Do this ,
Please Advise me..........

Thx.

        
      WITH WARM REGARDS 
      HAVE A NICE DAY 
      [ N.S.KARTHIK] 
     



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to