Class Crotch
java.lang.Object
org.springframework.data.solr.core.query.Node
org.springframework.data.solr.core.query.Criteria
org.springframework.data.solr.core.query.Crotch
- Since:
- 1.2
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.solr.core.query.Criteria
Criteria.OperationKey, Criteria.Predicate -
Field Summary
Fields inherited from class org.springframework.data.solr.core.query.Criteria
CRITERIA_VALUE_SEPERATOR, WILDCARD -
Method Summary
Modifier and TypeMethodDescriptionCombine node with newNodefor given fieldname using and.Combine twoNodes using and.Crates newCriteria.PredicateforRANGE [lowerBound TO upperBound]Crates newCriteria.PredicateforRANGE [lowerBound TO upperBound]boost(float boost) Boost positive hit with given factor.Crates newCriteria.Predicatewith leading and trailing wildcards for each entry
NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow.Crates newCriteria.Predicatewith leading and trailing wildcards
NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow.Crates newCriteria.Predicatewith leading and trailing wildcards for each entry
NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow.Crates newCriteria.Predicatewith leading wildcard for each entry
NOTE: mind your schema and execution times as leading wildcards may not be supported.Crates newCriteria.Predicatewith leading wildcard
NOTE: mind your schema and execution times as leading wildcards may not be supported.Crates newCriteria.Predicatewith leading wildcard for each entry
NOTE: mind your schema and execution times as leading wildcards may not be supported.expression(String nativeSolrQueryExpression) Crates newCriteria.Predicateallowing native solr expressionsCreatesCriteria.Predicatefor givenFunction.Crates newCriteria.Predicatewith trailing~Crates newCriteria.Predicatewith trailing~followed by levensteinDistancegetField()Target fieldgreaterThan(Object lowerBound) Crates newCriteria.PredicateforRANGE {lowerBound TO *]greaterThanEqual(Object lowerBound) Crates newCriteria.PredicateforRANGE [lowerBound TO *]Crates newCriteria.Predicatefor multiple values(arg0 arg1 arg2 ...)Crates newCriteria.Predicatefor multiple values(arg0 arg1 arg2 ...)Creates newCriteria.Predicatewithout any wildcards for each entryCrates newCriteria.Predicatewithout any wildcards.Crates newCriteria.Predicatewithout any wildcards for each entryCrates newCriteria.Predicatefor!nullvaluesisNull()Crates newCriteria.PredicatefornullvaluesCrates newCriteria.PredicateforRANGE [* TO upperBound}lessThanEqual(Object upperBound) Crates newCriteria.PredicateforRANGE [* TO upperBound]near(org.springframework.data.geo.Box box) Creates newCriteria.Predicatefor!bboxwith exact coordinates.near(org.springframework.data.geo.Point location, org.springframework.data.geo.Distance distance) Creates newCriteria.Predicatefor!bboxfor a specified distance.not()Negates current criteria usinng-operatorExplicitly wrapCriteriainside not operation.Combine node with newNodefor given fieldname using and.Combine twoNodes using or.Crates newCriteria.Predicatewith trailing~followed by distancestartsWith(Iterable<String> values) Crates newCriteria.Predicatewith trailing wildcard for each entrystartsWith(String prefix) Crates newCriteria.Predicatewith trailing wildcard
NOTE: Strings will not be automatically split on whitespace.startsWith(String... values) Crates newCriteria.Predicatewith trailing wildcard for each entrytoString()within(org.springframework.data.geo.Point location, org.springframework.data.geo.Distance distance) Creates newCriteria.Predicatefor!getfilt.Methods inherited from class org.springframework.data.solr.core.query.Criteria
connect, getBoost, getPredicates, isNegating, near, where, where, where, withinMethods inherited from class org.springframework.data.solr.core.query.Node
getParent, hasSiblings, isOr, isRoot, setNegating, setParent, setPartIsOr
-
Method Details
-
getField
Description copied from class:CriteriaTarget field -
is
Description copied from class:CriteriaCrates newCriteria.Predicatewithout any wildcards. Strings with blanks will be escaped"string\ with\ blank" -
boost
Description copied from class:CriteriaBoost positive hit with given factor. eg. ^2.3 -
not
Description copied from class:CriteriaNegates current criteria usinng-operator -
notOperator
Description copied from class:CriteriaExplicitly wrapCriteriainside not operation.- Overrides:
notOperatorin classCriteria- Returns:
-
endsWith
Description copied from class:CriteriaCrates newCriteria.Predicatewith leading wildcard
NOTE: mind your schema and execution times as leading wildcards may not be supported. NOTE: Strings will not be automatically split on whitespace. -
startsWith
Description copied from class:CriteriaCrates newCriteria.Predicatewith trailing wildcard
NOTE: Strings will not be automatically split on whitespace.- Overrides:
startsWithin classCriteria
-
contains
Description copied from class:CriteriaCrates newCriteria.Predicatewith leading and trailing wildcards
NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow. NOTE: Strings will not be automatically split on whitespace. -
is
Description copied from class:CriteriaCrates newCriteria.Predicatewithout any wildcards for each entry -
is
Description copied from class:CriteriaCreates newCriteria.Predicatewithout any wildcards for each entry -
isNull
Description copied from class:CriteriaCrates newCriteria.Predicatefornullvalues -
isNotNull
Description copied from class:CriteriaCrates newCriteria.Predicatefor!nullvalues -
contains
Description copied from class:CriteriaCrates newCriteria.Predicatewith leading and trailing wildcards for each entry
NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow. -
contains
Description copied from class:CriteriaCrates newCriteria.Predicatewith leading and trailing wildcards for each entry
NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow. -
startsWith
Description copied from class:CriteriaCrates newCriteria.Predicatewith trailing wildcard for each entry- Overrides:
startsWithin classCriteria
-
startsWith
Description copied from class:CriteriaCrates newCriteria.Predicatewith trailing wildcard for each entry- Overrides:
startsWithin classCriteria
-
endsWith
Description copied from class:CriteriaCrates newCriteria.Predicatewith leading wildcard for each entry
NOTE: mind your schema and execution times as leading wildcards may not be supported. -
endsWith
Description copied from class:CriteriaCrates newCriteria.Predicatewith leading wildcard for each entry
NOTE: mind your schema and execution times as leading wildcards may not be supported. -
fuzzy
Description copied from class:CriteriaCrates newCriteria.Predicatewith trailing~ -
fuzzy
Description copied from class:CriteriaCrates newCriteria.Predicatewith trailing~followed by levensteinDistance -
sloppy
Description copied from class:CriteriaCrates newCriteria.Predicatewith trailing~followed by distance -
expression
Description copied from class:CriteriaCrates newCriteria.Predicateallowing native solr expressions- Overrides:
expressionin classCriteria
-
between
Description copied from class:CriteriaCrates newCriteria.PredicateforRANGE [lowerBound TO upperBound] -
between
public Crotch between(@Nullable Object lowerBound, @Nullable Object upperBound, boolean includeLowerBound, boolean includeUpperBound) Description copied from class:CriteriaCrates newCriteria.PredicateforRANGE [lowerBound TO upperBound] -
lessThan
Description copied from class:CriteriaCrates newCriteria.PredicateforRANGE [* TO upperBound} -
lessThanEqual
Description copied from class:CriteriaCrates newCriteria.PredicateforRANGE [* TO upperBound]- Overrides:
lessThanEqualin classCriteria
-
greaterThan
Description copied from class:CriteriaCrates newCriteria.PredicateforRANGE {lowerBound TO *]- Overrides:
greaterThanin classCriteria
-
greaterThanEqual
Description copied from class:CriteriaCrates newCriteria.PredicateforRANGE [lowerBound TO *]- Overrides:
greaterThanEqualin classCriteria
-
in
Description copied from class:CriteriaCrates newCriteria.Predicatefor multiple values(arg0 arg1 arg2 ...) -
in
Description copied from class:CriteriaCrates newCriteria.Predicatefor multiple values(arg0 arg1 arg2 ...) -
within
public Crotch within(org.springframework.data.geo.Point location, @Nullable org.springframework.data.geo.Distance distance) Description copied from class:CriteriaCreates newCriteria.Predicatefor!getfilt.
Uses nonneutralmetricto set the localscoreproperty for the function. -
near
Description copied from class:CriteriaCreates newCriteria.Predicatefor!bboxwith exact coordinates. -
near
public Crotch near(org.springframework.data.geo.Point location, @Nullable org.springframework.data.geo.Distance distance) Description copied from class:CriteriaCreates newCriteria.Predicatefor!bboxfor a specified distance. The difference between this andwithinis this is approximate whilewithinis exact.
Uses nonneutralmetricto set the localscoreproperty for the function. -
function
Description copied from class:CriteriaCreatesCriteria.Predicatefor givenFunction. -
toString
-
getSiblings
- Overrides:
getSiblingsin classNode- Returns:
- empty collection if
Nodedoes not have siblings.
-
and
Description copied from class:NodeCombine twoNodes using and. -
or
Description copied from class:NodeCombine twoNodes using or. -
and
Description copied from class:NodeCombine node with newNodefor given fieldname using and. -
or
Description copied from class:NodeCombine node with newNodefor given fieldname using and.
-