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
asked 2 months ago152 views
1 Answer
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
EXPERT
answered 2 months ago
  • 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

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions