Within the file saved in a BitBucket repository there is a line that shows as follows
if the criteria for my search is as follows it does not return any results
What does work
It is my expectation that all of this would work in the search and the search functionality is one of the main reason we chose Bitbucket but it doesn't appear to be working as expected.
Bitbucket's search functionality is provided by Elasticsearch, and which analyzer/tokenizer is used in ES will impact your search/results.
Looking at the bitbucket-search index, it seems that the content field (where the indexed code is stored) it seems that the Standard Tokenizer is being used (https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-standard-tokenizer.html)
I've been able to replicate the same type of behavior where there's periods in the text - eg: foo.bar.com - I can find "foo.bar.com" but can't find "bar.com"
It seems these JAC's are relevant, so I suggest voting/watching
Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events