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 FormConstructor 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 DefaultPhraseSlopAttribute
public int getDefaultPhraseSlop()
getDefaultPhraseSlop
in interface DefaultPhraseSlopAttribute
public void clear()
clear
in class org.apache.lucene.util.AttributeImpl
public void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo
in class org.apache.lucene.util.AttributeImpl
public boolean equals(java.lang.Object other)
equals
in class org.apache.lucene.util.AttributeImpl
public int hashCode()
hashCode
in class org.apache.lucene.util.AttributeImpl
public java.lang.String toString()
toString
in class org.apache.lucene.util.AttributeImpl
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.