Table of Contents

Class Query

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

The Class Query represents query object used for getting results from repository indexes

public class Query : IQuery
Inheritance
Query
Implements
Inherited Members

Constructors

Query()

Initialize new query instance

public Query()

Properties

Description

Gets or sets Query description text

public string Description { get; set; }

Property Value

string

DocId

Property to specify which document to fetch. If this is set, the expression will be ignored.

public int? DocId { get; set; }

Property Value

int?

Expression

Gets or sets query expression

public Expression? Expression { get; set; }

Property Value

Expression

FileName

Gets or sets Query file name

public string? FileName { get; set; }

Property Value

string

ID

Gets or sets the unique ID of the smart search.

public Guid ID { get; set; }

Property Value

Guid

Imports

Gets or sets query imports

public IEnumerable<QueryImport> Imports { get; set; }

Property Value

IEnumerable<QueryImport>

Meta

Get or sets meta information

public IDictionary<string, string> Meta { get; set; }

Property Value

IDictionary<string, string>

Name

Gets or sets Query name

public string Name { get; set; }

Property Value

string

Parameters

Gets or sets query parameters

public IEnumerable<QueryParameter> Parameters { get; set; }

Property Value

IEnumerable<QueryParameter>

References

Gets or sets query references

public IEnumerable<QueryReference> References { get; set; }

Property Value

IEnumerable<QueryReference>

Settings

Gets or sets settings collection

public IDictionary<string, string> Settings { get; set; }

Property Value

IDictionary<string, string>

SortOrder

Gets or sets query sort order

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

Property Value

IEnumerable<SortInfo>

Source

Gets or sets query source

public QuerySource Source { get; set; }

Property Value

QuerySource

SubType

Gets or sets Query sub type

public string? SubType { get; set; }

Property Value

string

Type

Gets or sets Query type

public string? Type { get; set; }

Property Value

string
To top