|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Offers search calls for more than one index.
| 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,
java.util.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,
java.util.Set languages)
Executes the search |
ISearchSession |
executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
IRidList searchFromHereList,
ISortPropertyName sortProperty,
java.util.Set languages)
Executes the search |
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,
java.util.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,
ISearchIndex index)
Returns basic information about the distribution of the properties of an index, 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,
java.util.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,
ISearchIndex index)
Returns the ranges of the properties of an index, only considering the documents fullfilling the search restriction. |
java.util.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. |
java.util.Collection |
getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
java.util.Collection indexes)
Returns the distinct property values of the indexes for the specified property, only considering the documents fullfilling the search restriction. |
java.util.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. |
java.lang.String |
getQueryAsString()
Deprecated. as of NW04. |
ISearchResultList |
getSearchResults(java.util.List rawSearchResults,
IResourceContext context)
|
void |
loadQuery(java.util.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 |
java.util.Collection |
searchSimilarTerms(java.util.Collection terms,
int maxTerms)
searches similar terms to a collection of terms |
void |
setMaxSnippetWords(int numOfWords)
Sets the number of snippet words returned for documents in a search. |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Field Detail |
public static final int DEFAULT_INIT_MAX_RAW_RESULTS
| Method Detail |
public ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context)
throws WcmException
queryEntryList - - list of query entries for the searchcontext - - user context
public ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults)
throws 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.
public ISearchResultList executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults)
throws WcmException
queryEntryList - - list of query entries for the searchcontext - - user contextmaxResults - - maximum number of search results
public ISearchResultList 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 children
public ISearchResultList executeQuery(IQueryEntryList queryEntryList,
IResourceContext context,
int maxResults,
ICollection searchFromHere,
java.util.Set languages)
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 childrenlanguages - - set of strings, representing languages on which the search is restricted
public ISearchSession 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 children
public ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
ICollection searchFromHere)
throws 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
public ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
ICollection searchFromHere,
ISortPropertyName sortProperty)
throws 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
public ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
ICollection searchFromHere,
ISortPropertyName sortProperty,
java.util.Set languages)
throws 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
public ISearchSession executeQueryWithSession(IQueryEntryList queryEntryList,
IResourceContext context,
int initNumberMaxRawResults,
IRidList searchFromHereList,
ISortPropertyName sortProperty,
java.util.Set languages)
throws 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
public ISearchResultList searchSimilarDocuments(IResourceList searchDocuments,
int maxResults)
throws WcmException
searchDocuments - - list of documents for that similar documents have to be foundmaxResults - - maximum number of similar documents
public ISearchSession searchSimilarDocumentsWithSession(IResourceList searchDocuments)
throws WcmException
searchDocuments - - list of documents for that similar documents have to be found
public ISearchSession searchSimilarDocumentsWithSession(IResourceList searchDocuments,
int initNumberMaxRawResults)
throws 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.
public ISearchSession searchSimilarDocumentsWithSession(IResourceList searchDocuments,
int initNumberMaxRawResults,
ISortPropertyName sortProperty)
throws 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
public java.util.Collection searchSimilarTerms(java.util.Collection terms,
int maxTerms)
throws WcmException
terms - Collection of terms (Strings)maxTerms - - maximum number of returned similar terms
public java.lang.String getQueryAsString()
throws WcmException
public void loadQuery(java.util.Properties props)
throws WcmException
public IQueryEntry getNewQueryEntry()
public IQueryEntryList getNewQueryEntryList()
public void addIndex(IIndex index)
throws WcmException
index - - index that is added to the collection
public ISearchResultList getSearchResults(java.util.List rawSearchResults,
IResourceContext context)
throws ResourceException
rawSearchResults - list of IRawSearchResult
public IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
ISearchIndex index)
throws 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
public IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
java.util.Collection indexList)
throws 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. AbstractTrexSearchIndexResourceException - in case of an error
public IPropertyDistributionList getPropertyDistributionOverview(IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
throws 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. AbstractTrexSearchIndexResourceException - in case of an error
public IPropertyRangeList getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
ISearchIndex index)
throws 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 - WcmException - in case of an error
public IPropertyRangeList getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
java.util.Collection indexList)
throws 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 - WcmException - in case of an error
public IPropertyRangeList getPropertyRanges(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
throws 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 - WcmException - in case of an error
public java.util.Collection getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
ISearchIndex index)
throws 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 - WcmException - in case of an error
public java.util.Collection getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context,
java.util.Collection indexes)
throws 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 - WcmException - in case of an error
public java.util.Collection getPropertyValues(IPropertyName propertyName,
IQueryEntryList queryEntryList,
ICollection searchFromHere,
IResourceContext context)
throws 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 - WcmException - in case of an errorpublic void setMaxSnippetWords(int numOfWords)
numOfWords - public int getMaxSnippetWords()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||