Re: Question about prefix query

2011-09-06 Thread Akos Tajti
Thanks yor your answer! Tajti Ákos On Tue, Sep 6, 2011 at 11:34 AM, Ian Lea 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

Re: Question about prefix query

2011-09-06 Thread Ian Lea
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_

Question about prefix query

2011-09-06 Thread Akos Tajti
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?