Modifier and Type | Field and Description |
---|---|
static String |
PROP_NAME_EXPERT
Name of the resource property that identifies the responsible for the documents content
|
static String |
PROP_NAME_FOLDER |
static String |
PROP_NAME_FOLDER_ELEMENTS |
static String |
PROP_NAME_PATH
Name of the resource path property when restricting queries by a path.
|
Modifier and Type | Method and Description |
---|---|
Map |
doGeneric(String function,
Map parameters)
this method enables an index service to perform classification actions that are not reflected by the interface.
|
ISearchResultList |
executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults)
Executes the search
|
ISearchResultList |
executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults,
ICollection searchFromHere)
Executes the search
|
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context)
Executes the search
|
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
ICollection searchFromHere)
Executes the search
|
Collection |
getDocumentAbstracts(IResourceList resourceDocuments)
gets the abstract of documents
|
Collection |
getDocumentFeatures(IResourceList resourceDocuments,
int maxFeatures)
gets the features of documents
|
IQueryEntry |
getNewQueryEntry() |
IQueryEntryList |
getNewQueryEntryList() |
ISearchIndexCollection |
getNewSearchIndexCollection() |
String |
getQueryAsString()
Deprecated.
as of NW04.
|
void |
loadQuery(Properties props)
Deprecated.
as of NW04.
|
ISearchResultList |
searchSimilarDocuments(IResourceList searchDocuments,
int maxResults)
searches similar documents
|
ISearchSession |
searchSimilarDocumentsWithSession(IResourceList searchDocuments)
searches similar documents
|
Collection |
searchSimilarTerms(Collection terms,
int maxTerms)
searches similar terms to a collection of terms
|
addFolderUri, changeIndexedDocumentProperties, changeIndexedDocumentProperties, changeIndexedDocumentProperties, checkProperties, clear, createIndexOnServer, deindex, deindexDocument, deindexDocument, deindexDocument, deindexDocuments, deindexDocuments, deindexDocuments, delete, delete, deleteOnServer, deltaReindex, generate, generate, getCrawlerProfileId, getFolderUris, getIndexedProperties, getIndexFolderForDocument, getIndexFolders, getIndexGroup, getIndexId, getIndexingState, getIndexName, getLanguagesOfIndexedDocuments, getProperties, getResourceInfo, getRID, getSchedulerTimeTable, getServiceId, getServiceTypes, getServiceTypes, getSimilarClasses, getSupportedOptions, getWhatToIndexString, indexDocument, indexDocument, indexDocuments, indexDocuments, indexInternalLinks, init, isActive, reduceNumberOfCrawler, reindex, reindex, removeAllFolderUris, removeFolderUri, setActive, setActiveDuringStartup, setCrawlerProfileId, setInactiveIndexHasChanged, setIndexGroup, setIndexingState, setIndexName, setProperties, setSchedulerTimeTable, setStateAndNumberOfCrawler, setWhatToIndex, typeShouldBeIndexed
static final String PROP_NAME_EXPERT
static final String PROP_NAME_PATH
static final String PROP_NAME_FOLDER
static final String PROP_NAME_FOLDER_ELEMENTS
ISearchResultList executeQuery(IQueryEntryList queryEntryList, IResourceContext context, int maxResults) throws WcmException
queryEntryList
- - list of query entries for the searchcontext
- - user contextmaxResults
- - maximum number of search resultsWcmException
- WcmExceptionISearchResultList executeQuery(IQueryEntryList queryEntryList, IResourceContext context, int maxResults, ICollection searchFromHere) throws WcmException
queryEntryList
- - list of query entries for the searchcontext
- - user contextmaxResults
- - maximum number of search resultssearchFromHere
- - folder from where search results must be direct or indirect childrenWcmException
- WcmExceptionISearchSession executeQueryWithSession(IQueryEntryList queryEntryList, IResourceContext context) throws WcmException
queryEntryList
- - list of query entries for the searchcontext
- - user contextWcmException
- WcmExceptionISearchSession executeQueryWithSession(IQueryEntryList queryEntryList, IResourceContext context, ICollection searchFromHere) throws WcmException
queryEntryList
- - list of query entries for the searchcontext
- - user contextsearchFromHere
- - folder from where search results must be direct or indirect childrenWcmException
- WcmExceptionISearchResultList searchSimilarDocuments(IResourceList searchDocuments, int maxResults) throws WcmException
searchDocuments
- - list of documents for that similar documents have to be foundmaxResults
- - maximum number of similar documentsWcmException
- WcmExceptionISearchSession searchSimilarDocumentsWithSession(IResourceList searchDocuments) throws WcmException
searchDocuments
- - list of documents for that similar documents have to be foundWcmException
- WcmExceptionCollection searchSimilarTerms(Collection terms, int maxTerms) throws WcmException
terms
- Collection of terms (Strings)maxTerms
- - maximum number of returned similar termsWcmException
- WcmExceptionCollection getDocumentFeatures(IResourceList resourceDocuments, int maxFeatures) throws WcmException
resourceDocuments
- resource list of documents for that features have to be returnedmaxFeatures
- - maximum number of returned document featuresWcmException
- WcmExceptionCollection getDocumentAbstracts(IResourceList resourceDocuments) throws WcmException
resourceDocuments
- resource list of documents for that abstracts have to be returnedWcmException
- WcmExceptionString getQueryAsString() throws WcmException
WcmException
- WcmExceptionvoid loadQuery(Properties props) throws WcmException
props
- propsWcmException
- WcmException
loads a complete Query from the given properties object.IQueryEntry getNewQueryEntry()
IQueryEntryList getNewQueryEntryList()
ISearchIndexCollection getNewSearchIndexCollection() throws ResourceException
ResourceException
- ResourceExceptionMap doGeneric(String function, Map parameters) throws WcmException
function
- - name of the function that has to be performedparameters
- (name, value pairs stored as objects)WcmException
- WcmExceptionAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice