You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Thomas Rewig <tr...@mufin.com> on 2012/03/22 11:24:44 UTC

Scoring similarity by the position of the terms

Hi,

a few years ago, I tested this tutorial:

http://sujitpal.blogspot.de/2010/10/custom-scoring-with-lucene-payloads.html

Here the search are based on scoring the similarity only by the 
positions of the terms. For this you have to write your own TokenFilter, 
Analyser, PayloadFunction and Similarity.

Lucene has been developed and grown and I was wondering if you can now 
do the same thing in a simpler and more straigth forward way.
Maybe with some of the newer SpanQuerys or a other use of payloads.

Does anyone have any idea where to start?

Regards Thomas





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