ApiSearchResult
@auvious/common / Exports / ApiSearchResult
Class: ApiSearchResult
This structure is based on the solr data received from the http service.
Hierarchy
↳
ApiSearchResult
Implements
Table of contents
Constructors
Properties
Constructors
constructor
• new ApiSearchResult(args
)
Parameters
Name | Type |
---|---|
args | any |
Overrides
Properties
content
• content: IApiSearchResultContent
[]
An array of solr documents as setup in the solr service's schema.
Implementation of
numberOfElements
• numberOfElements: number
alias for the content.length property.
Implementation of
IApiSearchResult.numberOfElements
page
• page: IApiSearchResultPage
holds page related data.
Implementation of
sort
• sort: string
Describes the sorting policy of the data retrieved.
Implementation of
totalElements
• totalElements: number
the total elements related to the searchable that was queried. only a portion of those(numberOfElements) exist in this content.
Implementation of
IApiSearchResult.totalElements
EMPTY
▪ Static
Readonly
EMPTY: ApiSearchResult