Table of Contents

Class Query

Namespace
Dynamicweb.Indexing.Querying
Assembly
Dynamicweb.Indexing.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

AppendCompletionExpressions

Gets or sets query value indication whether to append in run time expessions based on selected completeness rules
public bool AppendCompletionExpressions { get; set; }

Property Value

bool

CompletionLanguages

Gets or sets query completion languages
public IEnumerable<Language> CompletionLanguages { get; set; }

Property Value

IEnumerable<Language>

CompletionRules

Gets or sets query completion rules
public IEnumerable<int> CompletionRules { get; set; }

Property Value

IEnumerable<int>

Description

Gets or sets Query description text
public string Description { get; set; }

Property Value

string

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>

ListViewFields

Gets or sets query view fields used for pim listview
public IEnumerable<ViewField> ListViewFields { get; set; }

Property Value

IEnumerable<ViewField>

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

ViewFields

Gets or sets query view fields
public IEnumerable<ViewField> ViewFields { get; set; }

Property Value

IEnumerable<ViewField>

ViewLanguages

Gets or sets query view languages
public IEnumerable<Language> ViewLanguages { get; set; }

Property Value

IEnumerable<Language>
To top