| org.apache.slide.search.basic.LuceneBasicQueryEnvelope
LuceneBasicQueryEnvelope | public class LuceneBasicQueryEnvelope extends BasicQueryEnvelope (Code) | | Envelopes all queries that are necessary, if a scope covers several stores.
For example: /mycoll is mapped to an SQL store, /mycoll/xml is mapped to an
XML database. A query with scope /mycoll must be divided in two different
queries, the result must be joined.
version: $Revision: 1749 $ |
Method Summary | |
protected BasicQueryImpl | createSubQuery(Namespace namespace, String slideScope, SearchToken token) | public SearchQueryResult | execute() |
LuceneBasicQueryEnvelope | public LuceneBasicQueryEnvelope(SearchToken token, QueryScope[] queryScope) throws InvalidScopeException(Code) | | |
createSubQuery | protected BasicQueryImpl createSubQuery(Namespace namespace, String slideScope, SearchToken token) throws SlideRuntimeException(Code) | | creates a subquery
Parameters: namespace - a Namespace Parameters: slideScope - a String Parameters: token - a SearchToken a BasicQueryImpl throws: SlideRuntimeException - |
execute | public SearchQueryResult execute() throws ServiceAccessException(Code) | | Executes each involved query and merges the results
a SearchQueryResult throws: ServiceAccessException - |
|
|