org.apache.lucene.queryParser.standard.config
Class DefaultPhraseSlopAttributeImpl
java.lang.Object
org.apache.lucene.util.AttributeImpl
org.apache.lucene.queryParser.standard.config.DefaultPhraseSlopAttributeImpl
- All Implemented Interfaces:
- Serializable, Cloneable, DefaultPhraseSlopAttribute, org.apache.lucene.util.Attribute
public class DefaultPhraseSlopAttributeImpl
- extends org.apache.lucene.util.AttributeImpl
- implements DefaultPhraseSlopAttribute
This attribute is used by PhraseSlopQueryNodeProcessor
processor and
must be defined in the QueryConfigHandler
. This attribute tells the
processor what is the default phrase slop when no slop is defined in a
phrase.
- See Also:
DefaultOperatorAttribute
,
Serialized Form
Methods inherited from class org.apache.lucene.util.AttributeImpl |
clone |
DefaultPhraseSlopAttributeImpl
public DefaultPhraseSlopAttributeImpl()
setDefaultPhraseSlop
public void setDefaultPhraseSlop(int defaultPhraseSlop)
- Specified by:
setDefaultPhraseSlop
in interface DefaultPhraseSlopAttribute
getDefaultPhraseSlop
public int getDefaultPhraseSlop()
- Specified by:
getDefaultPhraseSlop
in interface DefaultPhraseSlopAttribute
clear
public void clear()
- Specified by:
clear
in class org.apache.lucene.util.AttributeImpl
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
- Specified by:
copyTo
in class org.apache.lucene.util.AttributeImpl
equals
public boolean equals(Object other)
- Specified by:
equals
in class org.apache.lucene.util.AttributeImpl
hashCode
public int hashCode()
- Specified by:
hashCode
in class org.apache.lucene.util.AttributeImpl
toString
public String toString()
- Overrides:
toString
in class org.apache.lucene.util.AttributeImpl
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.