Package | Description |
---|---|
org.modeshape.jcr.api.query.qom | |
org.modeshape.jcr.query.lucene |
The core query engine, which currently uses Lucene for indexing and raw queries, and
the Hibernate Search engine (which does not depend on or use Hibernate Core or JPA)
for updating and querying the Lucene indexes.
|
org.modeshape.jcr.query.lucene.basic |
The "basic"
Lucene schema has a single index in which all node
and property information are indexed into separate fields. |
org.modeshape.jcr.query.model |
The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
|
Modifier and Type | Method and Description |
---|---|
NodeDepth |
QueryObjectModelFactory.nodeDepth(String selectorName)
Evaluates to a
LONG value equal to the depth of a node in the specified selector. |
Modifier and Type | Method and Description |
---|---|
protected abstract org.apache.lucene.search.Query |
LuceneQueryFactory.findNodesWith(SelectorName selectorName,
NodeDepth depthConstraint,
Operator operator,
Object value) |
protected abstract org.apache.lucene.search.Query |
LuceneQueryFactory.findNodesWithNumericRange(SelectorName selectorName,
NodeDepth depth,
Object lowerValue,
Object upperValue,
boolean includesLower,
boolean includesUpper)
Create a query that finds documents with fields with depths that are in the supplied range.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.Query |
BasicLuceneQueryFactory.findNodesWith(SelectorName selectorName,
NodeDepth depthConstraint,
Operator operator,
Object value) |
protected org.apache.lucene.search.Query |
BasicLuceneQueryFactory.findNodesWithNumericRange(SelectorName selectorName,
NodeDepth depth,
Object lowerValue,
Object upperValue,
boolean includesLower,
boolean includesUpper) |
Modifier and Type | Class and Description |
---|---|
class |
NodeDepth
A dynamic operand that evaluates to the depth of a node given by a selector, used in a
Comparison constraint. |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.