public class MultiColumnQueryAdapter extends Object implements MultiColumnQuery
MultiColumnQueryAdapter adapts a lucene query to act like a
MultiColumnQuery.| Modifier and Type | Method and Description |
|---|---|
static MultiColumnQuery |
adapt(org.apache.lucene.search.Query query,
Name selectorName)
Adapts the given
query. |
MultiColumnQueryHits |
execute(JackrabbitIndexSearcher searcher,
Ordering[] orderings,
long resultFetchHint)
Executes this query and returns multi column query hits.
|
public static MultiColumnQuery adapt(org.apache.lucene.search.Query query, Name selectorName)
query.query - the lucene query to adapt.selectorName - the selector name for the query hits.MultiColumnQuery that wraps the given lucene query.public MultiColumnQueryHits execute(JackrabbitIndexSearcher searcher, Ordering[] orderings, long resultFetchHint) throws IOException
execute in interface MultiColumnQuerysearcher - the index searcher.orderings - the orderings.resultFetchHint - the result fetch hint.IOException - if an error occurs while executing the query.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.