Class FuzzyLikeThisQueryBuilder
- java.lang.Object
-
- org.apache.lucene.queryparser.xml.builders.FuzzyLikeThisQueryBuilder
-
- All Implemented Interfaces:
QueryBuilder
public class FuzzyLikeThisQueryBuilder extends java.lang.Object implements QueryBuilder
Builder forFuzzyLikeThisQuery
-
-
Field Summary
Fields Modifier and Type Field Description private Analyzer
analyzer
private static boolean
DEFAULT_IGNORE_TF
private static int
DEFAULT_MAX_NUM_TERMS
private static float
DEFAULT_MIN_SIMILARITY
private static int
DEFAULT_PREFIX_LENGTH
-
Constructor Summary
Constructors Constructor Description FuzzyLikeThisQueryBuilder(Analyzer analyzer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Query
getQuery(org.w3c.dom.Element e)
-
-
-
Field Detail
-
DEFAULT_MAX_NUM_TERMS
private static final int DEFAULT_MAX_NUM_TERMS
- See Also:
- Constant Field Values
-
DEFAULT_MIN_SIMILARITY
private static final float DEFAULT_MIN_SIMILARITY
- See Also:
- Constant Field Values
-
DEFAULT_PREFIX_LENGTH
private static final int DEFAULT_PREFIX_LENGTH
- See Also:
- Constant Field Values
-
DEFAULT_IGNORE_TF
private static final boolean DEFAULT_IGNORE_TF
- See Also:
- Constant Field Values
-
analyzer
private final Analyzer analyzer
-
-
Constructor Detail
-
FuzzyLikeThisQueryBuilder
public FuzzyLikeThisQueryBuilder(Analyzer analyzer)
-
-
Method Detail
-
getQuery
public Query getQuery(org.w3c.dom.Element e) throws ParserException
- Specified by:
getQuery
in interfaceQueryBuilder
- Throws:
ParserException
-
-