Method PutDocValuesFormatType
PutDocValuesFormatType(Type)
Adds a DocValuesFormat type to the Lucene.Net.Codecs.DefaultDocValuesFormatFactory.docValuesFormatNameToTypeMap, using the name provided in the DocValuesFormatNameAttribute, if present, or the name of the codec class minus the "DocValuesFormat" suffix as the name by default.
Note that if a DocValuesFormat with the same name already exists in the map, calling this method will update it to the new type.
Declaration
protected virtual void PutDocValuesFormatType(Type docValuesFormat)
Parameters
Type | Name | Description |
---|---|---|
Type | docValuesFormat | A type that subclasses DocValuesFormat. |