Query DSL: flt_field does not allow to set min_similarity and prefix_length, closes #744.
This commit is contained in:
parent
78c6f951a3
commit
2909060af8
|
@ -94,6 +94,10 @@ public class FuzzyLikeThisFieldQueryParser extends AbstractIndexComponent implem
|
|||
boost = parser.floatValue();
|
||||
} else if ("ignore_tf".equals(currentFieldName) || "ignoreTF".equals(currentFieldName)) {
|
||||
ignoreTF = parser.booleanValue();
|
||||
} else if ("min_similarity".equals(currentFieldName) || "minSimilarity".equals(currentFieldName)) {
|
||||
minSimilarity = parser.floatValue();
|
||||
} else if ("prefix_length".equals(currentFieldName) || "prefixLength".equals(currentFieldName)) {
|
||||
prefixLength = parser.intValue();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue