|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PublicationSearchEngine
This interface must be implemented by publication search engines (indexer and searcher) such as LuceneSearchEngine.
| Field Summary | |
|---|---|
static String |
REVISION
|
| Method Summary | |
|---|---|
void |
add(Collection<? extends Publication> coll)
Method to implement to index a Collection of Publication into the search engine. |
void |
add(Publication pub)
Method to implement to index Publication into the search engine. |
void |
clearAll()
Method to implement to clear all Publication from the search engine. |
void |
delete(Collection<? extends Publication> coll)
Method to implement to delete a Collection of Publication from the search engine. |
void |
delete(Publication pub)
Method to implement to delete Publication from the search engine. |
Date |
getIndexingDate(Publication pub)
Method to implement to retrieve the Date at which the specified Publication was indexed in the search engine. |
boolean |
search(QueryHandler qh,
HashSet<? extends Publication> pubSet,
QueryResultSet resultSet)
Perform a full-text search. |
LinkedHashMap<String,Float> |
search(QueryHandler qh,
List<String> idList)
Filters the given list of publication's identifier with a lucene search. |
void |
update(Collection<? extends Publication> coll)
Method to implement to update Collection of Publication in the search engine. |
void |
update(Publication pub)
Method to implement to update Publication in the search engine. |
| Field Detail |
|---|
static final String REVISION
| Method Detail |
|---|
void add(Publication pub)
Publication into the search engine.
pub - the Publication to index .void update(Publication pub)
Publication in the search engine.
pub - the Publication to reindex .void delete(Publication pub)
Publication from the search engine.
pub - the Publication to reindex .void add(Collection<? extends Publication> coll)
Collection of Publication into the search engine.
coll - the Collection of Publication to index .void update(Collection<? extends Publication> coll)
Collection of Publication in the search engine.
coll - the Collection of Publication to reindex .void delete(Collection<? extends Publication> coll)
Collection of Publication from the search engine.
coll - the Collection of Publication to reindex .Date getIndexingDate(Publication pub)
pub - the Publication 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
LinkedHashMap<String,Float> search(QueryHandler qh,
List<String> idList)
qh - the Queryhandler in which to find search text and search options.idList - the list of publication's identifier
idList and respect its order.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||