public class Lucene40FieldInfosWriter extends FieldInfosWriter
Lucene40FieldInfosFormat
Constructor and Description |
---|
Lucene40FieldInfosWriter()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
byte |
docValuesByte(DocValues.Type type)
Returns the byte used to encode the
DocValues.Type for each field. |
void |
write(Directory directory,
String segmentName,
FieldInfos infos,
IOContext context)
Writes the provided
FieldInfos to the
directory. |
public void write(Directory directory, String segmentName, FieldInfos infos, IOContext context) throws IOException
FieldInfosWriter
FieldInfos
to the
directory.write
in class FieldInfosWriter
IOException
public byte docValuesByte(DocValues.Type type)
DocValues.Type
for each field.Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.