7475767778798081828384
final int size = input.readVInt(); //read in the size FieldInfo infos[] = new FieldInfo[size]; for (int i = 0; i < size; i++) { String name = input.readString(); final int fieldNumber = i; byte bits = input.readByte(); boolean isIndexed = (bits & IS_INDEXED) != 0; boolean storeTermVector = (bits & STORE_TERMVECTOR) != 0; boolean omitNorms = (bits & OMIT_NORMS) != 0;
5657585960616263646566
final int size = input.readVInt(); //read in the size FieldInfo infos[] = new FieldInfo[size]; for (int i = 0; i < size; i++) { String name = input.readString(); final int fieldNumber = format == PreFlexRWFieldInfosWriter.FORMAT_PREFLEX_RW ? input.readInt() : i; byte bits = input.readByte(); boolean isIndexed = (bits & PreFlexRWFieldInfosWriter.IS_INDEXED) != 0; boolean storeTermVector = (bits & PreFlexRWFieldInfosWriter.STORE_TERMVECTOR) != 0; boolean omitNorms = (bits & PreFlexRWFieldInfosWriter.OMIT_NORMS) != 0;
6162636465666768697071
final int size = input.readVInt(); //read in the size FieldInfo infos[] = new FieldInfo[size]; for (int i = 0; i < size; i++) { String name = input.readString(); final int fieldNumber = input.readVInt(); byte bits = input.readByte(); boolean isIndexed = (bits & Lucene42FieldInfosFormat.IS_INDEXED) != 0; boolean storeTermVector = (bits & Lucene42FieldInfosFormat.STORE_TERMVECTOR) != 0; boolean omitNorms = (bits & Lucene42FieldInfosFormat.OMIT_NORMS) != 0;
3132333435363738394041
0x06, 'L', 'u', 'c', 'e', 'n', 'e'}); assertEquals(128, is.readVInt()); assertEquals(16383, is.readVInt()); assertEquals(16384, is.readVInt()); assertEquals(16385, is.readVInt()); assertEquals("Lucene", is.readString()); } /** * Expert *
3031323334353637
0x06, 'L', 'u', 'c', 'e', 'n', 'e'}); assertEquals(128,is.readVInt()); assertEquals(16383,is.readVInt()); assertEquals(16384,is.readVInt()); assertEquals(16385,is.readVInt()); assertEquals("Lucene",is.readString()); } }
168169170171172173174175176177178
CodecUtil.checkHeader(bloomIn, BLOOM_CODEC_NAME, BLOOM_CODEC_VERSION, BLOOM_CODEC_VERSION); // // Load the hash function used in the BloomFilter // hashFunction = HashFunction.forName(bloomIn.readString()); // Load the delegate postings format PostingsFormat delegatePostingsFormat = PostingsFormat.forName(bloomIn .readString()); this.delegateFieldsProducer = delegatePostingsFormat .fieldsProducer(state); int numBlooms = bloomIn.readInt();
5960616263646566676869