|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISearchResult
Represents a document in the search result.
Changes between major releases 7.0 and 7.X
getIndexId()
getPosition()
setIndexId(String)
setPosition(Integer)
| Method Summary | |
|---|---|
void |
addLocalProperty(IProperty property)
Adds a new local property. |
String |
getContentSnippet()
Returns the content snippet. |
String |
getIndexId()
The identifier of the index from where the results stems might be fetched by this method. |
IPropertyMap |
getLocalProperties()
Return the local properties, including the content snippet. |
Integer |
getPosition()
Only used internally when original sorting of the search results from Trex is used. |
float |
getRankValue()
Specifies how good the result document fits to the search query. |
IResource |
getResource()
|
String |
getResultLanguage()
Document language if it was returned with the search result. |
IResource |
getWrappedResource()
|
void |
setContentSnippet(String contentSnippet)
Sets the content snippet. |
void |
setIndexId(String indexId)
The identifier of the index from where the results stems might be set here. |
void |
setLocalProperties(IPropertyMap propertyMap)
Sets the local properties. |
void |
setPosition(Integer i)
Only used internally when original sorting of the search results from Trex is used. |
void |
setResultLanguage(String language)
Sets the document language. |
void |
setUseWrapper(boolean b,
IMetaModel metaModel,
Set fetchedProperties)
Defines if a special wrapped resource is returned for getWrappedResource. |
| Method Detail |
|---|
IResource getResource()
IResource getWrappedResource()
float getRankValue()
String getResultLanguage()
null if not available.
void setResultLanguage(String language)
document - language
void setContentSnippet(String contentSnippet)
throws ResourceException
contentSnippet -
ResourceException - in case of a failure.
String getContentSnippet()
throws ResourceException
null if not available.
ResourceException - in case of a failure.void setLocalProperties(IPropertyMap propertyMap)
propertyMap - which contains new local properties.IPropertyMap getLocalProperties()
void addLocalProperty(IProperty property)
property - the new propertyvoid setIndexId(String indexId)
indexId - String getIndexId()
void setUseWrapper(boolean b,
IMetaModel metaModel,
Set fetchedProperties)
b - metaModel - fetchedProperties - property names which are requested from the search servervoid setPosition(Integer i)
i - Integer getPosition()
| 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 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||