Hello
I have an issue with the advanced search CQL getting page details defining the page title.
Only for some specific words(probably only articles) the search returns weird results
Some of the words I am sending are the following. (“The”, “On”, “By”)
Examples of the urls and the results.
Example 1. Returns every page
Url → https://testing.atlassian.net/wiki/rest/api/content/search/?cql=type=page AND space IN (“QUAL”) AND title ~ “the”
I have created the pages with the following page titles
- “The test page 1”
- “Permission page”
- “Custom page”
Expected Results → Only pages with a title that contains the word “the” like page number 1.
Actual Results → All the previous pages.
Example 2. One page is missing
I have tried using a wildcard search with the asterisk ( * )
Url - > https://testing.atlassian.net/wiki/rest/api/content/search/?cql=type=page AND space IN (“QUAL”) AND title ~ “th*”
I have created the pages with the following page titles
- “The page 2”
- “Thee”
- “Thee page”
Expected Results → Returns details for those pages
Actual results → I am gettings results only for pages 2 and 3.
Thanks.