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
demandé il y a 3 mois228 vues
1 réponse
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
répondu il y a 3 mois
  • 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

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions