Class FieldDateResolutionFCListener
This listener listens for every field configuration request and assign a DATE_RESOLUTION to the equivalent FieldConfig based on a defined map: fieldName -> Lucene.Net.Documents.DateResolution stored in FIELD_DATE_RESOLUTION_MAP.
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Config
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class FieldDateResolutionFCListener : IFieldConfigListener
Constructors
FieldDateResolutionFCListener(QueryConfigHandler)
This listener listens for every field configuration request and assign a DATE_RESOLUTION to the equivalent FieldConfig based on a defined map: fieldName -> Lucene.Net.Documents.DateResolution stored in FIELD_DATE_RESOLUTION_MAP.
Declaration
public FieldDateResolutionFCListener(QueryConfigHandler config)
Parameters
Type | Name | Description |
---|---|---|
QueryConfigHandler | config |
See Also
Methods
BuildFieldConfig(FieldConfig)
This method is called every time a field configuration is requested.
Declaration
public virtual void BuildFieldConfig(FieldConfig fieldConfig)
Parameters
Type | Name | Description |
---|---|---|
FieldConfig | fieldConfig | the field configuration requested, should never be null |