lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akos Tajti <akos.ta...@gmail.com>
Subject Re: Higher rank for closer matches
Date Wed, 21 Sep 2011 12:31:27 GMT
Thanks, I will check SpanNearQuery!

Regards,
Ákos




On Wed, Sep 21, 2011 at 2:20 PM, Em <mailformailinglists@yahoo.de> wrote:

> Àkos,
>
> have a look at SpanNearQuery. This is what you want.
> If you own the 2nd Edition of Lucene in Action have a look at their
> examples. It illustrates how to combine them with the classical queries.
>
> Regards,
> Em
>
> Am 21.09.2011 13:46, schrieb Akos Tajti:
> > Dear List,
> >
> > for multi term expressions I'd like to add higher rank if the matches are
> > closer to each other. For example for the search term "like eating" the
> > string "i like eating" comes before "I like some eating".
> >
> > Is this possible?
> >
> > Thanks in advance,
> >
> > Ákos Tajti
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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