com.arsdigita.search.lucene
Class BaseQueryEngine

java.lang.Object
  extended bycom.arsdigita.search.lucene.BaseQueryEngine
All Implemented Interfaces:
QueryEngine

public class BaseQueryEngine
extends Object
implements QueryEngine

This provides the basic lucene query engine implementation which can restrict based on object type

See Also:
QueryEngine

Constructor Summary
BaseQueryEngine()
           
 
Method Summary
protected  void addFilter(List list, FilterSpecification filter)
           
protected  void addFilters(List list, FilterSpecification[] filters)
           
protected  void addObjectTypeFilter(List list, ObjectTypeFilterSpecification filter)
           
 ResultSet process(QuerySpecification spec)
          Processes a query specification generating a document result set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseQueryEngine

public BaseQueryEngine()
Method Detail

process

public ResultSet process(QuerySpecification spec)
Description copied from interface: QueryEngine
Processes a query specification generating a document result set

Specified by:
process in interface QueryEngine
Parameters:
spec - the query specification
Returns:
the document result set

addFilters

protected void addFilters(List list,
                          FilterSpecification[] filters)

addFilter

protected void addFilter(List list,
                         FilterSpecification filter)

addObjectTypeFilter

protected void addObjectTypeFilter(List list,
                                   ObjectTypeFilterSpecification filter)


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