Forum Discussion
Mel_C13
Jul 24, 2023Brass Contributor
Search with managed property not showing all results.
Hi all I have a site collection where I have enabled a site column called Content-Tags. I created a managed property, Refinablestring10 with the alias, ContentTags. I want to do a search in t...
Lalit Mohan
Jul 25, 2023Iron Contributor
Hi Mel_C13
It seems like you're almost there, but there might be a small issue with your search query. To ensure you get all the relevant results from the managed property Content Tag try the following steps:
Wait for the search crawl to complete: If you've recently created the managed property or added the tags to the content, it might take some time for the search crawl to index the content and make it available for searching. So, first, ensure that the crawl has completed.
Check managed property mapping: Make sure that you have correctly mapped the crawled property to the managed property. In this case, ensure that the "Content-Tags" site column is mapped to the "Refinablestring10" managed property.
Use the correct format in the search query: When searching for a managed property, you should use the syntax "managedproperty:value" without any spaces between the colon and the value.
In your case, the correct search query should be:
ContentTags:Carbon
Make sure there are no spaces between "Content Tags:" and "Carbon."
Verify the tag values: Double-check that the four items indeed have the tag "Carbon" in the "Content-Tags" column.
Test the query in the search center: If you have a search center, you can try the same search query there to see if it returns the expected results. Sometimes, the search bar on the site might have specific settings or customizations that affect the search behavior.
By following these steps, you should be able to get all four items that have the tag "Carbon" in the "Content-Tags" column. If you still encounter issues, you may need to review your managed property settings and content tagging to ensure everything is set up correctly.
- Mel_C13Jul 26, 2023Brass ContributorThanks Lalit for that info. I am still encountering issues so I will go check the managed properties again.