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

Search missing hits - Do large files get fully indexed for search?

Ahmed_Hussain May 13, 2020

I ran a search across a legacy codebase for a particular string - I was looking to see where a particular value was written and read. It found a file with hits in, but 'show all matches' clearly omits some within the file - when I go to the full source of the file and search within the page I get the extra hits.

I assumed this was buggy behaviour. It's a legacy file over 4000 lines long and taking up 220k so I wondered if there was some limit that truncated the file before indexing it?

 

1 answer

0 votes
Ahmed_Hussain May 20, 2020

The bit about only returning 3 chunks per file in the response and comments here might be the explanation:

https://community.atlassian.com/t5/Bitbucket-questions/Code-Search-results-missing-hits/qaq-p/1293720

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events