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
FieldInfosWriterFieldInfos to the
directory.write in class FieldInfosWriterIOExceptionpublic byte docValuesByte(DocValues.Type type)
DocValues.Type for each field.Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.