public class SimpleTextFieldInfosFormat extends FieldInfosFormat
FOR RECREATIONAL USE ONLY
| Constructor and Description |
|---|
SimpleTextFieldInfosFormat() |
| Modifier and Type | Method and Description |
|---|---|
DocValuesType |
docValuesType(java.lang.String dvType) |
FieldInfos |
read(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
IOContext iocontext)
|
void |
write(Directory directory,
SegmentInfo segmentInfo,
java.lang.String segmentSuffix,
FieldInfos infos,
IOContext context)
Writes the provided
FieldInfos to the
directory. |
public FieldInfos read(Directory directory, SegmentInfo segmentInfo, java.lang.String segmentSuffix, IOContext iocontext) throws java.io.IOException
FieldInfosFormatFieldInfos previously written with FieldInfosFormat.write(org.apache.lucene.store.Directory, org.apache.lucene.index.SegmentInfo, java.lang.String, org.apache.lucene.index.FieldInfos, org.apache.lucene.store.IOContext).read in class FieldInfosFormatjava.io.IOExceptionpublic DocValuesType docValuesType(java.lang.String dvType)
public void write(Directory directory, SegmentInfo segmentInfo, java.lang.String segmentSuffix, FieldInfos infos, IOContext context) throws java.io.IOException
FieldInfosFormatFieldInfos to the
directory.write in class FieldInfosFormatjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.