|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISearchIndexCollection
Offers search calls for more than one index.
Changes between major releases 7.0 and 7.X
getDocumentFeatures(IQueryEntryList, int, int)
getPropertyDistributionOverview(IQueryEntryList, ICollection, IResourceContext, Collection, IPropertyNameList)
getPropertyDistributionOverview(IQueryEntryList, ICollection, IResourceContext, IPropertyNameList)
getPropertyDistributionOverview(IQueryEntryList, IRidList, IResourceContext, Set)
getPropertyDistributionOverview(IQueryEntryList, IRidList, IResourceContext, IPropertyNameList, Set)
getPropertyRanges(IPropertyName, IQueryEntryList, ICollection, IResourceContext, DistributionParameter)
getPropertyRanges(IPropertyName, IQueryEntryList, IRidList, IResourceContext, DistributionParameter, Set)
getPropertyValues(List, IPropertyName, IQueryEntryList, ICollection, IResourceContext)
getPropertyValues(List, IPropertyName, IQueryEntryList, ICollection, IResourceContext, Integer)
getPropertyValues(List, IPropertyName, IQueryEntryList, IRidList, IResourceContext, Set)
#getPropertyValues(IPropertyName, IQueryEntryList, IRidList, IResourceContext, Integer, Set)
getPropertyValues(Map, IPropertyNameList, IQueryEntryList, IRidList, IResourceContext, Set)
getPropertyValues(Map, IPropertyNameList, IQueryEntryList, IRidList, IResourceContext, boolean, Set)
isSearchWithoutCache()
setSearchWithoutCache(boolean)
| Field Summary | |
|---|---|
static int |
DEFAULT_INIT_MAX_RAW_RESULTS
Search with session: default maximum number of raw results for the initial search The number is increased automatically when the result session requests more raw results. |
| Method Summary | |
|---|---|
void |
addIndex(IIndex index)
Adds an index to the index collection |
ISearchResultList |
executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults)
Executes the search |
ISearchResultList |
executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults,
ICollection searchFromHere)
Executes the search |
ISearchResultList |
executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults,
ICollection searchFromHere,
Set languages)
Executes the search |
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context)
Executes the search |
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
ICollection searchFromHere)
Executes the search |
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults)
Executes the search |
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
ICollection searchFromHere)
Executes the search |
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
ICollection searchFromHere,
ISortPropertyName sortProperty)
Executes the search |
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
ICollection searchFromHere,
ISortPropertyName sortProperty,
Set languages)
Executes the search |
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
ISortPropertyName sortProperty,
Set languages)
Executes the search |
Collection |
getDocumentFeatures(IQueryEntryList queryEntryList,
int maxNumberOfDocs,
int maxFeatures)
|
Set |
getFetchedProperties()
Returns the properties which should be fetched for serch results from the search engine (if suported by it). |
int |
getMaxSnippetWords()
Sets the number of snippet words returned for documents in a search. |
IQueryEntry |
getNewQueryEntry()
|
IQueryEntryList |
getNewQueryEntryList()
|
IPropertyDistributionList |
getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
Returns basic information about the distribution of the properties of the indexes, of the SearchIndexCollection only considering the documents fullfilling the search restriction. |
IPropertyDistributionList |
getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Collection indexList)
Returns basic information about the distribution of the properties of the indexes, only considering the documents fullfilling the search restriction. |
IPropertyDistributionList |
getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Collection indexList,
IPropertyNameList propertyNameList)
Returns basic information about the distribution of the properties of the indexes, only considering the documents fullfilling the search restriction. |
IPropertyDistributionList |
getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
IPropertyNameList propertyNameList)
Returns basic information about the distribution of the properties of the indexes, only considering the documents fullfilling the search restriction. |
IPropertyDistributionList |
getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
ISearchIndex index)
Returns basic information about the distribution of the properties of an index, only considering the documents fullfilling the search restriction. |
IPropertyDistributionList |
getPropertyDistributionOverview(IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
IPropertyNameList propNameList,
Set languages)
Returns basic information about the distribution of the properties of the indexes, of the SearchIndexCollection only considering the documents fullfilling the search restriction. |
IPropertyDistributionList |
getPropertyDistributionOverview(IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
Set languages)
Returns basic information about the distribution of the properties of the indexes, of the SearchIndexCollection only considering the documents fullfilling the search restriction. |
IPropertyRangeList |
getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
Returns the ranges of the properties of the indexes of the ISearchIndexCollection, only considering the documents fullfilling the search restriction. |
IPropertyRangeList |
getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Collection indexList)
Returns the ranges of the properties of the indexes, only considering the documents fullfilling the search restriction. |
IPropertyRangeList |
getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
DistributionParameter parameters)
Returns the ranges of the properties of the indexes of the ISearchIndexCollection, only considering the documents fullfilling the search restriction. |
IPropertyRangeList |
getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
ISearchIndex index)
Returns the ranges of the properties of an index, only considering the documents fullfilling the search restriction. |
IPropertyRangeList |
getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
DistributionParameter parameters,
Set languages)
Returns the ranges of the properties of the indexes of the ISearchIndexCollection, only considering the documents fullfilling the search restriction. |
Collection |
getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
Returns the distinct property values of all indexes of the ISearchIndexCollection for the specified property, only considering the documents fullfilling the search restriction. |
Collection |
getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Collection indexes)
Returns the distinct property values of the indexes for the specified property, only considering the documents fullfilling the search restriction. |
Collection |
getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
ISearchIndex index)
Returns the distinct property values of an index, only considering the documents fullfilling the search restriction. |
List |
getPropertyValues(List numberOfDocList,
IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
Returns the distinct property values of all indexes of the ISearchIndexCollection for the specified property, only considering the documents fullfilling the search restriction. |
List |
getPropertyValues(List numOfDocs,
IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Integer maxNumberOfValues)
Returns the distinct property values of all indexes of the ISearchIndexCollection for the specified property, only considering the documents fullfilling the search restriction. |
List |
getPropertyValues(List numOfDocs,
IPropertyName propertyName,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
Integer maxNumberOfValues,
Set languages)
Returns the distinct property values of all indexes of the ISearchIndexCollection for the specified property, only considering the documents fullfilling the search restriction. |
List |
getPropertyValues(List numOfDocs,
IPropertyName propertyName,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
Set languages)
Returns the distinct property values of all indexes of the ISearchIndexCollection for the specified property, only considering the documents fullfilling the search restriction. |
Map |
getPropertyValues(Map numOfDocsListsMap,
IPropertyNameList propertyNames,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
boolean noEmptyValues,
Set languages)
Returns the distinct property values of all indexes of the ISearchIndexCollection for the specified properties, only considering the documents fullfilling the search restriction. |
Map |
getPropertyValues(Map numOfDocsListsMap,
IPropertyNameList propertyNames,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
Set languages)
Returns the distinct property values of all indexes of the ISearchIndexCollection for the specified properties, only considering the documents fullfilling the search restriction. |
String |
getQueryAsString()
Deprecated. as of NW04. |
ISearchResultList |
getSearchResults(List rawSearchResults,
IResourceContext context)
|
boolean |
isSearchWithoutCache()
If supported by the underlying search services, search caches are disabled if set on true. |
void |
loadQuery(Properties props)
Deprecated. as of NW04. |
ISearchResultList |
searchSimilarDocuments(IResourceList searchDocuments,
int maxResults)
searches similar documents |
ISearchSession |
searchSimilarDocumentsWithSession(IResourceList searchDocuments)
searches similar documents |
ISearchSession |
searchSimilarDocumentsWithSession(IResourceList searchDocuments,
int initNumberMaxRawResults)
searches similar documents |
ISearchSession |
searchSimilarDocumentsWithSession(IResourceList searchDocuments,
int initNumberMaxRawResults,
ISortPropertyName sortProperty)
searches similar documents |
Collection |
searchSimilarTerms(Collection terms,
int maxTerms)
searches similar terms to a collection of terms |
void |
setFetchedProperties(Set propNames)
If supported by the search engine, only these properties are fetched from the server. |
void |
setMaxSnippetWords(int numOfWords)
Sets the number of snippet words returned for documents in a search. |
void |
setRequestContentSnippets(boolean b)
Specifies if content snippets should be fetched. |
void |
setRequestDidYouMean(boolean b)
Specifies if do you mean terms should be fetched. |
void |
setSearchWithoutCache(boolean b)
If supported by the underlying search services, search caches are disabled if set on true. |
| Methods inherited from interface java.util.Collection |
|---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Field Detail |
|---|
static final int DEFAULT_INIT_MAX_RAW_RESULTS
| Method Detail |
|---|
ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context)
throws com.sapportals.wcm.WcmException
queryEntryList - - list of query entries for the searchcontext - - user context
com.sapportals.wcm.WcmException
ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults)
throws com.sapportals.wcm.WcmException
queryEntryList - - list of query entries for the searchcontext - - user contextinitNumberResults - initial maximum number of raw results.
The number is increased automatically when the result session requests more raw results.
com.sapportals.wcm.WcmException
ISearchResultList executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults)
throws com.sapportals.wcm.WcmException
queryEntryList - - list of query entries for the searchcontext - - user contextmaxResults - - maximum number of search results
com.sapportals.wcm.WcmException
ISearchResultList executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults,
ICollection searchFromHere)
throws com.sapportals.wcm.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 children
com.sapportals.wcm.WcmException
ISearchResultList executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults,
ICollection searchFromHere,
Set languages)
throws com.sapportals.wcm.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 childrenlanguages - - set of strings, representing languages on which the search is restricted
com.sapportals.wcm.WcmException
ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
ICollection searchFromHere)
throws com.sapportals.wcm.WcmException
queryEntryList - - list of query entries for the searchcontext - - user contextsearchFromHere - - folder from where search results must be direct or indirect children
com.sapportals.wcm.WcmException
ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
ICollection searchFromHere)
throws com.sapportals.wcm.WcmException
queryEntryList - - list of query entries for the searchcontext - - user contextinitNumberMaxRawResults - initial maximum number of raw results.
The number is increased automatically when the result session requests more raw results.searchFromHere - - folder from where search results must be direct or indirect children
com.sapportals.wcm.WcmException
ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
ICollection searchFromHere,
ISortPropertyName sortProperty)
throws com.sapportals.wcm.WcmException
queryEntryList - - list of query entries for the searchcontext - - user contextinitNumberMaxRawResults - initial maximum number of raw results.
The number is increased automatically when the result session requests more raw results.searchFromHere - - folder from where search results must be direct or indirect childrensortProperty - property name for sorting the results
com.sapportals.wcm.WcmException
ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
ICollection searchFromHere,
ISortPropertyName sortProperty,
Set languages)
throws com.sapportals.wcm.WcmException
queryEntryList - - list of query entries for the searchcontext - - user contextinitNumberMaxRawResults - initial maximum number of raw results.
The number is increased automatically when the result session requests more raw results.searchFromHere - - folder from where search results must be direct or indirect childrenlanguages - - restricts the search on the languages contained (as strings)sortProperty - property name for sorting the results
com.sapportals.wcm.WcmException
ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
ISortPropertyName sortProperty,
Set languages)
throws com.sapportals.wcm.WcmException
queryEntryList - - list of query entries for the searchcontext - - user contextinitNumberMaxRawResults - initial maximum number of raw results.
The number is increased automatically when the result session requests more raw results.searchFromHereList - - folder with ICollections from where search results
must be a direct or indirect childrenlanguages - - restricts the search on the languages contained (as strings)sortProperty - property name for sorting the results
com.sapportals.wcm.WcmException
ISearchResultList searchSimilarDocuments(IResourceList searchDocuments,
int maxResults)
throws com.sapportals.wcm.WcmException
searchDocuments - - list of documents for that similar documents have to be foundmaxResults - - maximum number of similar documents
com.sapportals.wcm.WcmException
ISearchSession searchSimilarDocumentsWithSession(IResourceList searchDocuments)
throws com.sapportals.wcm.WcmException
searchDocuments - - list of documents for that similar documents have to be found
com.sapportals.wcm.WcmException
ISearchSession searchSimilarDocumentsWithSession(IResourceList searchDocuments,
int initNumberMaxRawResults)
throws com.sapportals.wcm.WcmException
searchDocuments - - list of documents for that similar documents have to be foundinitNumberMaxRawResults - initial maximum number of raw results.
The number is increased automatically when the result session requests more raw results.
com.sapportals.wcm.WcmException
ISearchSession searchSimilarDocumentsWithSession(IResourceList searchDocuments,
int initNumberMaxRawResults,
ISortPropertyName sortProperty)
throws com.sapportals.wcm.WcmException
searchDocuments - - list of documents for that similar documents have to be foundinitNumberMaxRawResults - initial maximum number of raw results.
The number is increased automatically when the result session requests more raw results.sortProperty - property name for sorting the results
com.sapportals.wcm.WcmException
Collection searchSimilarTerms(Collection terms,
int maxTerms)
throws com.sapportals.wcm.WcmException
terms - Collection of terms (Strings)maxTerms - - maximum number of returned similar terms
com.sapportals.wcm.WcmException
String getQueryAsString()
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmException
void loadQuery(Properties props)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmExceptionIQueryEntry getNewQueryEntry()
IQueryEntryList getNewQueryEntryList()
void addIndex(IIndex index)
throws com.sapportals.wcm.WcmException
index - - index that is added to the collection
com.sapportals.wcm.WcmException
ISearchResultList getSearchResults(List rawSearchResults,
IResourceContext context)
throws ResourceException
rawSearchResults - list of IRawSearchResult
ResourceException
IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
ISearchIndex index)
throws com.sapportals.wcm.WcmException
queryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.indexID -
ResourceException - in case of an error
com.sapportals.wcm.WcmException
IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Collection indexList,
IPropertyNameList propertyNameList)
throws com.sapportals.wcm.WcmException
queryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.indexList - propertyNameList - specifies the properties for which an overview is computed. If null
an overview for all attributes is computed.
ResourceException - in case of an error
com.sapportals.wcm.WcmException
IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
IPropertyNameList propertyNameList)
throws com.sapportals.wcm.WcmException
queryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.propertyNameList - specifies the properties for which an overview is computed. If null
an overview for all attributes is computed.
ResourceException - in case of an error
com.sapportals.wcm.WcmException
IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Collection indexList)
throws com.sapportals.wcm.WcmException
queryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.indexList - list of ISearchIndex of one type, e.g. AbstractTrexSearchIndex
ResourceException - in case of an error
com.sapportals.wcm.WcmException
IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
throws com.sapportals.wcm.WcmException
queryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.
ResourceException - in case of an error
com.sapportals.wcm.WcmException
IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
Set languages)
throws com.sapportals.wcm.WcmException
queryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHereList - restricts the considered documents to those located under
the specified pathscontext - resource context, not used to filter the result applying the
access rights to the documents.languages - list of languages specifying that only documents in such language specific
sub indexes are considered.
com.sapportals.wcm.WcmException - in case of an error
IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
IPropertyNameList propNameList,
Set languages)
throws com.sapportals.wcm.WcmException
queryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHereList - restricts the considered documents to those located under
the specified pathscontext - resource context, not used to filter the result applying the
access rights to the documents.propNameList - only information about the properties in this list is returnedlanguages - list of languages specifying that only documents in such language specific
sub indexes are considered.
com.sapportals.wcm.WcmException - in case of an error
IPropertyRangeList getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
ISearchIndex index)
throws com.sapportals.wcm.WcmException
propertyName - the property for which the ranges are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.index -
com.sapportals.wcm.WcmException - in case of an error
IPropertyRangeList getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Collection indexList)
throws com.sapportals.wcm.WcmException
propertyName - the property for which the ranges are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.indexList -
com.sapportals.wcm.WcmException - in case of an error
IPropertyRangeList getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
throws com.sapportals.wcm.WcmException
propertyName - the property for which the ranges are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.
com.sapportals.wcm.WcmException - in case of an error
IPropertyRangeList getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
DistributionParameter parameters)
throws com.sapportals.wcm.WcmException
propertyName - the property for which the ranges are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.parameters - specifies the strategy according which the ranges are determined.
com.sapportals.wcm.WcmException - in case of an error
IPropertyRangeList getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
DistributionParameter parameters,
Set languages)
throws com.sapportals.wcm.WcmException
propertyName - the property for which the ranges are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHereList - restricts the considered documents to those located under
the specified pathscontext - resource context, not used to filter the result applying the
access rights to the documents.parameters - specifies the strategy according which the ranges are determined.languages - restricts the considered documents to the languages specified here.
com.sapportals.wcm.WcmException - in case of an error
Collection getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
ISearchIndex index)
throws com.sapportals.wcm.WcmException
propertyName - the property for which the values are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.index -
com.sapportals.wcm.WcmException - in case of an error
Collection getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Collection indexes)
throws com.sapportals.wcm.WcmException
propertyName - the property for which the values are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.indexes -
com.sapportals.wcm.WcmException - in case of an error
Collection getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
throws com.sapportals.wcm.WcmException
propertyName - the property for which the values are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.
com.sapportals.wcm.WcmException - in case of an error
List getPropertyValues(List numberOfDocList,
IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
throws com.sapportals.wcm.WcmException
numberOfDocList - this list is filled with the number of documents for every property value.propertyName - the property for which the values are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.
com.sapportals.wcm.WcmException - in case of an error
List getPropertyValues(List numOfDocs,
IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
Integer maxNumberOfValues)
throws com.sapportals.wcm.WcmException
numOfDocs - this list is filled with the number of documents for every property value.propertyName - the property for which the values are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHere - restricts the considered documents to those located under
this collectioncontext - resource context, not used to filter the result applying the
access rights to the documents.maxNumberOfValues - maximal number of result values
com.sapportals.wcm.WcmException - in case of an error
List getPropertyValues(List numOfDocs,
IPropertyName propertyName,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
Set languages)
throws com.sapportals.wcm.WcmException
numOfDocs - this list is filled with the number of documents for every property value.propertyName - the property for which the values are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHereList - restricts the considered documents to those located under
these pathscontext - resource context, not used to filter the result applying the
access rights to the documents.languages - restricting the considered documents to these languages
com.sapportals.wcm.WcmException - in case of an error
List getPropertyValues(List numOfDocs,
IPropertyName propertyName,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
Integer maxNumberOfValues,
Set languages)
throws com.sapportals.wcm.WcmException
numOfDocs - this list is filled with the number of documents for every property value.propertyName - the property for which the values are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHereList - restricts the considered documents to those located under
these pathscontext - resource context, not used to filter the result applying the
access rights to the documents.maxNumberOfValues - maximal number of values returnedlanguages - restricting the considered documents to these languages
com.sapportals.wcm.WcmException - in case of an error
Map getPropertyValues(Map numOfDocsListsMap,
IPropertyNameList propertyNames,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
Set languages)
throws com.sapportals.wcm.WcmException
numOfDocsListsMap - this map is filled for every specified property with a list
filled with the number of documents for every property value. Every list is accessible via the property name.propertyNames - the properties for which the values are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHereList - restricts the considered documents to those located under
these pathscontext - resource context, not used to filter the result applying the
access rights to the documents.languages - restricting the considered documents to these languages
com.sapportals.wcm.WcmException - in case of an error
Map getPropertyValues(Map numOfDocsListsMap,
IPropertyNameList propertyNames,
IQueryEntryList queryEntryList,
com.sapportals.wcm.util.uri.IRidList searchFromHereList,
IResourceContext context,
boolean noEmptyValues,
Set languages)
throws com.sapportals.wcm.WcmException
numOfDocsListsMap - this map is filled for every specified property with a list
filled with the number of documents for every property value. Every list is accessible via the property name.propertyNames - the properties for which the values are extractedqueryEntryList - restricts the considered documents to those fullfilling this
expressionsearchFromHereList - restricts the considered documents to those located under
these pathscontext - resource context, not used to filter the result applying the
access rights to the documents.noEmptyValues - if true no empty values or values with length 0 are returnedlanguages - restricting the considered documents to these languages
com.sapportals.wcm.WcmException - in case of an errorvoid setMaxSnippetWords(int numOfWords)
numOfWords - int getMaxSnippetWords()
void setSearchWithoutCache(boolean b)
b - boolean isSearchWithoutCache()
b -
Collection getDocumentFeatures(IQueryEntryList queryEntryList,
int maxNumberOfDocs,
int maxFeatures)
throws com.sapportals.wcm.WcmException
com.sapportals.wcm.WcmExceptionvoid setFetchedProperties(Set propNames)
propNames - Set of IPropertyNamesSet getFetchedProperties()
void setRequestContentSnippets(boolean b)
b - void setRequestDidYouMean(boolean b)
b - | Access 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
|
|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||