lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Ghidireac" <bog...@ecstend.com>
Subject Re: removing norms
Date Fri, 12 Sep 2008 12:49:49 GMT
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 <karl.wettin@gmail.com> wrote:
>
> 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
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message