Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying more than 1000 search results

Ömer Faruk Doğan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 4, 2018

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:

image.png

This error repeats if I click "Try again". When I click "Close", the following error is displayed at the bottom of the page:

image.png

 

Is there a way to increase the maximum number of results that can be listed in search?

2 answers

1 accepted

0 votes
Answer accepted
Ömer Faruk Doğan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 12, 2018

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.

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 12, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events