- All Known Implementing Classes:
public interface FileSearchEngine
This interface must be implemented by file search engines such as LuceneFileSearchEngine.
- $Revision: 23763 $
- Olivier Dedieu , Olivier Jaquemet
static final String REVISION
- See Also:
- Constant Field Values
boolean search(QueryHandler qh,
HashSet<? extends Publication> pubSet,
- Perform a full-text search on indexed files
qh - the Queryhandler in which to find search text and search options.
pubSet - a HashSet containing all the
Publication to search.
if empty, search is not performed at all.
if null, all
Publication found will be returned.
This set MUST NOT be modified by implementation.
resultSet - the
QueryResultSet that must be filled
- true if a search was performed in the FileSearchEngine.
Useful to differenciate a query returning zero result from a query
not performed due to missing paramerters (text for example)
- the number of indexed files
- true if the FileSearchEngine is available
Copyright © 2001-2007 Jalios SA. All Rights Reserved.