Skip to main content

IApiSearchResult

@auvious/common / Exports / IApiSearchResult

Interface: IApiSearchResult

This structure is based on the solr data received from the http service.

Implemented by

Table of contents

Properties

Properties

content

content: IApiSearchResultContent[]

An array of solr documents as setup in the solr service's schema.


numberOfElements

numberOfElements: number

alias for the content.length property.


page

page: IApiSearchResultPage

holds page related data.


sort

sort: string

Describes the sorting policy of the data retrieved.


totalElements

totalElements: number

the total elements related to the searchable that was queried. only a portion of those(numberOfElements) exist in this content.