alfresco-ng2-components/docs/core/search-configuration.service.md

1.1 KiB

Added, Status
Added Status
v2.1.0 Active

Search Configuration service

Provides fine control of parameters to a search.

Class members

Methods

generateQueryBody(searchTerm: string, maxResults: string, skipCount: string): QueryBody
Generates a QueryBody object with custom search parameters.

Details

The generateQueryBody method returns a QueryBody object. This configures the search to use searchTerm along with maxResults and skipCount specified for the paging of the search results.

This service is a standard implementation of the Search configuration interface that works well for many common cases. However, you can also supply your own implementation if you need to. See the Search configuration interface page for full details and example code.

See also