| Package | Description | 
|---|---|
| org.apache.lucene.codecs | Codecs API: API for customization of the encoding and structure of the index. | 
| org.apache.lucene.codecs.lucene70 | Lucene 7.0 file format. | 
| org.apache.lucene.index | Code to maintain and access indices. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | FilterCodecA codec that forwards all its method calls to another codec. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Codec | FilterCodec. delegateThe codec to filter. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Codec | Codec. forName(String name)looks up a codec by name | 
| static Codec | Codec. getDefault()expert: returns the default codec used for newly created
   IndexWriterConfigs. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | Codec. setDefault(Codec codec)expert: sets the default codec used for newly created
   IndexWriterConfigs. | 
| Constructor and Description | 
|---|
| FilterCodec(String name,
           Codec delegate)Sole constructor. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Lucene70CodecImplements the Lucene 7.0 index format, with configurable per-field postings
 and docvalues formats. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Codec | LiveIndexWriterConfig. codecCodecused to write new segments. | 
| Codec | CheckIndex.Status.SegmentInfoStatus. codecCodec used to read this segment. | 
| Modifier and Type | Method and Description | 
|---|---|
| Codec | SegmentInfo. getCodec()Return  Codecthat wrote this segment. | 
| Codec | LiveIndexWriterConfig. getCodec()Returns the current  Codec. | 
| Codec | IndexWriterConfig. getCodec() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SegmentInfo. setCodec(Codec codec)Can only be called once. | 
| IndexWriterConfig | IndexWriterConfig. setCodec(Codec codec)Set the  Codec. | 
| Constructor and Description | 
|---|
| SegmentInfo(Directory dir,
           Version version,
           Version minVersion,
           String name,
           int maxDoc,
           boolean isCompoundFile,
           Codec codec,
           Map<String,String> diagnostics,
           byte[] id,
           Map<String,String> attributes,
           Sort indexSort)Construct a new complete SegmentInfo instance from input. | 
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.