I created a list called MyAnnouncements and added a site column called "NewTarget" to it.
When I checked SharePoint Admin Center, it had created a new custom managed property as well as the crawled property for me.
I added a Content Search Webpart and in the Advanced Mode, I tried to check for my managed property in the "Property Filter" list. I don't see it there.
I came across the below citation on Microsoft site.
You can use property filters to query the content of managed properties that are set to queryable in the search schema.
You can select managed properties from the Property filter drop-down list. Select Add property filter to add the filter to the query.
NOTE: Custom managed properties are not shown in the Property filter list. To add a custom managed property to your query, in the Query text box, enter the name of your custom managed property followed by the query condition, for example MyCustomColorProperty:
As per the above comment, I will not get the custom managed property in the dropdown list. However I should be able to write the condition directly in the query box as per the above example.
So I tried, like below and still did not get any results.
Then I mapped my custom crawled property to out of the box refinablestringxx property and tried. I was able to get search result this time using the refinablestringxx.
Now, I want to understand that does Property Filter do not work on custom managed property? I understand that they will not be available in the Property Filter dropdown as per the citation. But it was mentioned that if I manually type the managed property name with query condition it will work. It did not work for me.
Can anyone please suggest if I am missing anything here?