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
已提問 3 個月前檢視次數 228 次
1 個回答
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
專家
已回答 3 個月前
  • 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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南