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: Question about prefix query
Date Tue, 06 Sep 2011 09:38:17 GMT
Thanks yor your answer!

Tajti Ákos



On Tue, Sep 6, 2011 at 11:34 AM, Ian Lea <ian.lea@gmail.com> wrote:

> A common practice is to search for an exact match, boosted, as well as
> a wildcard match e.g.
>
> text:dummy^4 text:dummy*
>
>
> http://lucene.apache.org/java/3_3_0/queryparsersyntax.html#Boosting%20a%20Term
>
> http://wiki.apache.org/lucene-java/LuceneFAQ#What_is_the_difference_between_field_.28or_document.29_boosting_and_query_boosting.3F
>
> --
> Ian.
>
>
> On Tue, Sep 6, 2011 at 8:31 AM, Akos Tajti <akos.tajti@gmail.com> wrote:
> > Dear List,
> >
> > I'm running a prefix query, something like this: text:dummy*. The
> problem:
> > in the result some non-exact matches get higher scores than the exact
> ones.
> > For example the document containing dummythales comes before the document
> > containing dummy exactly. How can this behavious be changed?
> >
> > 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