Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,634
Community Members
 
Community Events
185
Community Groups

Search not using the main branch

Hi there,

It started a few months ago but we are noticing that when searching for particular words, the search results are using old commits and not the main/master branch.

When we navigate to the object (a stored procedure, for example), the searched word is not there because the displayed object is the most up-to-date (whereas the search results are from previous commits).

Is there a way to "force" a re-index of a given repo?

1 answer

0 votes
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 14, 2022

Hi, @Michael Prado, thank you for reaching out to Atlassian Community.

Usually, a push/merge to the main branch should trigger reindexing, but as you said this has been happening for some time, there might be a problem with this repository. 

Could you please share the name of this repo masked with *** in the middle, so we can check this on our side?

Looking forward to hearing from you. 

Kind regards,
Caroline

Hi @Caroline R

 

Here they are:

https://bitbucket.org/******/martha-database/branches/
https://bitbucket.org/******/marthaui/branches/
https://bitbucket.org/******/martha2/src/master/
https://bitbucket.org/******/wre.martha/branches/

 

The top one is the first we noticed. If you search for "TTTechID" ( https://bitbucket.org/search?account=<our_account_id>&q=TTTechID ) you will see many results but when you open some of those files, we don't see any reference inside them.

Another example is when you search for "CRM_OrdersJobSubCategory".

The very first result, if you click, it takes us to this:

Did you find what's wrong, @Caroline R ? :-)

Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 19, 2022

Hi @Michael Prado, sorry for taking so long, I had to ask our dev team to run a reindex on your repositories. They confirmed they ran this, so I would like to ask you to test the search and confirm if it works now. 

Looking forward to hearing from you. 

Kind regards,
Caroline

Did not work, @Caroline R 

If they run the tests I described, they will see that either it's an indexing issue or a bug in the search tool.

Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 20, 2022

Hi @Michael Prado, thanks for your update. In this case, we will need to access these repos to further investigate what is causing this issue, so I have created an internal ticket for you using the email of your community account. 

You should have received an email with a link to the support ticket. Just in case you haven't received it, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else can view its contents even if they have the URL.

Please feel free to let me know if you have any questions.

Kind regards,
Caroline 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events