Skip to content

Elastic search to return more than 10 results #1644

Answered by brandenchan
sekh77 asked this question in Questions
Discussion options

You must be logged in to vote

Hi @sekh77 , I believe I answered this already in our Slack channel but I'll copy my response here in case someone else is having the same issue!

The argument that you are looking for is called top_k. You can supply it when you are initializing the Retriever, or you can provide it when calling pipeline.run() . Here's the documentation on pipeline arguments to help you implement the second option.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sjrl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants