lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Jayakumar <kiranjuni...@gmail.com>
Subject Re: N-gram ranking based on term position
Date Fri, 07 Sep 2012 23:02:33 GMT
Since Edge N-gram tokens are a subset of N-gram tokens, I was wondering if
I could be a bit more space efficient.

On Fri, Sep 7, 2012 at 3:07 PM, Amit Nithian <anithian@gmail.com> wrote:

> 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 <kiranjunique@gmail.com>
> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message