[EMAIL PROTECTED] wrote:
+ if ((bits & 2) != 0) {
+ final byte[] b = new byte[fieldsStream.readVInt()];
+ fieldsStream.readBytes(b, 0, b.length);
+ doc.add(new Field(fi.name, b));
+ }
+ else {
+ Field.Index index;
+ boolean tokenize = (bits & 1) != 0;
I'd still like to see constants for these bit masks, as suggested in:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06693.html
This will make the code much more readable as we add, e.g., compression.
Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]