Re: removing norms

2008-09-12 Thread Michael McCandless
Unfortunately, I think altering an existing index to remove it's norms is not possible without writing some custom Java code (in package org.apache.lucene.index) that directly manipulates the FieldInfos and SegmentInfos. Mike Bogdan Ghidireac wrote: Yes, but the norms will be loaded at

Re: removing norms

2008-09-12 Thread Bogdan Ghidireac
Yes, but the norms will be loaded at the search time.. I want to remove them because I don't have enough memory. Bogdan On Fri, Sep 12, 2008 at 3:22 PM, Karl Wettin <[EMAIL PROTECTED]> wrote: > > 12 sep 2008 kl. 12.25 skrev Bogdan Ghidireac: > >> I have a large index and I want to remove the norm

Re: removing norms

2008-09-12 Thread Karl Wettin
12 sep 2008 kl. 12.25 skrev Bogdan Ghidireac: I have a large index and I want to remove the norms from a field. Is there a way to do this without reindexing everything ? You could invoke IndexReader#setNorm(int, String, float) and set the value to 1f. karl --

removing norms

2008-09-12 Thread Bogdan Ghidireac
Hi, I have a large index and I want to remove the norms from a field. Is there a way to do this without reindexing everything ? Thank you, Bogdan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI