public class WildcardCondition extends Condition
*, which matches any character sequence
(including the empty one), and ?, which matches any single character. '\' is the escape character.
Note this query can be slow, as it needs to iterate over many terms. In order to prevent extremely slow
WildcardQueries, a Wildcard term should not start with the wildcard *.| Constructor and Description |
|---|
WildcardCondition(String field,
String value)
Creates a new
WildcardCondition for the specified field and value. |
boost, boostall, bigDecimalMapper, bigIntegerMapper, bitemporal, bitemporalMapper, blobMapper, bool, booleanMapper, build, classpathAnalyzer, contains, dateMapper, dateRange, dateRangeMapper, doubleMapper, field, floatMapper, fuzzy, geoBBox, geoDistance, geoDistanceSortField, geoPointMapper, index, index, inetMapper, integerMapper, longMapper, lucene, match, none, phrase, prefix, range, regexp, schema, search, snowballAnalyzer, stringMapper, textMapper, toString, uuidMapper, wildcardpublic WildcardCondition(String field, String value)
WildcardCondition for the specified field and value.field - The name of the field to be matched.value - The wildcard expression to be matched.Copyright © 2016. All rights reserved.