"maureen tanuwidjaja" wrote:
How to disable lucene norm factor?
How to disable lucene norm factor?
index, just call field.setOmitNorms(true).
Note, however, that you must do this for all Field instances by that
same field name because whenever Lucene merges segments, if even one
Document did not disable norms then this will "spread" so that all documents
keep their norms, for the same field name.
Ie you must fully rebuild your index with the above code change to
truly not store norms.
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]