I have an issue with the additional filter in confluence for searching within pages/spaces
Asked by Sovaiala Alin:

While adding a filter to restrict the search into a space for Anchestor or Parent the search does not return any data. Actually it does not return any data for none of the additional fields existing in the "add filter" section. I have search for any related issue on this but can't find a solution, and it not seems to be related to the way the Confluence search is working. Using the search without the additional filter returns the result - but for the entire environment, while I need just the compact result for specific pages.![ConfluenceMissingResult.JPG](/t5/image/serverpage/image-id/196170iA400EDF5FC1F32ED/image-size/large?v=v2&px=999 "ConfluenceMissingResult.JPG")


Answers:
author: Dave Mathijs
body: Hi [@Sovaiala Alin](/t5/user/viewprofilepage/user-id/4913291) Welcome to the Atlassian Community!

When restricting your search results to a specific Space, you need to enter the name of the Space in the "IN SPACE" search box.

Which **keyword** are you searching for?

comments: author: Sovaiala Alin
body: Hello, indeed in my example is not a space provided, but actually I am using a specific space in that field. The word that I used is exactly the one from the example: "installation" - it is encountered in many pages so some results should be available - this is my issue.


author: Dave Mathijs
body: Do you find any result simply by typing **installation** in the search box and not applying any filters at all?


author: Sovaiala Alin
body: Yes, if I type only the searched word, without any filters only in a specific namespace it returns all the results. But I want to see the results for children of a mainpage.


author: Dave Mathijs
body: I just did a quick test in my own site, it works like a charm.

I created a **Main Page** with 2 sub pages:

* **Subpage 1**
* **Subpage 2**

Each of the subpages contain the word 'installation'

1. I search for **installation** in the Confluence search bar
2. I select 'Confluence advanced search' (bottom of the pop-up window)
3. Then I fill out the space name **Dave Mathijs** in 'Spaces'
4. Then I select **Main Page** in 'Pages under'

Search result are the 2 subpages as shown below:

![Screenshot 2022-05-06 at 15.34.59.png](https://community.atlassian.com/t5/image/serverpage/image-id/196199iAD00D1B8FE32E079/image-size/large?v=v2&px=999 "Screenshot 2022-05-06 at 15.34.59.png")


author: Dave Mathijs
body: Disclaimer: I am on Cloud. Let me try again on a Server instance ...


author: Sovaiala Alin
body: Exactly the result that I want, but for me it does not work.

We have the latest version 7.17.1 now, but this issue is since 2 months ago, or maybe latter.

I have searched over the internet, in confluence docs, but cant find a feasible solution which works. I think maybe it is related to a plugin, or some configuration in the environment. Any idea or a clue of how this works might help.


author: Dave Mathijs
body: Same result on Server:

![Screenshot 2022-05-06 at 15.46.47.png](https://community.atlassian.com/t5/image/serverpage/image-id/196203iF21F215E3B174521/image-size/large?v=v2&px=999 "Screenshot 2022-05-06 at 15.46.47.png")


author: Dave Mathijs
body: [@Sovaiala Alin](/t5/user/viewprofilepage/user-id/4913291) Do other users have the same issue? Do you have the same issue when you test this in your personal space?


author: Sovaiala Alin
body: Ok, looks fine, how do I do it to work for me also :). What version do you have, is there a specific configuration on the server, in the config files, or something?


author: Dave Mathijs
body: The issue could be related to permissions/restrictions. Are there any on the page(s) which contain the keyword?


author: Sovaiala Alin
body: All the users have it. Is an environment issue. I use the admin.


author: Sovaiala Alin
body: It work if I don't use the add filter, but I need an extra level of filtering by with ancestor or with parent - and those do not work.![ConfluenceMissingResult2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/196212i2610C82B4C1A3F8F/image-size/large?v=v2&px=999 "ConfluenceMissingResult2.JPG")


author: Dave Mathijs
body: [@Sovaiala Alin](/t5/user/viewprofilepage/user-id/4913291)

What happens if you click on **Add a filter** and select the parent page in the above search? Then you get no results at all?


author: Sovaiala Alin
body: Exactly, it returns the page as in the initial screen.

No results found for **installation** . Please try one of the following suggestions:

* Use more general search terms or [consult the online documentation](https://confluence.atlassian.com/display/DOC/Confluence+Search+Syntax) for tips.
* If you are filtering by space, content, last modification date or contributor, try removing or adjusting the filter


Tags: confluence-server

filter

server