lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niraj Alok" <>
Subject Re: boolean operators and score
Date Thu, 08 Jul 2004 08:53:11 GMT
If i do it by sorting the input before sending it to lucene, it could become
unmanageable to handle and could also throw unexpected results for the user.

e.g . if i type: winston churchill and world war and germany

i could split the string by "and" and get the sorted string as (churchill
winston) and (germany) and (war world) .
this would obviously make the hits.score throw up unexpected results.

isnt there any other solution which comes from lucene itself ? i am using
1.4 final


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message