|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.Query
org.apache.lucene.search.MatchAllDocsQuery
org.apache.jackrabbit.core.query.lucene.MatchAllDocsQuery
public class MatchAllDocsQuery
MatchAllDocsQuery
extends the lucene MatchAllDocsQuery
and in addition implements JackrabbitQuery
.
Constructor Summary | |
---|---|
MatchAllDocsQuery()
|
Method Summary | |
---|---|
QueryHits |
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. |
Methods inherited from class org.apache.lucene.search.MatchAllDocsQuery |
---|
createWeight, equals, extractTerms, hashCode, toString |
Methods inherited from class org.apache.lucene.search.Query |
---|
clone, combine, getBoost, getSimilarity, mergeBooleanQueries, rewrite, setBoost, toString, weight |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MatchAllDocsQuery()
Method Detail |
---|
public QueryHits execute(JackrabbitIndexSearcher searcher, SessionImpl session, org.apache.lucene.search.Sort sort) throws IOException
QueryHits
or null
if
this query should be executed using the regular Lucene API.
Important note: an implementation must not call
JackrabbitIndexSearcher#execute(Query, Sort, long)
with this query instance as a parameter, otherwise a stack overflow will
occur.
execute
in interface JackrabbitQuery
searcher
- the jackrabbit index searcher.session
- the session that executes the query.sort
- the sort criteria that must be reflected in the returned
QueryHits
.
null
if the regular Lucene API
should be used by the caller.
IOException
- if an error occurs while executing the query.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |