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 <anith...@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 <kiranjuni...@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 >