Kendra search limitation

0

I'm using kendra for document search and datasource is s3-bucket. and I can only get maximum 100 result items but total counts are over thousands. Is there a way to get all search results?

guang
posta 3 mesi fa229 visualizzazioni
1 Risposta
0

By default, Amazon Kendra returns the top 100 results per query. To retrieve more results, you have a few options:

You can paginate through results by using the PageNumber parameter and requesting additional pages. The next 100 results would be on page 2, and so on.

You may be able to increase the maximum number of results returned per query from the default 100. Contact AWS Support to request a limit increase.

For queries returning thousands of results, consider filtering or refining your query to return a more focused set of results. Very broad queries attempting to retrieve all matches can impact query latency.

Review your data sources and indexing configuration to ensure all relevant documents are being properly indexed so they can be returned in search results.

profile picture
ESPERTO
con risposta 3 mesi fa
  • I'm using pagination and if I set page size to 10, I can only get results from page 1 to page 10, If I set pageNumber to 11, no result is returned In the same way, I set page size to 50, then I only get results from page 1 and page 2

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande