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
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
FileName
Gets or sets Query file name
public string? FileName { get; set; }
Property Value
ID
Gets or sets the unique ID of the smart search.
public Guid ID { get; set; }
Property Value
Imports
Gets or sets query imports
public IEnumerable<QueryImport> Imports { get; set; }
Property Value
Meta
Get or sets meta information
public IDictionary<string, string> Meta { get; set; }
Property Value
Name
Gets or sets Query name
public string Name { get; set; }
Property Value
Parameters
Gets or sets query parameters
public IEnumerable<QueryParameter> Parameters { get; set; }
Property Value
References
Gets or sets query references
public IEnumerable<QueryReference> References { get; set; }
Property Value
Settings
Gets or sets settings collection
public IDictionary<string, string> Settings { get; set; }
Property Value
SortOrder
Gets or sets query sort order
public IEnumerable<SortInfo> SortOrder { get; set; }
Property Value
Source
Gets or sets query source
public QuerySource Source { get; set; }
Property Value
SubType
Gets or sets Query sub type
public string? SubType { get; set; }
Property Value
Type
Gets or sets Query type
public string? Type { get; set; }