23 Field(
const String& name,
const String& value,
Store store,
Index index);
73 Field(
const String& name, ByteArray value,
Store store);
82 Field(
const String& name, ByteArray value, int32_t offset, int32_t length,
Store store);
93 static bool isStored(
Store store);
96 static bool isIndexed(
Index index);
97 static bool isAnalyzed(
Index index);
98 static bool omitNorms(
Index index);
101 static Field::Index toIndex(
bool indexed,
bool analyzed);
104 static Field::Index toIndex(
bool indexed,
bool analyzed,
bool omitNorms);
108 static bool withPositions(
TermVector termVector);
109 static bool withOffsets(
TermVector termVector);
112 static Field::TermVector toTermVector(
bool stored,
bool withOffsets,
bool withPositions);
116 virtual String stringValue();
131 virtual void setValue(
const String& value);
134 virtual void setValue(
const ReaderPtr& value);
137 virtual void setValue(ByteArray value);
140 virtual void setValue(ByteArray value, int32_t offset, int32_t length);
147 void ConstructField(
const String& name,
const String& value,
Store store,
Index index,
TermVector termVector);
150 void ConstructField(
const String& name, ByteArray value, int32_t offset, int32_t length,
Store store);