Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueryOperator

import type { QueryOperator } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";

The definition of a operator that can be used in a Search/Suggest request.

interface QueryOperator {
displayName?: string;
enumValues?: string[];
greaterThanOperatorName?: string;
isFacetable?: boolean;
isRepeatable?: boolean;
isReturnable?: boolean;
isSortable?: boolean;
isSuggestable?: boolean;
lessThanOperatorName?: string;
objectType?: string;
operatorName?: string;
type?:
| "UNKNOWN"
| "INTEGER"
| "DOUBLE"
| "TIMESTAMP"
| "BOOLEAN"
| "ENUM"
| "DATE"
| "TEXT"
| "HTML";
}

§Properties

§
displayName?: string
[src]

Display name of the operator

§
enumValues?: string[]
[src]

Potential list of values for the opeatror field. This field is only filled when we can safely enumerate all the possible values of this operator.

§
greaterThanOperatorName?: string
[src]

Indicates the operator name that can be used to isolate the property using the greater-than operator.

§
isFacetable?: boolean
[src]

Can this operator be used to get facets.

§
isRepeatable?: boolean
[src]

Indicates if multiple values can be set for this property.

§
isReturnable?: boolean
[src]

Will the property associated with this facet be returned as part of search results.

§
isSortable?: boolean
[src]

Can this operator be used to sort results.

§
isSuggestable?: boolean
[src]

Can get suggestions for this field.

§
lessThanOperatorName?: string
[src]

Indicates the operator name that can be used to isolate the property using the less-than operator.

§
objectType?: string
[src]

The name of the object corresponding to the operator. This field is only filled for schema-specific operators, and is unset for common operators.

§
operatorName?: string
[src]

The name of the operator.

§
type?: "UNKNOWN" | "INTEGER" | "DOUBLE" | "TIMESTAMP" | "BOOLEAN" | "ENUM" | "DATE" | "TEXT" | "HTML"
[src]

The type of the operator.