24 Field(
const String& name,
const String& value,
Store store,
Index index);
74 Field(
const String& name, ByteArray value,
Store store);
83 Field(
const String& name, ByteArray value, int32_t offset, int32_t length,
Store store);
94 static bool isStored(
Store store);
97 static bool isIndexed(
Index index);
98 static bool isAnalyzed(
Index index);
99 static bool omitNorms(
Index index);
102 static Field::Index toIndex(
bool indexed,
bool analyzed);
105 static Field::Index toIndex(
bool indexed,
bool analyzed,
bool omitNorms);
109 static bool withPositions(
TermVector termVector);
110 static bool withOffsets(
TermVector termVector);
113 static Field::TermVector toTermVector(
bool stored,
bool withOffsets,
bool withPositions);
117 virtual String stringValue();
132 virtual void setValue(
const String& value);
138 virtual void setValue(ByteArray value);
141 virtual void setValue(ByteArray value, int32_t offset, int32_t length);
148 void ConstructField(
const String& name,
const String& value,
Store store,
Index index,
TermVector termVector);
151 void ConstructField(
const String& name, ByteArray value, int32_t offset, int32_t length,
Store store);