: What about implementing a scoring policy that computes the score based
: only on which word position the term is matched?
if you wrote your own Similarity class and used SpanFirst queries that
should be possible. It's the same basic principle as a Similarity
that scores entirely by tf, except
esday, January 23, 2007 10:56 AM
To: java-user@lucene.apache.org
Subject: Re: proximity and location scoring
Felix Litman <[EMAIL PROTECTED]> wrote on 23/01/2007 10:01:00:
> Is there a straightforward way to extend the "standard" parser to
> incorporate proximity into the
Felix Litman <[EMAIL PROTECTED]> wrote on 23/01/2007 10:01:00:
> Is there a straightforward way to extend the "standard" parser to
> incorporate proximity into the score in multi-word queries,
> including boost factors?
Current parser supports relaxed phrase syntax:
http://lucene.apache.org/java/