C# 클래스 Lucene.Net.QueryParsers.Flexible.Core.Config.QueryConfigHandler

This class can be used to hold any query configuration and no field configuration. For field configuration, it creates an empty FieldConfig object and delegate it to field config listeners, these are responsible for setting up all the field configuration.

QueryConfigHandler should be extended by classes that intends to provide configuration to Processors.IQueryNodeProcessor objects.

The class that extends QueryConfigHandler should also provide FieldConfig objects for each collection field.

상속: AbstractQueryConfig
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
AddFieldConfigListener ( IFieldConfigListener listener ) : void

Adds a listener. The added listeners are called in the order they are added.

GetFieldConfig ( string fieldName ) : FieldConfig

Returns an implementation of FieldConfig for a specific field name. If the implemented QueryConfigHandler does not know a specific field name, it may return null, indicating there is no configuration for that field.

메소드 상세

AddFieldConfigListener() 공개 메소드

Adds a listener. The added listeners are called in the order they are added.
public AddFieldConfigListener ( IFieldConfigListener listener ) : void
listener IFieldConfigListener the listener to be added
리턴 void

GetFieldConfig() 공개 메소드

Returns an implementation of FieldConfig for a specific field name. If the implemented QueryConfigHandler does not know a specific field name, it may return null, indicating there is no configuration for that field.
public GetFieldConfig ( string fieldName ) : FieldConfig
fieldName string the field name
리턴 FieldConfig