Class FieldBoostMapFCListener
This listener listens for every field configuration request and assign a BOOST to the equivalent FieldConfig based on a defined map: fieldName -> boostValue stored in FIELD_BOOST_MAP.
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Config
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class FieldBoostMapFCListener : IFieldConfigListener
Constructors
FieldBoostMapFCListener(QueryConfigHandler)
This listener listens for every field configuration request and assign a BOOST to the equivalent FieldConfig based on a defined map: fieldName -> boostValue stored in FIELD_BOOST_MAP.
Declaration
public FieldBoostMapFCListener(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 |