|
||||||||||
| 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 java.lang.String |
REVISION
|
| Method Summary | |
|---|---|
int |
getFileCount()
|
boolean |
isAvailable()
|
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,
boolean searchInDB)
Perform a full-text search on indexed files |
java.util.LinkedHashMap<java.lang.String,java.lang.Float> |
search(QueryHandler qh,
java.util.List<java.lang.String> idList)
Filters the given list of publication's identifier with a lucene search. |
| Field Detail |
|---|
static final java.lang.String REVISION
| Method Detail |
|---|
boolean search(QueryHandler qh,
java.util.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 PublicationsearchInDB - if false, only JStore publication are set in pubSet
java.util.LinkedHashMap<java.lang.String,java.lang.Float> search(QueryHandler qh,
java.util.List<java.lang.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.java.util.LinkedHashMap<java.lang.String,java.lang.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 | |||||||||