org.apache.solr.core
Class SchemaCodecFactory

java.lang.Object
  extended by org.apache.solr.core.CodecFactory
      extended by org.apache.solr.core.SchemaCodecFactory
All Implemented Interfaces:
SchemaAware, NamedListInitializedPlugin

public class SchemaCodecFactory
extends CodecFactory
implements SchemaAware

Per-field CodecFactory implementation, extends Lucene's and returns postings format implementations according to the schema configuration.

WARNING: This API is experimental and might change in incompatible ways in the next release.

Constructor Summary
SchemaCodecFactory()
           
 
Method Summary
 Codec getCodec()
           
 void inform(IndexSchema schema)
          Informs the IndexSchema provided by the schema parameter of an event (e.g., a new FieldType was added, etc.
 
Methods inherited from class org.apache.solr.core.CodecFactory
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaCodecFactory

public SchemaCodecFactory()
Method Detail

inform

public void inform(IndexSchema schema)
Description copied from interface: SchemaAware
Informs the IndexSchema provided by the schema parameter of an event (e.g., a new FieldType was added, etc.

Specified by:
inform in interface SchemaAware
Parameters:
schema - The IndexSchema instance that inform of the update to.

getCodec

public Codec getCodec()
Specified by:
getCodec in class CodecFactory


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.