public class SimpleTextFieldInfosFormat extends FieldInfosFormat
FOR RECREATIONAL USE ONLY
| Constructor and Description |
|---|
SimpleTextFieldInfosFormat() |
| Modifier and Type | Method and Description |
|---|---|
DocValuesType |
docValuesType(String dvType) |
FieldInfos |
read(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
IOContext iocontext)
|
void |
write(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Writes the provided
FieldInfos to the
directory. |
public FieldInfos read(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, IOContext iocontext) throws 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 FieldInfosFormatIOExceptionpublic DocValuesType docValuesType(String dvType)
public void write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) throws IOException
FieldInfosFormatFieldInfos to the
directory.write in class FieldInfosFormatIOExceptionCopyright © 2000-2017 The Apache Software Foundation. All Rights Reserved.