Table of Contents

Class QuerySettings

Namespace
Dynamicweb.Indexing.Querying
Assembly
Dynamicweb.Core.dll

The Class QuerySettings represents settings object used for query

public class QuerySettings
Inheritance
QuerySettings
Inherited Members

Constructors

QuerySettings()

Initializes new query settings instance

public QuerySettings()

Properties

Boost

Gets or sets boost for query

public IDictionary<string, float> Boost { get; set; }

Property Value

IDictionary<string, float>

Facets

Gets or sets query facet groups collection

public IEnumerable<IFacetGroup> Facets { get; set; }

Property Value

IEnumerable<IFacetGroup>

FieldToSpellCheck

Gets or sets name of field to spell check

public string? FieldToSpellCheck { get; set; }

Property Value

string

IncludeDebugInfo

Gets or sets a value indicating whether query execution should collect debugging information

public bool IncludeDebugInfo { get; set; }

Property Value

bool

Parameters

Gets or sets parameters collection

public IDictionary<string, object> Parameters { get; set; }

Property Value

IDictionary<string, object>

Skip

Gets or sets start index for query results

public int Skip { get; set; }

Property Value

int

SortOrder

Gets or sets sort order

public IList<SortInfo> SortOrder { get; set; }

Property Value

IList<SortInfo>

Take

Gets or sets count of result collection

public int Take { get; set; }

Property Value

int

TrackQuery

Gets or sets a value indicating whether the query is logged for statistics

public bool TrackQuery { get; set; }

Property Value

bool

WordToSpellCheck

Gets or sets word to spell check

public string? WordToSpellCheck { get; set; }

Property Value

string
To top