Skip to content

@sourceloop/search-service / Exports / SearchQuery

Class: SearchQuery

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new SearchQuery(data?)

Parameters

Name Type
data? Partial<SearchQuery>

Inherited from

UserModifiableEntity<SearchQuery>.constructor

Defined in

packages/core/dist/models/base-entity.model.d.ts:6

Properties

createdBy

Optional createdBy: string

Inherited from

UserModifiableEntity.createdBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:4


createdOn

Optional createdOn: Date

Inherited from

UserModifiableEntity.createdOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:4


id

Optional id: string

Defined in

services/search-service/src/models/search-query.model.ts:25


limit

Optional limit: number

Defined in

services/search-service/src/models/search-query.model.ts:36


limitByType

Optional limitByType: boolean

Defined in

services/search-service/src/models/search-query.model.ts:47


match

match: string

Defined in

services/search-service/src/models/search-query.model.ts:31


modifiedBy

Optional modifiedBy: string

Inherited from

UserModifiableEntity.modifiedBy

Defined in

packages/core/dist/models/user-modifiable-entity.model.d.ts:5


modifiedOn

Optional modifiedOn: Date

Inherited from

UserModifiableEntity.modifiedOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:5


offset

Optional offset: number

Defined in

services/search-service/src/models/search-query.model.ts:52


order

Optional order: string

Defined in

services/search-service/src/models/search-query.model.ts:41


recentSearchId

recentSearchId: string

Defined in

services/search-service/src/models/search-query.model.ts:66


sources

Optional sources: string[]

Defined in

services/search-service/src/models/search-query.model.ts:58


where

Optional where: SearchWhereFilterMap

Defined in

services/search-service/src/models/search-query.model.ts:63