| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.codecs.Codec
org.apache.lucene.codecs.lucene46.Lucene46Codec
public class Lucene46Codec
Implements the Lucene 4.6 index format, with configurable per-field postings and docvalues formats.
 If you want to reuse functionality of this codec in another codec, extend
 FilterCodec.
package documentation for file format details.| Constructor Summary | |
|---|---|
| Lucene46Codec()Sole constructor. | |
| Method Summary | |
|---|---|
|  DocValuesFormat | docValuesFormat()Encodes/decodes docvalues | 
|  FieldInfosFormat | fieldInfosFormat()Encodes/decodes field infos file | 
|  DocValuesFormat | getDocValuesFormatForField(String field)Returns the docvalues format that should be used for writing new segments of field. | 
|  PostingsFormat | getPostingsFormatForField(String field)Returns the postings format that should be used for writing new segments of field. | 
|  LiveDocsFormat | liveDocsFormat()Encodes/decodes live docs | 
|  NormsFormat | normsFormat()Encodes/decodes document normalization values | 
|  PostingsFormat | postingsFormat()Encodes/decodes postings | 
|  SegmentInfoFormat | segmentInfoFormat()Encodes/decodes segment info file | 
|  StoredFieldsFormat | storedFieldsFormat()Encodes/decodes stored fields | 
|  TermVectorsFormat | termVectorsFormat()Encodes/decodes term vectors | 
| Methods inherited from class org.apache.lucene.codecs.Codec | 
|---|
| availableCodecs, forName, getDefault, getName, reloadCodecs, setDefault, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Lucene46Codec()
| Method Detail | 
|---|
public final StoredFieldsFormat storedFieldsFormat()
Codec
storedFieldsFormat in class Codecpublic final TermVectorsFormat termVectorsFormat()
Codec
termVectorsFormat in class Codecpublic final PostingsFormat postingsFormat()
Codec
postingsFormat in class Codecpublic final FieldInfosFormat fieldInfosFormat()
Codec
fieldInfosFormat in class Codecpublic final SegmentInfoFormat segmentInfoFormat()
Codec
segmentInfoFormat in class Codecpublic final LiveDocsFormat liveDocsFormat()
Codec
liveDocsFormat in class Codecpublic PostingsFormat getPostingsFormatForField(String field)
field.
  
  The default implementation always returns "Lucene41"
public DocValuesFormat getDocValuesFormatForField(String field)
field.
  
  The default implementation always returns "Lucene45"
public final DocValuesFormat docValuesFormat()
Codec
docValuesFormat in class Codecpublic final NormsFormat normsFormat()
Codec
normsFormat in class Codec| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||