: I had tried with Explaination but didn't get the desired results.Can you : give me the brief demo code based on the result order by the no of matching : terms .
the Explanation class will not change your scores to give you results in any particular way you might want -- it just explains what factors are contributing to the scores you get, so you can change the appropraite settings run your query again and see the effects. this is where reading about how lucene scoring (via hte URL i sent) becomes important so you cna understand what explain is telling you... : > the "explain" method on a Searcher, and the Explanation classes can : > explain everything baout how/why a particular document in a particular : > index gets a particular score for a particular search. The only tricky : > thing about it is understanding that it refers to the "raw" scores (what : > you seem to be quoting look like "normalized" scores from the Hits class, : > but if your cheif concern is the relative order of hte results this is : > largely irrelevent) : > : > When looking at the Explanation info, many of the terms may not make a : > lot of sense .. this is where the scoring.html document can fill in the : > gaps and explain the explaination... : > : > http://lucene.apache.org/java/docs/scoring.html -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]