org.apache.lucene.queryparser.flexible.core.config
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.
FieldConfig
public FieldConfig(String fieldName)
- Constructs a
FieldConfig
- Parameters:
fieldName
- the field name, it cannot be null
- Throws:
IllegalArgumentException
- if the field name is null
getField
public String getField()
- Returns the field name this configuration represents.
- Returns:
- the field name
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.