lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yannick Caillaux <>
Subject Question about relevance
Date Fri, 08 Jan 2010 09:05:22 GMT

I index 2 documents. the first contains the word "Wallis" in the title 
field. The second has the same title but "Wallis" is replaced by "Wall".
I execute the query : "title:wallis"
During the search, "Wallis" is cut by the FrenchAnalyzer and becomes 
"wall". So the two documents are results for the search.

My problem is : the two results have the same relevance.
I thought that the document containing "Wallis" would have better 
relevance because I search for the word "wallis" and not "wall".

Relevance is calculated from the searched word (wallis) or from the 
analyzed word (wall)? Is there any solution to get better relevance for 
the result "wallis" ?
For information i'm in lucene 2.3.2.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message