On Friday 19 October 2007 19:07, Karl Wettin wrote:

> doc[0] <text: hello hello hello>
> doc[1] <text: hello>
>
> With normalization doc[0] and doc[1] are equally important. Omitting  
> normalization makes doc[0] (usually) three times as important as doc[1].

Not quite, as the normalization only refers to the length of the document. 
But the fact that "hello hello hello" contains the searched term three 
times makes it have a larger score no matter if normalization is set.

However, for this example, both docs have the same score with
f.setOmitNorms(true) when searching for "hello":

doc[0] <text: hello foo foo>
doc[1] <text: hello>

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to