Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict advance search to showing attachments in search list?

Tanajee July 27, 2020

Hi I have configured Confluence server on our machine and when we search something in live search and press enter it goes to advance search and give attachments in that search along with pages but I want to show only pages over there how I can restrict to show only pages in advance search?

1 answer

0 votes
Reshma Begum {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 27, 2020

Hi @Tanajee ,

 

You can use the below CQL to restrict the search on the content of type pages only.

type:page and text ~ "select"

 

Hope it helps!

 

Thanks,

Reshma

Tanajee July 27, 2020

Thanks @Reshma Begum {Appfire} but can you tell me where i need to add this CQL? 

Can you provide me steps?

Reshma Begum {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 27, 2020

Hi @Tanajee ,

 

You can use the normal confluence search to enter the CQL

type:page and text ~ "select" 

that will take you to advance search and displays the page results.

cql.jpg

 

Alternatively, you can use the left panel filter in advance search and select pages under type as shown below.

 

cql1.jpg

Thanks,

Reshma

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events