Perform a search against a document index.
The query to search for.
The ID of the index to search against. Must provide either this or index_name.
The name of the index to search against. Must provide either this or index_id.
Configuration options for the search.
The results of the search. Each result represents a chunk that matches the search query.