|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.util.AttributeSource
org.apache.lucene.queryParser.core.config.AbstractQueryConfig
org.apache.lucene.queryParser.core.config.FieldConfig
public class FieldConfig
This class represents a field configuration. Every configuration should be
set using the methods inherited from AttributeSource.
QueryConfigHandler,
Attribute| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource |
|---|
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State |
| Constructor Summary | |
|---|---|
FieldConfig(CharSequence fieldName)
Deprecated. use FieldConfig(String) instead |
|
FieldConfig(String fieldName)
Constructs a FieldConfig |
|
| Method Summary | |
|---|---|
String |
getField()
Returns the field name this configuration represents. |
CharSequence |
getFieldName()
Deprecated. use getField() instead |
String |
toString()
|
| Methods inherited from class org.apache.lucene.queryParser.core.config.AbstractQueryConfig |
|---|
addAttribute, get, get, has, set, unset |
| Methods inherited from class org.apache.lucene.util.AttributeSource |
|---|
addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public FieldConfig(CharSequence fieldName)
FieldConfig(String) instead
FieldConfig
fieldName - the field name, it cannot be null
IllegalArgumentException - if the field name is nullpublic FieldConfig(String fieldName)
FieldConfig
fieldName - the field name, it cannot be null
IllegalArgumentException - if the field name is null| Method Detail |
|---|
@Deprecated public CharSequence getFieldName()
getField() instead
public String getField()
public String toString()
toString in class org.apache.lucene.util.AttributeSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||