| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CategorySearchEngine
This interface must be implemented by category search engines (indexer and searcher) such as LuceneCategorySearchEngine.
| Field Summary | |
|---|---|
static String | 
REVISION
 | 
| Method Summary | |
|---|---|
 void | 
add(Category cat)
Method to implement to index  Category into the search engine. | 
 void | 
add(Collection<Category> coll)
Method to implement to index a Collection of Category into the search engine. | 
 void | 
clearAll()
Method to implement to clear all Category from the search engine.  | 
 void | 
delete(Category cat)
Method to implement to delete Category from the search engine. | 
 void | 
delete(Collection<Category> coll)
Method to implement to delete a Collection of Category from the search engine. | 
 Date | 
getIndexingDate(Category cat)
Method to implement to retrieve the Date at which the specified Category was indexed in the search engine.  | 
 boolean | 
search(QueryHandler qh,
       HashSet<? extends Publication> pubSet,
       QueryResultSet resultSet)
Perform a full-text search.  | 
 void | 
update(Category cat)
Method to implement to update  Category in the search engine. | 
 void | 
update(Collection<Category> coll)
Method to implement to update Collection of Category in the search engine. | 
| Field Detail | 
|---|
static final String REVISION
| Method Detail | 
|---|
void add(Category cat)
 Category into the search engine.
cat - the Category to index .void update(Category cat)
 Category in the search engine.
cat - the Category to reindex .void delete(Category cat)
Category from the search engine.
cat - the Category to reindex .void add(Collection<Category> coll)
Collection of Category into the search engine.
coll - the Collection of Category to index .void update(Collection<Category> coll)
Collection of Category in the search engine.
coll - the Collection of Category to reindex .void delete(Collection<Category> coll)
Collection of Category from the search engine.
coll - the Collection of Category to reindex .Date getIndexingDate(Category cat)
cat - the Category for which to retrieve the indexing date.
void clearAll()
boolean search(QueryHandler qh,
               HashSet<? extends Publication> pubSet,
               QueryResultSet resultSet)
qh - the Queryhandler in which to find search text and search options.pubSet - a HashSet containing all the Publication to search. Publication found will be returned. resultSet - the QueryResultSet that must be filled
        with matching Publication
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||