|
Spring Data Solr | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.solr.core.query.Node
org.springframework.data.solr.core.query.Criteria
org.springframework.data.solr.core.query.Crotch
public class Crotch
| 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 | |
|---|---|
Crotch |
and(Node part)
Combine two Nodes using and. |
Crotch |
and(String fieldname)
Combine node with new Node for given fieldname using and. |
Crotch |
between(Object lowerBound,
Object upperBound)
Crates new Criteria.Predicate for RANGE [lowerBound TO upperBound] |
Crotch |
between(Object lowerBound,
Object upperBound,
boolean includeLowerBound,
boolean includeUpperBound)
Crates new Criteria.Predicate for RANGE [lowerBound TO upperBound] |
Crotch |
boost(float boost)
Boost positive hit with given factor. eg. ^2.3 |
Crotch |
contains(Iterable<String> values)
Crates new Criteria.Predicate with leading and trailing wildcards for each entryNOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow. |
Crotch |
contains(String... values)
Crates new Criteria.Predicate with leading and trailing wildcards for each entryNOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow. |
Crotch |
contains(String value)
Crates new Criteria.Predicate with leading and trailing wildcards NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow. |
Crotch |
endsWith(Iterable<String> values)
Crates new Criteria.Predicate with leading wildcard for each entryNOTE: mind your schema and execution times as leading wildcards may not be supported. |
Crotch |
endsWith(String... values)
Crates new Criteria.Predicate with leading wildcard for each entryNOTE: mind your schema and execution times as leading wildcards may not be supported. |
Crotch |
endsWith(String postfix)
Crates new Criteria.Predicate with leading wildcard NOTE: mind your schema and execution times as leading wildcards may not be supported. |
Crotch |
expression(String nativeSolrQueryExpression)
Crates new Criteria.Predicate allowing native solr expressions |
Crotch |
function(Function function)
Creates Criteria.Predicate for given Function. |
Crotch |
fuzzy(String value)
Crates new Criteria.Predicate with trailing ~ |
Crotch |
fuzzy(String values,
float levenshteinDistance)
Crates new Criteria.Predicate with trailing ~ followed by levensteinDistance |
Field |
getField()
Target field |
Collection<Criteria> |
getSiblings()
|
Crotch |
greaterThan(Object lowerBound)
Crates new Criteria.Predicate for RANGE {lowerBound TO *] |
Crotch |
greaterThanEqual(Object lowerBound)
Crates new Criteria.Predicate for RANGE [lowerBound TO *] |
Crotch |
in(Iterable<?> values)
Crates new Criteria.Predicate for multiple values (arg0 arg1 arg2 ...) |
Crotch |
in(Object... values)
Crates new Criteria.Predicate for multiple values (arg0 arg1 arg2 ...) |
Crotch |
is(Iterable<?> values)
Creates new Criteria.Predicate without any wildcards for each entry |
Crotch |
is(Object... values)
Crates new Criteria.Predicate without any wildcards for each entry |
Crotch |
is(Object o)
Crates new Criteria.Predicate without any wildcards. |
Crotch |
isNotNull()
Crates new Criteria.Predicate for {@code ! |
Crotch |
isNull()
Crates new Criteria.Predicate for null values |
Crotch |
lessThan(Object upperBound)
Crates new Criteria.Predicate for RANGE [* TO upperBound} |
Crotch |
lessThanEqual(Object upperBound)
Crates new Criteria.Predicate for RANGE [* TO upperBound] |
Crotch |
near(org.springframework.data.geo.Box box)
Creates new Criteria.Predicate for {@code ! |
Crotch |
near(org.springframework.data.geo.Point location,
org.springframework.data.geo.Distance distance)
Creates new Criteria.Predicate for {@code ! |
Crotch |
not()
Negates current criteria usinng - operator |
Crotch |
or(Node part)
Combine two Nodes using or. |
Crotch |
or(String fieldname)
Combine node with new Node for given fieldname using and. |
Crotch |
sloppy(String phrase,
int distance)
Crates new Criteria.Predicate with trailing ~ followed by distance |
Crotch |
startsWith(Iterable<String> values)
Crates new Criteria.Predicate with trailing wildcard for each entry |
Crotch |
startsWith(String... values)
Crates new Criteria.Predicate with trailing wildcard for each entry |
Crotch |
startsWith(String prefix)
Crates new Criteria.Predicate with trailing wildcard NOTE: Strings will not be automatically split on whitespace. |
String |
toString()
|
Crotch |
within(org.springframework.data.geo.Point location,
org.springframework.data.geo.Distance distance)
Creates new Criteria.Predicate for {@code ! |
| Methods inherited from class org.springframework.data.solr.core.query.Criteria |
|---|
getBoost, getPredicates, isNegating, near, where, where, where, within |
| Methods inherited from class org.springframework.data.solr.core.query.Node |
|---|
getParent, hasSiblings, isOr, isRoot, setParent, setPartIsOr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Field getField()
Criteria
getField in class Criteriapublic Crotch is(Object o)
CriteriaCriteria.Predicate without any wildcards. Strings with blanks will be escaped
"string\ with\ blank"
is in class Criteriapublic Crotch boost(float boost)
Criteria
boost in class Criteriapublic Crotch not()
Criteria- operator
not in class Criteriapublic Crotch endsWith(String postfix)
CriteriaCriteria.Predicate with leading wildcard
endsWith in class Criteriapublic Crotch startsWith(String prefix)
CriteriaCriteria.Predicate with trailing wildcard
startsWith in class Criteriapublic Crotch contains(String value)
CriteriaCriteria.Predicate with leading and trailing wildcards
contains in class Criteriapublic Crotch is(Object... values)
CriteriaCriteria.Predicate without any wildcards for each entry
is in class Criteriapublic Crotch is(Iterable<?> values)
CriteriaCriteria.Predicate without any wildcards for each entry
is in class Criteriapublic Crotch isNull()
CriteriaCriteria.Predicate for null values
isNull in class Criteriapublic Crotch isNotNull()
CriteriaCriteria.Predicate for !null values
isNotNull in class Criteriapublic Crotch contains(String... values)
CriteriaCriteria.Predicate with leading and trailing wildcards for each entry
contains in class Criteriapublic Crotch contains(Iterable<String> values)
CriteriaCriteria.Predicate with leading and trailing wildcards for each entry
contains in class Criteriapublic Crotch startsWith(String... values)
CriteriaCriteria.Predicate with trailing wildcard for each entry
startsWith in class Criteriapublic Crotch startsWith(Iterable<String> values)
CriteriaCriteria.Predicate with trailing wildcard for each entry
startsWith in class Criteriapublic Crotch endsWith(String... values)
CriteriaCriteria.Predicate with leading wildcard for each entry
endsWith in class Criteriapublic Crotch endsWith(Iterable<String> values)
CriteriaCriteria.Predicate with leading wildcard for each entry
endsWith in class Criteriapublic Crotch fuzzy(String value)
CriteriaCriteria.Predicate with trailing ~
fuzzy in class Criteria
public Crotch fuzzy(String values,
float levenshteinDistance)
CriteriaCriteria.Predicate with trailing ~ followed by levensteinDistance
fuzzy in class Criteria
public Crotch sloppy(String phrase,
int distance)
CriteriaCriteria.Predicate with trailing ~ followed by distance
sloppy in class Criteriapublic Crotch expression(String nativeSolrQueryExpression)
CriteriaCriteria.Predicate allowing native solr expressions
expression in class Criteria
public Crotch between(Object lowerBound,
Object upperBound)
CriteriaCriteria.Predicate for RANGE [lowerBound TO upperBound]
between in class Criteria
public Crotch between(Object lowerBound,
Object upperBound,
boolean includeLowerBound,
boolean includeUpperBound)
CriteriaCriteria.Predicate for RANGE [lowerBound TO upperBound]
between in class Criteriapublic Crotch lessThan(Object upperBound)
CriteriaCriteria.Predicate for RANGE [* TO upperBound}
lessThan in class Criteriapublic Crotch lessThanEqual(Object upperBound)
CriteriaCriteria.Predicate for RANGE [* TO upperBound]
lessThanEqual in class Criteriapublic Crotch greaterThan(Object lowerBound)
CriteriaCriteria.Predicate for RANGE {lowerBound TO *]
greaterThan in class Criteriapublic Crotch greaterThanEqual(Object lowerBound)
CriteriaCriteria.Predicate for RANGE [lowerBound TO *]
greaterThanEqual in class Criteriapublic Crotch in(Object... values)
CriteriaCriteria.Predicate for multiple values (arg0 arg1 arg2 ...)
in in class Criteriapublic Crotch in(Iterable<?> values)
CriteriaCriteria.Predicate for multiple values (arg0 arg1 arg2 ...)
in in class Criteriavalues - the collection containing the values to match against
public Crotch within(org.springframework.data.geo.Point location,
org.springframework.data.geo.Distance distance)
CriteriaCriteria.Predicate for !geodist
within in class Criterialocation - Point in degreespublic Crotch near(org.springframework.data.geo.Box box)
CriteriaCriteria.Predicate for !bbox with exact coordinates
near in class Criteria
public Crotch near(org.springframework.data.geo.Point location,
org.springframework.data.geo.Distance distance)
CriteriaCriteria.Predicate for !bbox for a specified distance. The difference between this and
within is this is approximate while within is exact.
near in class Criteriapublic Crotch function(Function function)
CriteriaCriteria.Predicate for given Function.
function in class Criteriafunction - must not be nullpublic String toString()
toString in class Criteriapublic Collection<Criteria> getSiblings()
getSiblings in class NodeNode does not have siblings.public Crotch and(Node part)
NodeNodes using and.
and in class Criteriapublic Crotch or(Node part)
NodeNodes using or.
or in class Criteriapublic Crotch and(String fieldname)
NodeNode for given fieldname using and.
and in class Criteriapublic Crotch or(String fieldname)
NodeNode for given fieldname using and.
or in class Criteria
|
Spring Data Solr | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||