Show / Hide Table of Contents

Class SearchContext

Contains search context, such as highlighting, for found resources.

Inheritance
object
SearchContext
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ResourcesearchService.Models
Assembly: OCI.DotNetSDK.Resourcesearch.dll
Syntax
public class SearchContext

Properties

Highlights

Declaration
[JsonProperty(PropertyName = "highlights")]
public Dictionary<string, List<string>> Highlights { get; set; }
Property Value
Type Description
Dictionary<string, List<string>>

Describes what in each field matched the search criteria by showing highlighted values, but only for free text searches or for structured queries that use a MATCHING clause. The list of strings represents fragments of values that matched the query conditions. Highlighted values are wrapped with <h1>..</h1> tags. All values are HTML-encoded (except <h1> tags).

In this article
Back to top