Show / Hide Table of Contents

Class SearchRequest

The search API request.

Inheritance
System.Object
SearchRequest
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class SearchRequest : IDirectResponseSchema

Properties

DataSourceRestrictions

The sources to use for querying. If not specified, all data sources from the current search application are used.

Declaration
[JsonProperty("dataSourceRestrictions")]
public virtual IList<DataSourceRestriction> DataSourceRestrictions { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<DataSourceRestriction>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

FacetOptions

Declaration
[JsonProperty("facetOptions")]
public virtual IList<FacetOptions> FacetOptions { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<FacetOptions>

PageSize

Maximum number of search results to return in one page. Valid values are between 1 and 100, inclusive. Default value is 10. Minimum value is 50 when results beyond 2000 are requested.

Declaration
[JsonProperty("pageSize")]
public virtual int? PageSize { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Query

The raw query string. See supported search operators in the Cloud search Cheat Sheet

Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }
Property Value
Type Description
System.String

QueryInterpretationOptions

Options to interpret the user query.

Declaration
[JsonProperty("queryInterpretationOptions")]
public virtual QueryInterpretationOptions QueryInterpretationOptions { get; set; }
Property Value
Type Description
QueryInterpretationOptions

RequestOptions

Request options, such as the search application and user timezone.

Declaration
[JsonProperty("requestOptions")]
public virtual RequestOptions RequestOptions { get; set; }
Property Value
Type Description
RequestOptions

SortOptions

The options for sorting the search results

Declaration
[JsonProperty("sortOptions")]
public virtual SortOptions SortOptions { get; set; }
Property Value
Type Description
SortOptions

Start

Starting index of the results.

Declaration
[JsonProperty("start")]
public virtual int? Start { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Implements

IDirectResponseSchema
Back to top