Re: NO_NORM and TOKENIZED

2008-03-05 Thread Michael McCandless
NO_NORMS means "do index the field as a single token (ie, do not tokenize the field), and, do not store norms for it". Mike On Mar 5, 2008, at 5:20 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Hm, what exactly does NO_NORM mean? Thank you --

RE: NO_NORM and TOKENIZED

2008-03-05 Thread spring
Hm, what exactly does NO_NORM mean? Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: NO_NORM and TOKENIZED

2008-03-05 Thread Michael McCandless
Correct, they are logically orthogonal, and I agree the API is somewhat confusing since "NO_NORMS" is mixing up two things. To get a tokenized field without norms you can create the field with Index.TOKENIZED, and then call setOmitNorms(true). Note that norms "spread" during merges, so, i