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
FieldInfosFormat
FieldInfos
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 FieldInfosFormat
java.io.IOException
public 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
FieldInfosFormat
FieldInfos
to the
directory.write
in class FieldInfosFormat
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.