com.arsdigita.search
Interface QueryEngine

All Known Implementing Classes:
BaseQueryEngine, BaseQueryEngine, NoopQueryEngine

public interface QueryEngine

This interface is the bridge between the generic application programmers API and the backend (search engine specific) implementations. Instances of this this interface are registered against various combinations of filter type and search engine to perform the actual search operation. Application programmers do not need to access instances of this class directly, rather they should use the process method in the Search class.

The provided implementation for intermedia currently allows any combination of the following filters:

 'permissions' - filter by READ privilege
 'categories' - filter by category membership
 'types' - filter by object type
The provided implementation for lucene currently only supports the 'types' filter.

See Also:
QueryEngineRegistry, Search

Method Summary
 ResultSet process(QuerySpecification spec)
          Processes a query specification generating a document result set
 

Method Detail

process

public ResultSet process(QuerySpecification spec)
Processes a query specification generating a document result set

Parameters:
spec - the query specification
Returns:
the document result set


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC