public abstract class Condition extends Builder
| Constructor and Description |
|---|
Condition() |
| Modifier and Type | Method and Description |
|---|---|
Condition |
boost(float boost)
Sets the boost for the
Condition to be built. |
Condition |
boost(Number boost)
Sets the boost for the
Condition to be built. |
all, 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 Condition boost(float boost)
Condition to be built. Documents matching this condition will (in addition to the
normal weightings) have their score multiplied by boost. If null, then Condition#DEFAULT_BOOSTboost - The boost for the Condition to be built.public Condition boost(Number boost)
Condition to be built. Documents matching this condition will (in addition to the
normal weightings) have their score multiplied by boost. If null, then Condition#DEFAULT_BOOSTboost - The boost for the Condition to be built.Copyright © 2016. All rights reserved.