public class FieldConfig extends AbstractQueryConfig
AttributeSource
.QueryConfigHandler
,
Attribute
Constructor and Description |
---|
FieldConfig(CharSequence fieldName)
Deprecated.
use
FieldConfig(String) instead |
FieldConfig(String fieldName)
Constructs a
FieldConfig |
Modifier and Type | Method and Description |
---|---|
String |
getField()
Returns the field name this configuration represents.
|
CharSequence |
getFieldName()
Deprecated.
use
getField() instead |
String |
toString() |
addAttribute, get, get, has, set, unset
addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
@Deprecated public FieldConfig(CharSequence fieldName)
FieldConfig(String)
insteadFieldConfig
fieldName
- the field name, it cannot be nullIllegalArgumentException
- if the field name is nullpublic FieldConfig(String fieldName)
FieldConfig
fieldName
- the field name, it cannot be nullIllegalArgumentException
- if the field name is null@Deprecated public CharSequence getFieldName()
getField()
insteadpublic String getField()
public String toString()
toString
in class org.apache.lucene.util.AttributeSource