1 package org.apache.lucene.index; 2 3 18 19 final class FieldInfo { 20 String name; 21 boolean isIndexed; 22 int number; 23 24 boolean storeTermVector; 26 boolean storeOffsetWithTermVector; 27 boolean storePositionWithTermVector; 28 29 boolean omitNorms; 31 FieldInfo(String na, boolean tk, int nu, boolean storeTermVector, 32 boolean storePositionWithTermVector, boolean storeOffsetWithTermVector, boolean omitNorms) { 33 name = na; 34 isIndexed = tk; 35 number = nu; 36 this.storeTermVector = storeTermVector; 37 this.storeOffsetWithTermVector = storeOffsetWithTermVector; 38 this.storePositionWithTermVector = storePositionWithTermVector; 39 this.omitNorms = omitNorms; 40 } 41 } 42 | Popular Tags |