|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.service.docsearch.DocSearchService
public class DocSearchService
DocumentSearchService
| Field Summary | |
|---|---|
static String |
PARAM_FORCING
|
static String |
PATH_INDEX
|
static String |
PATTERN_DATE
|
| Method Summary | |
|---|---|
void |
addIndexerAction(int nIdDocument,
int nIdTask)
Add Indexer Action to perform on a record |
List<IndexerAction> |
getAllIndexerActionByTask(int nIdTask)
return a list of IndexerAction by task key |
static DocSearchService |
getInstance()
The singleton |
List<DocSearchItem> |
getSearchResults(String strQuery,
boolean bTitle,
boolean bSummary,
String date,
DocumentType documentType)
Return advanced search results |
List<DocSearchItem> |
getSearchResults(String strQuery,
int nStartIndex,
fr.paris.lutece.portal.business.user.AdminUser user)
Return search results |
String |
processIndexing(boolean bCreate)
Indexing documents for searching |
static void |
removeAllIndexerAction()
Remove all Indexer Action |
void |
removeIndexerAction(int nIdAction)
Remove a Indexer Action |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PATH_INDEX
public static final String PARAM_FORCING
public static final String PATTERN_DATE
| Method Detail |
|---|
public static DocSearchService getInstance()
public String processIndexing(boolean bCreate)
bCreate - tell if it's total indexing or total (total = true)
public List<DocSearchItem> getSearchResults(String strQuery,
int nStartIndex,
fr.paris.lutece.portal.business.user.AdminUser user)
strQuery - The search querynStartIndex - The start indexuser - The user
public List<DocSearchItem> getSearchResults(String strQuery,
boolean bTitle,
boolean bSummary,
String date,
DocumentType documentType)
strQuery - The search querybTitle - true for query in titlebSummary - true for query in summarydate - for filtering the result by datedocumentType - for filtering the result by type
public List<IndexerAction> getAllIndexerActionByTask(int nIdTask)
nIdTask - the task key
public void removeIndexerAction(int nIdAction)
nIdAction - the key of the action to removepublic static void removeAllIndexerAction()
public void addIndexerAction(int nIdDocument,
int nIdTask)
nIdDocument - the document idnIdTask - the key of the action to do
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||