<PackageReference Include="Relativity.Identity.SDK" Version="2.3.4" />

QueryRequest

public class QueryRequest
Describes conditions, sorts and fields to be returned for a query.
public int? ActiveArtifactID { get; set; }

Gets or sets the Artifact ID of an item when available in the query results. This item is used to override the start position for the result page.

public string Condition { get; set; }

Gets or sets the search criteria. It can be a simple, single-field condition or a complex expression made by combining conditions.

public bool? ConvertNumberFieldValuesToString { get; set; }

Gets or sets a Boolean value indicating whether to convert the numbers returned in the query to text.

public int? ExecutingSavedSearchID { get; set; }

Gets or sets the ID of the currently executing saved search.

public int? ExecutingViewID { get; set; }

Gets or sets the ID of the currently executing view.

public IEnumerable<FieldRef> Fields { get; set; }

Gets or sets a collection of fields like a SELECT statement in an SQL query.

public bool? IncludeIDWindow { get; set; }

Gets or sets Boolean value indicating whether the query results should include the IDs of the objects included in the current results set.

public bool? IncludeNameInQueryResult { get; set; }

Gets or sets Boolean value indicating whether the Name property on the result objects is populated.

public bool? IsAdhocQuery { get; set; }

Gets or sets a Boolean value indicating whether the query engine should handle the search or view condition as a query type or simple condition.

public LongTextBehavior LongTextBehavior { get; set; }

Gets or sets the behavior used when a long text field exceeds the configured character limit.

public int? MaxCharactersForLongTextValues { get; set; }

Gets or sets the maximum number of characters returned in the query results for long text fields.

public ObjectTypeRef ObjectType { get; set; }

Gets or sets the ObjectTypeRef for the type of object the query will run against.

public string QueryHint { get; set; }

Gets or sets the QueryHint of the currently executing search. It is used to optimize the view.

public SortEnum? RankSortOrder { get; set; }

Gets or sets the sorting direction of Rank column in the Relativity UI, as either ascending or descending.

public FieldRef RelationalField { get; set; }

Gets or sets the FieldRef used to include related items in query result.

public string RowCondition { get; set; }

Gets or sets the row condition criteria.

public SampleParameters SampleParameters { get; set; }

Gets or sets the SampleParameters used to take a sample of the query result set.

Gets or sets the search provider search condition.

public IEnumerable<Sort> Sorts { get; set; }

Gets or sets the sort order for view results specified as a collection of Sort objects.

public QueryRequest()