Table of Contents

Interface ISearchItem

Namespace
ToSic.Sxc.Search
Assembly
ToSic.Sxc.dll

Defines an item in the search system - which is prepared by Sxc, and can be customized as needed

[PublicApi]
public interface ISearchItem

Properties

Body

Contents of this item - will be indexed

string Body { get; set; }

Property Value

string

CultureCode

Culture code, for language sensitive searches

string CultureCode { get; set; }

Property Value

string

Description

Description in search results

string Description { get; set; }

Property Value

string

Entity

The underlying data in the search

IEntity Entity { get; set; }

Property Value

IEntity

IsActive

Determines if this item should appear in search or be ignored

bool IsActive { get; set; }

Property Value

bool

ModifiedTimeUtc

Timestamp in GMT / UTC

DateTime ModifiedTimeUtc { get; set; }

Property Value

DateTime

QueryString

Query String params to access this item

string QueryString { get; set; }

Property Value

string

Title

Title in search results

string Title { get; set; }

Property Value

string

UniqueKey

string UniqueKey { get; set; }

Property Value

string

Url

Url to go to, when looking at the details of this search result

string Url { get; set; }

Property Value

string