Hey, On Wed, Aug 24, 2011 at 5:40 PM, Akos Tajti <akos.ta...@gmail.com> wrote: > Dear List, > > does the distance of the matches for a multi-term query matter? For example > if I search for "dog cat", which one of the following matches will get > higher rank?
this depends on the query you are executing. if you use a phrasequery the first example is likely to be higher ranked. A simple boolean query might give it the same score depending on the document length, boosts, frequencies of the query terms etc. simon > > "dog, cat, snake, apple" or "dog, apple, snake, cat" > > I expect the second. Am I right? > > 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