SearchResultItem Class |
Namespace: CMS.Search
public sealed class SearchResultItem : IDataContainer, ISimpleDataContainer
The SearchResultItem type exposes the following members.
Name | Description | |
---|---|---|
![]() | SearchResultItem |
Initializes a new instance of the SearchResultItem class with parent search result set to result.
|
Name | Description | |
---|---|---|
![]() | AbsScore |
Gets or sets the absolute score of a result item.
|
![]() | Content |
Gets the content of the search item. Contains data from the field configured as 'Content field' in search index configuration.
|
![]() | Created |
Gets the date associated with search item. Contains data from the field configured as 'Date field' in search index configuration.
If no date information found, contains MinValue.
|
![]() | Data |
Info object to get type specific data.
|
![]() | DocumentExtensions |
Gets or sets the document extensions of a result item.
|
![]() | Id |
Gets or sets the identifier of a result item.
|
![]() | Image |
Gets or sets the image of a result item.
|
![]() | Index |
Gets or sets the index name of a result item.
|
![]() | MaxScore |
Gets or sets the maximum score of a result item.
|
![]() | Position |
Gets or sets the position of a result item.
|
![]() | Result |
Gets SearchResult a search item belongs to.
|
![]() | ResultData |
Gets or sets the raw result data.
|
![]() | Score |
Gets or sets the score of a result item.
|
![]() | SearchDocument |
Gets or sets the source search document of this result item.
|
![]() | Title |
Gets the title of the search item. Contains data from the field configured as 'Title field' in search index configuration.
|
![]() | Type |
Gets the type of an object where the search item was found in (i.e. cms.document, cms.customtable).
|
Name | Description | |
---|---|---|
![]() | GetImageUrl |
Returns the relative image URL associated with search item. The image URL is based on data from the field configured as 'Image field' (Image) in search index configuration.
|
![]() | GetSearchValue |
Returns column value for current search result item. The value is obtained from ResultData,
if such column is present, or SearchDocument.
|
Name | Description | |
---|---|---|
![]() | CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) |
![]() | ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) |
![]() | ToXML(XmlWriter, Boolean) | Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |
![]() | ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) |
![]() | ToXML(XmlWriter, ListString, Boolean) | Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |