Class FieldConfig
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.core.config.AbstractQueryConfig
-
- org.apache.lucene.queryparser.flexible.core.config.FieldConfig
-
public class FieldConfig extends AbstractQueryConfig
This class represents a field configuration.
-
-
Constructor Summary
Constructors Constructor Description FieldConfig(String fieldName)
Constructs aFieldConfig
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getField()
Returns the field name this configuration represents.String
toString()
-
Methods inherited from class org.apache.lucene.queryparser.flexible.core.config.AbstractQueryConfig
get, has, set, unset
-
-
-
-
Constructor Detail
-
FieldConfig
public FieldConfig(String fieldName)
Constructs aFieldConfig
- Parameters:
fieldName
- the field name, it must not be null- Throws:
IllegalArgumentException
- if the field name is null
-
-