I'm searching a word which happens to appear in more than 1000 files in all Bitbucket repositories. Up to 994th result, the search works as expected. But when I try to get more results after that, the following error shows up:
This error repeats if I click "Try again". When I click "Close", the following error is displayed at the bottom of the page:
Is there a way to increase the maximum number of results that can be listed in search?
The maximum number of search results can be increased using the API call below:
curl -u bitbucket -X PUT "http://localhost:7992/bitbucket-search/_settings" -d '{ "index" : { "max_result_window" : 2000 } }'
"http://localhost:7992" part may be different in your system. You can check this in Settings > Server Settings > Search > Elasticsearch URL.
Requested password can be found in $BITBUCKET_HOME/search/buckler/buckler.yml file.
Hi Ömer,
We've seen that you've already opened a Support ticket for this same issue and you're getting help from one of my colleagues. To contribute to the spirit of the Community I'd like to ask you to share the resolution with the rest of us once the issue is solved, so it can help other users that might be facing the same issue :)
Have a good day!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.