Document.snippets
Enterprise
description
Allows getting snippets for the search query. API requests for snippets in Research documents are not supported.
snippets(
  keywordFilter: KeywordHitsFilter
  limit: Int = 5
  offset: Int = 0
): KeywordResult
Arguments
snippets.keywordFilter ● KeywordHitsFilter input
By default coming from search. The 'scope' field is ignored at the moment.
snippets.limit ● Int scalar
Limits the number of snippets to return. The maximum limit is 20.
snippets.offset ● Int scalar
Offset the results for pagination purposes
Type
KeywordResult object
Loading...