Package | Description |
---|---|
org.apache.jackrabbit.core.query.lucene | |
org.apache.jackrabbit.core.query.lucene.constraint |
Modifier and Type | Class and Description |
---|---|
class |
AbstractQueryHits
AbstractQueryHits serves as a base class for QueryHits
implementations. |
class |
ChildNodesQueryHits
ChildNodesQueryHits implements query hits that returns the child
nodes of another given query hits. |
class |
DefaultQueryHits
|
class |
LuceneQueryHits
Wraps a lucene query result and adds a close method that allows to release
resources after a query has been executed and the results have been read
completely.
|
class |
NodeTraversingQueryHits
NodeTraversingQueryHits implements query hits that traverse
a node hierarchy. |
class |
SortedLuceneQueryHits
Wraps a lucene query result and adds a close method that allows to release
resources after a query has been executed and the results have been read
completely.
|
Modifier and Type | Method and Description |
---|---|
QueryHits |
JackrabbitIndexSearcher.evaluate(org.apache.lucene.search.Query query)
Evaluates the query and returns the hits that match the query.
|
QueryHits |
JackrabbitIndexSearcher.evaluate(org.apache.lucene.search.Query query,
org.apache.lucene.search.Sort sort,
long resultFetchHint)
Evaluates the query and returns the hits that match the query.
|
QueryHits |
QueryHitsQuery.execute(JackrabbitIndexSearcher searcher,
SessionImpl session,
org.apache.lucene.search.Sort sort)
Executes this query and returns
QueryHits or null if
this query should be executed using the regular Lucene API. |
QueryHits |
MatchAllDocsQuery.execute(JackrabbitIndexSearcher searcher,
SessionImpl session,
org.apache.lucene.search.Sort sort)
Executes this query and returns
QueryHits or null if
this query should be executed using the regular Lucene API. |
QueryHits |
JackrabbitQuery.execute(JackrabbitIndexSearcher searcher,
SessionImpl session,
org.apache.lucene.search.Sort sort)
Executes this query and returns
QueryHits or null if
this query should be executed using the regular Lucene API. |
Constructor and Description |
---|
ChildNodesQueryHits(QueryHits parents,
SessionImpl session)
Creates a new
ChildNodesQueryHits that returns the child
nodes of all query hits from the given parents . |
QueryHitsAdapter(QueryHits hits,
Name selectorName)
Creates a new adapter for
hits . |
QueryHitsQuery(QueryHits hits)
Creates a new query based on
QueryHits . |
Modifier and Type | Method and Description |
---|---|
QueryHits |
EvaluationContext.evaluate(org.apache.lucene.search.Query query)
Evaluates the given lucene
query and returns the query
hits. |
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.