|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileSearchEngine
This interface must be implemented by file search engines such as LuceneFileSearchEngine.
Field Summary | |
---|---|
static String |
REVISION
|
Method Summary | |
---|---|
int |
getFileCount()
|
boolean |
isAvailable()
|
LinkedHashMap<String,Float> |
search(QueryHandler qh)
Return the list of publication's identifier with a lucene search. |
boolean |
search(QueryHandler qh,
HashSet<? extends Publication> pubSet,
QueryResultSet resultSet,
boolean searchInDB)
Perform a full-text search on indexed files |
LinkedHashMap<String,Float> |
search(QueryHandler qh,
List<String> idList)
Filters the given list of publication's identifier with a lucene search. |
Field Detail |
---|
static final String REVISION
Method Detail |
---|
boolean search(QueryHandler qh, HashSet<? extends Publication> pubSet, QueryResultSet resultSet, boolean searchInDB)
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
searchInDB
- if false, only JStore publication are set in pubSet
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.LinkedHashMap<String,Float> search(QueryHandler qh)
qh
- the Queryhandler in which to find search text and search options.
int getFileCount()
boolean isAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |