public class MatchAllDocsQuery extends org.apache.lucene.search.MatchAllDocsQuery implements JackrabbitQuery
| Constructor and Description |
|---|
MatchAllDocsQuery() |
| Modifier and Type | Method and Description |
|---|---|
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. |
createWeight, equals, extractTerms, hashCode, toStringpublic 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, org.apache.jackrabbit.spi.Name)
with this query instance as a parameter, otherwise a stack overflow will
occur.
execute in interface JackrabbitQuerysearcher - 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.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.