| org.apache.cocoon.bean.query.SimpleLuceneQuery
All known Subclasses: org.apache.cocoon.bean.query.SimpleLuceneQueryBean,
SimpleLuceneQuery | public interface SimpleLuceneQuery (Code) | | The interface of a query bean.
This component defines an interface for searching.
The idea is to abstract the process of searching into a Bean to be manipulated by CForms.
version: CVS $Id: SimpleLuceneQuery.java 433543 2006-08-22 06:22:54Z crossley $ |
Field Summary | |
final public static String | AND_BOOL The AND_BOOL name of this bean.
The value representing a Boolean AND operation.
ie. | final public static String | OR_BOOL The OR_BOOL name of this bean.
The value representing a Boolean OR operation.
ie. |
Method Summary | |
public List | search(LuceneCocoonSearcher searcher) Gets the Bean to perform it's query
The searcher specifies which LuceneCocoonSearcher to use for this search
It needs to have been initialised properly before use
Parameters: searcher - The LuceneCocoonSearcher to use for this search a List of Maps, each representing a Hit. |
AND_BOOL | final public static String AND_BOOL(Code) | | The AND_BOOL name of this bean.
The value representing a Boolean AND operation.
ie. and
|
OR_BOOL | final public static String OR_BOOL(Code) | | The OR_BOOL name of this bean.
The value representing a Boolean OR operation.
ie. or
|
search | public List search(LuceneCocoonSearcher searcher) throws IOException, ProcessingException(Code) | | Gets the Bean to perform it's query
The searcher specifies which LuceneCocoonSearcher to use for this search
It needs to have been initialised properly before use
Parameters: searcher - The LuceneCocoonSearcher to use for this search a List of Maps, each representing a Hit. exception: ProcessingException - thrown by the searcher exception: IOException - thrown when the searcher's directory cannot be found |
|
|