Thanks yor your answer! Tajti Ákos
On Tue, Sep 6, 2011 at 11:34 AM, Ian Lea <ian....@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.ta...@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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >