documents_rc
Last edit: Oct 13, 2026
Deprecated alias of documents
documents_rc(
aggregations: [ListingAggregation]
filter: [IndexSearchFilterInput!]
page: Int = 1
per_page: Int!
query: IndexSearchQuery
search_index: String!
sort: [IndexSearchSortInput!]
): IndexSearchCollection!
Arguments
aggregations (ListingAggregation)
Aggregations (e.g. counts of documents per field value) to calculate over the matching documents
filter (IndexSearchFilterInput)
Conditions on document fields. All conditions are combined with AND
page (Int)
Page number to return, starting at 1. page multiplied by per_page cannot
exceed the result window of the search index; within it, a page beyond the
last one returns an empty results list
per_page (Int)
Number of results per page, must be greater than 0
query (IndexSearchQuery)
Full-text search query
search_index (String)
Name of the search index the documents were inserted with
sort (IndexSearchSortInput)
Sort order of the results. When several entries are given, they are applied in the given order
Type
IndexSearchCollection
Paginated list of documents found in a custom search index