src/core/domain/interfaces/elastic/es-query-string.interface.ts
Structure of page metadata
Properties |
|
default_field |
default_field:
|
Type : string
|
Optional |
Default field to perform a search on, when no field is specified for the query |
fields |
fields:
|
Type : string[]
|
Optional |
Specific fields, to perform a search on Can't be specified with 'default_field' |
query |
query:
|
Type : string
|
Query string, that provides the data, to perform a search on |
export interface EqQueryString {
/**
* Query string, that provides the data, to perform a search on
*/
query: string;
/**
* Default field to perform a search on, when
* no field is specified for the query
*/
default_field?: string;
/**
* Specific fields, to perform a search on
* Can't be specified with 'default_field'
*/
fields?: string[];
}