org.apache.lucene.queryParser.standard.config
Class FuzzyAttributeImpl
java.lang.Object
org.apache.lucene.util.AttributeImpl
org.apache.lucene.queryParser.standard.config.FuzzyAttributeImpl
- All Implemented Interfaces:
- Serializable, Cloneable, FuzzyAttribute, org.apache.lucene.util.Attribute
public class FuzzyAttributeImpl
- extends org.apache.lucene.util.AttributeImpl
- implements FuzzyAttribute
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:
FuzzyAttribute
,
Serialized Form
Fields inherited from class org.apache.lucene.util.AttributeImpl |
enableBackwards |
Methods inherited from class org.apache.lucene.util.AttributeImpl |
clone, reflectAsString, reflectWith |
FuzzyAttributeImpl
public FuzzyAttributeImpl()
setPrefixLength
public void setPrefixLength(int prefixLength)
- Specified by:
setPrefixLength
in interface FuzzyAttribute
getPrefixLength
public int getPrefixLength()
- Specified by:
getPrefixLength
in interface FuzzyAttribute
setFuzzyMinSimilarity
public void setFuzzyMinSimilarity(float minSimilarity)
- Specified by:
setFuzzyMinSimilarity
in interface FuzzyAttribute
getFuzzyMinSimilarity
public float getFuzzyMinSimilarity()
- Specified by:
getFuzzyMinSimilarity
in interface FuzzyAttribute
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)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class org.apache.lucene.util.AttributeImpl
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.