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
preguntada hace 3 meses228 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 3 meses
  • 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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas