lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Heilbrunn <>
Subject Norm Value of not existing Field
Date Thu, 03 Dec 2009 16:46:26 GMT

I'm using Lucene 2.9.1 patched with
For some special reason I need to find all documents which contain at
least 1 term in a certain field.
This works by iterating the norms array only as long as the field
exists on every document.
For documents without the field the norms array holds the byte-value 124.
Where does 124 come from - and is there a way to change it to an other
value like -128 (0xFF) for not existing fields?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message