Details
-
Type:
Suggestion
-
Status: Gathering Interest (View Workflow)
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: Search
-
Labels:
-
UIS:793
-
Feedback Policy:
Description
The code search shipped with 4.6.0 does not handle punctuation well when indexing code. In order to locate occurrences reliably, it should be improved to allow for search criteria with certain punctuation characters taken into account.
Comments with example searches and example results are very welcome to help us cover the right set of characters.
As a workaround it is possible to search for adjacent strings (> 2 characters each) separated by punctuation using phrase syntax. eg to find left_pad you could search for "left pad" (including quotes).
Original description:
Hi,
we have installed the version 4.6.0 of the bitbucket server and will replace the stash soon.
In the document:
https://confluence.atlassian.com/bitbucketserver/search-for-code-in-bitbucket-server-814204781.html
the options and restrictions of the code search are documented.
In our company we have a lot of projects and repositories which means that there is a need to find code for global refactorings in a very exact way that result in a small amount of matches.
Because of that need, the following restrictions are not good for the results we get:
- All punctuation characters are removed
- Case is not preserve
- Regular expressions in queries are not supported
Is there a plan to improve the query posibilities in the next releases?
One small improvement might help to minimize matches. If we get a filename: key word beside the ext: key word to restrict our search.
Is there already such a key word?
Regards
Harald
Attachments
Issue Links
- is duplicated by
-
BSERV-9155 Search Special Characters
- Closed
- is related to
-
BSERV-10033 Unable to search for repository for word after underscore
- Gathering Interest
-
BSERV-11589 Support punctuation aware search for hyphen ("-")
- Gathering Interest
- causes
-
PS-62163 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- Wiki Page
-
Wiki Page Loading...