|
||||||||||
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 java.lang.String |
PARAM_FORCING
|
static java.lang.String |
PATH_INDEX
|
static java.lang.String |
PATTERN_DATE
|
Method Summary | |
---|---|
void |
addIndexerAction(int nIdDocument,
int nIdTask)
Add Indexer Action to perform on a record |
java.util.List<IndexerAction> |
getAllIndexerActionByTask(int nIdTask)
return a list of IndexerAction by task key |
static DocSearchService |
getInstance()
The singleton |
java.util.List<DocSearchItem> |
getSearchResults(java.lang.String strQuery,
boolean bTitle,
boolean bSummary,
java.lang.String date,
DocumentType documentType)
Return advanced search results |
java.util.List<DocSearchItem> |
getSearchResults(java.lang.String strQuery,
int nStartIndex,
fr.paris.lutece.portal.business.user.AdminUser user)
Return search results |
java.lang.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 java.lang.String PATH_INDEX
public static final java.lang.String PARAM_FORCING
public static final java.lang.String PATTERN_DATE
Method Detail |
---|
public static DocSearchService getInstance()
public java.lang.String processIndexing(boolean bCreate)
bCreate
- tell if it's total indexing or total (total = true)
public java.util.List<DocSearchItem> getSearchResults(java.lang.String strQuery, int nStartIndex, fr.paris.lutece.portal.business.user.AdminUser user)
strQuery
- The search querynStartIndex
- The start indexuser
- The user
public java.util.List<DocSearchItem> getSearchResults(java.lang.String strQuery, boolean bTitle, boolean bSummary, java.lang.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 java.util.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 |