public class RegexpCondition 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 |
|---|
RegexpCondition(String field,
String value)
Creates a new
RegexpCondition for the specified field and expression. |
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 RegexpCondition(String field, String value)
RegexpCondition for the specified field and expression.field - The name of the field to be matched.value - The wildcard expression to be matched.Copyright © 2016. All rights reserved.