|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.Searcher
org.apache.lucene.search.IndexSearcher
org.apache.jackrabbit.core.query.lucene.JackrabbitIndexSearcher
public class JackrabbitIndexSearcher
JackrabbitIndexSearcher
implements an index searcher with
jackrabbit specific optimizations.
Constructor Summary | |
---|---|
JackrabbitIndexSearcher(SessionImpl s,
org.apache.lucene.index.IndexReader r)
Creates a new jackrabbit index searcher. |
Method Summary | |
---|---|
QueryHits |
evaluate(org.apache.lucene.search.Query query,
org.apache.lucene.search.Sort sort)
Evaluates the query and returns the hits that match the query. |
MultiColumnQueryHits |
execute(org.apache.lucene.search.Query query,
org.apache.lucene.search.Sort sort)
Executes the query and returns the hits that match the query. |
Methods inherited from class org.apache.lucene.search.IndexSearcher |
---|
close, doc, doc, docFreq, explain, getIndexReader, maxDoc, rewrite, search, search, search |
Methods inherited from class org.apache.lucene.search.Searcher |
---|
createWeight, docFreqs, explain, getSimilarity, search, search, search, search, search, search, search, search, search, setSimilarity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JackrabbitIndexSearcher(SessionImpl s, org.apache.lucene.index.IndexReader r)
s
- the session that executes the query.r
- the index reader.Method Detail |
---|
public MultiColumnQueryHits execute(org.apache.lucene.search.Query query, org.apache.lucene.search.Sort sort) throws IOException
query
- the query to execute.sort
- the sort criteria.
IOException
- if an error occurs while executing the query.public QueryHits evaluate(org.apache.lucene.search.Query query, org.apache.lucene.search.Sort sort) throws IOException
query
- the query to execute.sort
- the sort criteria.
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 |