Hi,

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.

Thanks

Yannick



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to