The SearchResult type exposes the following members.

Constructors

  NameDescription
Public methodSearchResult
Empty Constructor

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Inherited from SearchDocument.)

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

Properties

  NameDescription
Public propertyAuthorName
Optional: Display Name of the Author
Public propertyAuthorUserId
User Id of the Author
(Inherited from SearchDocumentToDelete.)
Public propertyBody
Content's Body
(Inherited from SearchDocument.)
Public propertyCultureCode
Culture Code associated with the content.
(Inherited from SearchDocumentToDelete.)
Public propertyDescription
Content's Description
(Inherited from SearchDocument.)
Public propertyDisplayModifiedTime
Time when Content was last modified (in friendly format)
Public propertyDisplayScore
Lucene's original Score in String format, e.g. 1.45678 or 0.87642. The score of this document for the query.
Public propertyIsActive
Flag to indicate if Content is Active or Not. Content will be deleted from Index when IsActive = false. Default is True.
(Inherited from SearchDocument.)
Public propertyKeywords
Additional keywords can be specified for Indexing
(Inherited from SearchDocumentToDelete.)
Public propertyModifiedTimeUtc
Time when Content was last modified (in Utc)
(Inherited from SearchDocument.)
Public propertyModuleDefId
Module Definition Id of the Content.
(Inherited from SearchDocumentToDelete.)
Public propertyModuleId
Module Id of the Content
(Inherited from SearchDocumentToDelete.)
Public propertyNumericKeys
Additional numeric fields can be specified for Indexing
(Inherited from SearchDocumentToDelete.)
Public propertyPermissions
A string representation of roles and users who have view (or denied view) permissions
(Inherited from SearchDocument.)
Public propertyPortalId
Portal Id
(Inherited from SearchDocumentToDelete.)
Public propertyQueryString
QueryString that may be associated with a Search Document.
(Inherited from SearchDocumentToDelete.)
Public propertyRoleId
RoleId (GroupId) for additional filtering [Optional]
(Inherited from SearchDocumentToDelete.)
Public propertyScore
Lucene's original Score. The score of this document for the query.
Public propertySearchContext
Context information such as the type of module that initiated the search can be stored here.

Remarks

This is key-value pair, e.g. "SearchSource","SiteSearch"
Public propertySearchTypeId
Search Type Id, e.g. module, file or url
(Inherited from SearchDocumentToDelete.)
Public propertySnippet
Highlighted snippet from document
Public propertyTabId
Tab Id of the Content [Optional]
(Inherited from SearchDocumentToDelete.)
Public propertyTags
Tags can be specified as additional information
(Inherited from SearchDocument.)
Public propertyTitle
Content's Title
(Inherited from SearchDocument.)
Public propertyUniqueKey
A key to uniquely identify a document in the Index
(Inherited from SearchDocumentToDelete.)
Public propertyUrl
Url for the indexed item.
(Inherited from SearchDocument.)

See Also