• 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description:-

      Currently, when you do a text-based search in CQL it provides a response in the descending order of the page id. Also, we can sort the results by title, created date, and updated date. However, in the UI, the sort order is different for the same search since it does a relevance-based search. This may cause inconvenience to a user who wants the UI and CQL results to be identical.

      Steps to replicate:-

      1) Create a couple of pages in multiple spaces with keywords like 'mobile' and 'mobile device'.
      2) Search for 'mobile device' in the UI. The UI gives relevant based search.
      3) Execute https://xxx.atlassian.net/wiki/rest/api/search?cql= text~" mobile device" in Curl or Postman tool.
      4) The results and the sort order is different in both cases.

      Suggested resolution:-

      Provide facility in CQL to provide relevance-based search as in UI. 

       

        1. UI_Search.png
          UI_Search.png
          441 kB
        2. CQL_Search.png
          CQL_Search.png
          363 kB

            [AI-895] Ability in CQL/REST API to provide relevance based search

            SET Analytics Bot made changes -
            Support reference count New: 1
            pqz made changes -
            Component/s Original: XP - Content Search [ 61005 ]
            Component/s New: XP - Content Search [ 75299 ]
            Key Original: CONFCLOUD-71443 New: AI-895
            QA Demo Status Original: Not Done [ 14330 ]
            QA Kickoff Status Original: Not Done [ 14234 ]
            Project Original: Confluence Cloud [ 18513 ] New: Atlassian Intelligence [ 23110 ]
            Christina Ristevski made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 605980 ]
            Sajan M made changes -
            Attachment New: CQL_Search.png [ 398621 ]
            Sajan M made changes -
            Attachment New: UI_Search.png [ 398620 ]
            Sajan M made changes -
            Attachment Original: Screen Shot 2021-01-18 at 5.32.32 pm.png [ 398619 ]
            Sajan M made changes -
            Attachment Original: Screen Shot 2021-01-18 at 5.32.54 pm.png [ 398618 ]
            Sajan M created issue -

              Unassigned Unassigned
              smathew3@atlassian.com Sajan M
              Votes:
              5 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: