I am using Confluence REST API for search.
User is trying to search for a content based on title. Since the search term also exists in body and other factors are also present by default for ranking, the expected content content is appearing at bottom of the search result and the contents which doesn't have the search term in title is appearing at the top.
I am using something like this -
"https://api.atlassian.com/ex/confluence/<user-confluence-id>/rest/api/search?cql=(title+~+\"user_input_search_term\")+or+(text+~+\"user_input_search_term\")"
The idea is all the content which have search term in title should appear first and then the rest of the content can appear in any order. But this isn't working for me.
How can I order search result based on relevant title?
@Bernabe Theodore Costales III
Hi Team
Could you please respond to the query above? It is critical for us, as client is chasing on us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.