public class DefaultPhraseSlopAttributeImpl extends org.apache.lucene.util.AttributeImpl implements DefaultPhraseSlopAttribute
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. DefaultOperatorAttribute,
Serialized Form| Constructor and Description |
|---|
DefaultPhraseSlopAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
equals(java.lang.Object other) |
int |
getDefaultPhraseSlop() |
int |
hashCode() |
void |
setDefaultPhraseSlop(int defaultPhraseSlop) |
java.lang.String |
toString() |
public void setDefaultPhraseSlop(int defaultPhraseSlop)
setDefaultPhraseSlop in interface DefaultPhraseSlopAttributepublic int getDefaultPhraseSlop()
getDefaultPhraseSlop in interface DefaultPhraseSlopAttributepublic void clear()
clear in class org.apache.lucene.util.AttributeImplpublic void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo in class org.apache.lucene.util.AttributeImplpublic boolean equals(java.lang.Object other)
equals in class org.apache.lucene.util.AttributeImplpublic int hashCode()
hashCode in class org.apache.lucene.util.AttributeImplpublic java.lang.String toString()
toString in class org.apache.lucene.util.AttributeImplCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.