lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Nithian <>
Subject Re: N-gram ranking based on term position
Date Fri, 07 Sep 2012 22:07:44 GMT
I think your thought about using the edge ngram as a field and
boosting that field in the qf/pf sections of the dismax handler sounds
reasonable. Why do you have qualms about it?

On Fri, Sep 7, 2012 at 12:28 PM, Kiran Jayakumar <> wrote:
> Hi,
> Is it possible to score documents with a match "early in the text" higher
> than "later in the text" ? I want to boost "begin with" matches higher than
> the "contains" matches. I can define a copy field and analyze it as edge
> n-gram and boost it. I was wondering if there was a better way to do it.
> Thanks

View raw message