@Deprecated public class Lucene42FieldInfosFormat extends FieldInfosFormat
Constructor and Description |
---|
Lucene42FieldInfosFormat()
Deprecated.
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
FieldInfos |
read(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
IOContext iocontext)
Deprecated.
|
void |
write(Directory directory,
SegmentInfo segmentInfo,
String segmentSuffix,
FieldInfos infos,
IOContext context)
Deprecated.
Writes the provided
FieldInfos to the
directory. |
public Lucene42FieldInfosFormat()
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 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.