Elasticsearch bundled with Bitbucket 6.1 is now searching for the phrases including dots, commas and other symbols however in the Code Search results the full sentence is not highlighted but only the first word before the dot or comma.
- Create or import the code into the repository containing the statements with dots, for example java.net.Socket
- Let the code search index the changes
- Search for "java.net.Socket"
The search results contain only full match and "java.net.Socket" is highlighted.
Currently there is no known workaround for this behavior. A workaround will be added here when available. Search results are still accurate even though the full phrase is not highlighted.