I am now working on a project which has the traditional sites-libraries-folders-subfolders structure.
And now the end users want to keep this architecture and also use the metadata. Certainly metadata can be used to search efficiently within one doc library. But since they want to keep the old sites-libraries-folders-subfolders structure. we need to make the search work across doc libraries/sites.
I then tried to use the crawling property and mapped it to managed property. By following this blog: https://blogs.technet.microsoft.com/o365totd/2015/12/11/using-site-columns-to-create-searchable-metadata-in-sharepoint-online-office-365/
And have a testing doc library with tens of documents with some site column, and the documents are tagged using this column. i.e. tagged as different colors.
Now if I use the search box and type in Color:Red, the Sharepoint search engine will return just one result. not sure why.
Only if I apply the search directly to the document library can it return all the files tagger with color=red in the doc library.
But the point with this research is that we need to get search results from all the doc libraries within the site.
It is strange, do you have any idea of what happened and how I may get the anticipated results?
Thanks,
Color:Red
is not the same asColor=Red
. Depending on the data type of the columns you will get different results. The first is a contains query, the second an equality.