Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-14554

Change search so that searching for cat_dog returns only pages w/cat_dog, instead of pages with cat &/or dog

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      We have a number of Confluence pages which include data table names whose component words are separated by underscores, e.g., cat_dog. However, we cannot search for pages that contain cat_dog without getting all pages that contain cat &/or dog.
      In an e-mail response to my http://confluence.atlassian.com/display/DOC/Confluence+Search+Syntax?&#comments question, Komathi Krishnan [Atlassian] indicated this is related to the Lucene indexing service (and consequently is likely present in all versions of Confluence using it). If a change could be made to allow searching for only pages containing underscore_separated strings, that would be appreciated.

            [CONFSERVER-14554] Change search so that searching for cat_dog returns only pages w/cat_dog, instead of pages with cat &/or dog

            I really can't believe this issue has not been addressed before now! It's a critical (and obvious) feature for software industry and would make our day to day jobs much easier. Are underscores not used internally within Atlassian?

            Ryan McCollum added a comment - I really can't believe this issue has not been addressed before now! It's a critical (and obvious) feature for software industry and would make our day to day jobs much easier. Are underscores not used internally within Atlassian?

            Matt, please pursue this!

            This ticket is 2.5 years old ... and had accumulated 27 votes.

            CONF-3036 is 6 years old (!!) but has fewer votes, which may lower it in your priorities.

            I notice that CONF-3036 is still unassigned, so closing this ticket as a Duplicate of one that is not being worked on, is not very helpful.

            I cannot tell you how badly this one pesky little feature has destroyed the faith in the Confluence search at a company in which underscores in program names are extremely common. These are precisely the things that people are searching for!

            Fred Bunting added a comment - Matt, please pursue this! This ticket is 2.5 years old ... and had accumulated 27 votes. CONF-3036 is 6 years old (!!) but has fewer votes, which may lower it in your priorities. I notice that CONF-3036 is still unassigned, so closing this ticket as a Duplicate of one that is not being worked on, is not very helpful. I cannot tell you how badly this one pesky little feature has destroyed the faith in the Confluence search at a company in which underscores in program names are extremely common. These are precisely the things that people are searching for!

            Matt Ryall added a comment -

            The older issue CONF-3036 already includes this problem, as well as a few others with special characters in search, so I'm going to close this as a duplicate of that one. Sorry for not noticing this sooner.

            Please watch or vote for CONF-3036 instead.

            Matt Ryall added a comment - The older issue CONF-3036 already includes this problem, as well as a few others with special characters in search, so I'm going to close this as a duplicate of that one. Sorry for not noticing this sooner. Please watch or vote for CONF-3036 instead.

            Let me add my vote, and my voice to the chorus.

            This is absolutely essential for anybody working in any software-related industry.

            Underscores are used all the time in tokens that need to be searchable!

            Fred Bunting added a comment - Let me add my vote, and my voice to the chorus. This is absolutely essential for anybody working in any software-related industry. Underscores are used all the time in tokens that need to be searchable!

            We face problems while searching the full name including_the_underscore. This creates inconvenience to our customers. Kindly help us in improving the customer experience by improving the search functionality to include underscores in the search item.

            Pratibha Singhal added a comment - We face problems while searching the full name including_the_underscore. This creates inconvenience to our customers. Kindly help us in improving the customer experience by improving the search functionality to include underscores in the search item.

            I agree with Gurpreet. Underscore (_) is widely used inside the docs. At any case, it can't be consider as a low priority issue.

            sudhakar verma added a comment - I agree with Gurpreet. Underscore (_) is widely used inside the docs. At any case, it can't be consider as a low priority issue.

            I agree with the comments and views expressed by various users. API/SCPI function names typically contain underscore and user search pattern is to search the full name including_the_underscore.

            In addition, the file name for Linux/Unix platform usually contains underscore and users search for them using the full file name (which contains underscore).

            As Malik said, most technical documents will have an underscore in the filename/serarch string.

            I think the severity of this issue is major and it must be fixed ASAP.

            Gurpreet Singh added a comment - I agree with the comments and views expressed by various users. API/SCPI function names typically contain underscore and user search pattern is to search the full name including_the_underscore. In addition, the file name for Linux/Unix platform usually contains underscore and users search for them using the full file name (which contains underscore). As Malik said, most technical documents will have an underscore in the filename/serarch string. I think the severity of this issue is major and it must be fixed ASAP.

            John Olah added a comment -

            I agree with Greg. I think it is a serious underestimate to rate this as a "minor" priority.

            John Olah added a comment - I agree with Greg. I think it is a serious underestimate to rate this as a "minor" priority.

            I think it is wrong to have this as priority "minor".

            We have thousands of technical support documents that use underscore in the word. This is a serious barrier for our customers.

            Greg Miller added a comment - I think it is wrong to have this as priority "minor". We have thousands of technical support documents that use underscore in the word. This is a serious barrier for our customers.

            This is a huge flaw. Any technical document is going to use words with _'s in them. This really is due to a much more fundamental problem in the search engine. i have the same problem with lots of other punctuation as well. The search engine does not respect phrases in quotes. "cat_dog" should never be interpreted as "cat dog", but not only that "cat::dog" and "cat.dog" needs to look for exact matches, instead of the pretty useless stop-word ordered pattern thing it's trying to do now.

            malik coates added a comment - This is a huge flaw. Any technical document is going to use words with _'s in them. This really is due to a much more fundamental problem in the search engine. i have the same problem with lots of other punctuation as well. The search engine does not respect phrases in quotes. "cat_dog" should never be interpreted as "cat dog", but not only that "cat::dog" and "cat.dog" needs to look for exact matches, instead of the pretty useless stop-word ordered pattern thing it's trying to do now.

              Unassigned Unassigned
              ac40e471d56c Ken Ho
              Votes:
              27 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: