Within the file saved in a BitBucket repository there is a line that shows as follows
"AS V_IVRCompleteCount"
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.
Hey @[deleted]
Bitbucket's search functionality is provided by Elasticsearch, and which analyzer/tokenizer is used in ES will impact your search/results.
https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-analyzers.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-tokenizers.html
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
https://jira.atlassian.com/browse/BSERV-11589
https://jira.atlassian.com/browse/BSERV-8782
CCM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.