Class AbstractQueryConfig
This class is the base of QueryConfigHandler and FieldConfig. It has operations to set, unset and get configuration values.
Each configuration is is a key->value pair. The key should be an unique ConfigurationKey<T> instance and it also holds the value's type.
ConfigurationKey<T>Inheritance
System.Object
AbstractQueryConfig
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public abstract class AbstractQueryConfig
Methods
Name | Description |
---|---|
Get<T>(ConfigurationKey<T>) | Returns the value held by the given key. |
Has<T>(ConfigurationKey<T>) | Returns |
Set<T>(ConfigurationKey<T>, T) | Sets a key and its value. |
Unset<T>(ConfigurationKey<T>) | Unsets the given key and its value. |