Class FieldConfig
This class represents a field configuration.
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Core.Config
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class FieldConfig : AbstractQueryConfig
Constructors
FieldConfig(string)
Constructs a FieldConfig
Declaration
public FieldConfig(string fieldName)
Parameters
Type | Name | Description |
---|---|---|
string | fieldName | the field name, it cannot be null |
Exceptions
Type | Condition |
---|---|
ArgumentException | if the field name is null |
Properties
Field
Gets the field name this configuration represents.
Declaration
public virtual string Field { get; }
Property Value
Type | Description |
---|---|
string |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |