Hey, On Wed, Aug 24, 2011 at 5:40 PM, Akos Tajti <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
