public interface PublicationSearchEngine
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Modifier and Type | Method and Description |
---|---|
void |
add(java.util.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 |
delete(java.util.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. |
java.util.Date |
getIndexingDate(Publication pub)
Method to implement to retrieve the Date at which the specified Publication was indexed in the search engine.
|
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
search(QueryHandler qh)
Return the list of publication's identifier with a lucene search.
|
boolean |
search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet)
Perform a full-text search.
|
void |
update(java.util.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. |
static final java.lang.String REVISION
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(java.util.Collection<? extends Publication> coll)
Collection
of Publication
into the search engine.coll
- the Collection
of Publication
to index .void update(java.util.Collection<? extends Publication> coll)
Collection
of Publication
in the search engine.coll
- the Collection
of Publication
to reindex .void delete(java.util.Collection<? extends Publication> coll)
Collection
of Publication
from the search engine.coll
- the Collection
of Publication
to reindex .java.util.Date getIndexingDate(Publication pub)
pub
- the Publication
for which to retrieve the indexing date.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
java.util.LinkedHashMap<java.lang.String,java.lang.Float> search(QueryHandler qh)
qh
- the Queryhandler in which to find search text and search options.Copyright © 2001-2017 Jalios SA. All Rights Reserved.