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
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
IOException
public DocValuesType docValuesType(String dvType)
public void write(Directory directory, SegmentInfo segmentInfo, String segmentSuffix, FieldInfos infos, IOContext context) throws IOException
FieldInfosFormat
FieldInfos
to the
directory.write
in class FieldInfosFormat
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.