|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Access to a search session from the input side.
| Method Summary | |
void |
addPropertyInfo(java.lang.String attrName,
IPropertyInfo propertyInfo)
|
IRawSearchResult |
createRawSearchResult(java.lang.String docKey,
float rankValue)
|
IRawSearchResult |
createRawSearchResult(java.lang.String docKey,
float rankValue,
IProperty sortProperty,
IPropertyMap resultResourceProperties)
|
IPropertyInfo |
getPropertyInfo(java.lang.String attrName)
|
java.util.List |
getRawSearchResults()
Gets all in the session existing results |
java.util.List |
getRawSearchResults(int newMaxResults)
If the session has less than new max results a search with newMaxResults is performed and these raw results are returned. |
ISearchResultList |
getSearchResults(java.util.List rawSearchResults)
Converts raw search results in real search results |
ISortPropertyName |
getSortProperty()
|
void |
setRawSearchResults(java.util.List rawSearchResults)
List of raw search results is set by the index impl |
void |
setSearchLanguages(java.util.Set languages)
Sets the languages, on which the search is restricted. |
void |
setTotalNumberResultKeys(int totalNumberDocKeys)
Sets the total number of document keys that can be returned. |
| Method Detail |
public void setRawSearchResults(java.util.List rawSearchResults)
searchResultList - list of IRawSearchResult
public java.util.List getRawSearchResults(int newMaxResults)
throws WcmException
newMaxResults - new maximum number of returned resultspublic java.util.List getRawSearchResults()
public ISearchResultList getSearchResults(java.util.List rawSearchResults)
throws ResourceException
rawSearchResults - list of IRawSearchResult
public IRawSearchResult createRawSearchResult(java.lang.String docKey,
float rankValue)
docKey - document key of the resultrankValue - rank value of the search result
public IRawSearchResult createRawSearchResult(java.lang.String docKey,
float rankValue,
IProperty sortProperty,
IPropertyMap resultResourceProperties)
docKey - document key of the resultrankValue - rank value of the search resultsortProperty - property that has been used for sortingresultResourceProperties - properties of the result that have been retrieved by the search enginepublic ISortPropertyName getSortProperty()
public void setTotalNumberResultKeys(int totalNumberDocKeys)
totalNumberDocKeys - total number of document keyspublic void setSearchLanguages(java.util.Set languages)
languages - set of strings describing languagespublic IPropertyInfo getPropertyInfo(java.lang.String attrName)
trexAttrName -
public void addPropertyInfo(java.lang.String attrName,
IPropertyInfo propertyInfo)
propertyInfo -
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||