• 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. CQL_Search.png
          CQL_Search.png
          363 kB
        2. UI_Search.png
          UI_Search.png
          441 kB

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

                Created:
                Updated: