|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.service.directorysearch.DirectorySearchService
public class DirectorySearchService
DirectorySearchService
| Method Summary | |
|---|---|
void |
addIndexerAction(int nIdRecord,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add Indexer Action to perform on a record |
java.util.List<IndexerAction> |
getAllIndexerActionByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return a list of IndexerAction by task key |
static DirectorySearchService |
getInstance()
|
org.apache.lucene.search.Searcher |
getSearcher()
return searcher |
java.util.List<java.lang.Integer> |
getSearchResults(Directory directory,
java.util.HashMap<java.lang.String,java.util.List<RecordField>> mapSearch,
RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return a list of record key return by the search |
java.lang.String |
processIndexing(boolean bCreate)
Process indexing |
void |
removeIndexerAction(int nIdAction,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a Indexer Action |
void |
setSearcher(org.apache.lucene.search.Searcher searcher)
set searcher |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DirectorySearchService getInstance()
public java.util.List<java.lang.Integer> getSearchResults(Directory directory,
java.util.HashMap<java.lang.String,java.util.List<RecordField>> mapSearch,
RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
directory - the directorymapSearch - a map which contains for each entry the list of recorField(value of field search) associatefilter - the filterplugin - the plugin
public java.lang.String processIndexing(boolean bCreate)
bCreate - true for start full indexing
false for begin incremental indexing
public void addIndexerAction(int nIdRecord,
int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecord - the id of the recordnIdTask - the key of the action to doplugin - the plugin
public void removeIndexerAction(int nIdAction,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAction - the key of the action to removeplugin - the plugin
public java.util.List<IndexerAction> getAllIndexerActionByTask(int nIdTask,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTask - the task ketyplugin - the plugin
public org.apache.lucene.search.Searcher getSearcher()
public void setSearcher(org.apache.lucene.search.Searcher searcher)
searcher - searcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||