/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { QueryKeyRange } from './QueryKeyRange'; import type { KeyValue } from './KeyValue'; import type { SearchFacetOption } from './SearchFacetOption'; /** * JSON schema for a search query. * @export * @interface QuerySearchQuery */ export interface QuerySearchQuery { /** * The free text search terms. This will search the name of the Entity and its Wiki contents * @type {Array} * @memberof QuerySearchQuery */ queryTerm?: Array; /** * One or more key-value pairs that define a boolean search. Multiple expressions are joined with a top-level AND. Key is the facet field name, value is the facet value. * @type {Array} * @memberof QuerySearchQuery */ booleanQuery?: Array; /** * One or more key-value-range filters that filter values of a key based on the specified range where min<=value<=max. Multiple expressions are joined with a top-level AND. * @type {Array} * @memberof QuerySearchQuery */ rangeQuery?: Array; /** * Specify which fields should be returned as facets and the format of the results for each field * @type {Array} * @memberof QuerySearchQuery */ facetOptions?: Array; /** * Specifies the document fields to include in the response. By default, only the document ids of the hits are returned. * @type {Array} * @memberof QuerySearchQuery */ returnFields?: Array; /** * The zero-based number of the first hit returned in this page of search results. * @type {number} * @memberof QuerySearchQuery */ start?: number; /** * The maximum rumber of search hits to return. The default is 10 * @type {number} * @memberof QuerySearchQuery */ size?: number; } /** * Check if a given object implements the QuerySearchQuery interface. */ export declare function instanceOfQuerySearchQuery(value: object): value is QuerySearchQuery; export declare function QuerySearchQueryFromJSON(json: any): QuerySearchQuery; export declare function QuerySearchQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuerySearchQuery; export declare function QuerySearchQueryToJSON(json: any): QuerySearchQuery; export declare function QuerySearchQueryToJSONTyped(value?: QuerySearchQuery | null, ignoreDiscriminator?: boolean): any;