public interface CategorySearchEngine
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Modifier and Type | Method and Description |
---|---|
void |
add(Category cat)
Method to implement to index
Category into the search engine. |
void |
add(java.util.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(java.util.Collection<Category> coll)
Method to implement to delete a
Collection of Category from the search engine. |
java.util.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,
java.util.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(java.util.Collection<Category> coll)
Method to implement to update
Collection of Category in the search engine. |
static final java.lang.String REVISION
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(java.util.Collection<Category> coll)
Collection
of Category
into the search engine.coll
- the Collection
of Category
to index .void update(java.util.Collection<Category> coll)
Collection
of Category
in the search engine.coll
- the Collection
of Category
to reindex .void delete(java.util.Collection<Category> coll)
Collection
of Category
from the search engine.coll
- the Collection
of Category
to reindex .java.util.Date getIndexingDate(Category cat)
cat
- the Category
for which to retrieve the indexing date.void clearAll()
boolean search(QueryHandler qh, java.util.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
Copyright © 2001-2010 Jalios SA. All Rights Reserved.