Searching Property Bags in SharePoint Search 2013

In my Previous Blog, I have talked about the creating Property Bags in SharePoint 2013. In this blog, we will see how to make the property bags searchable in SharePoint 2013 environment.
 
To achieve this functionality. Follow the below steps religiously.
  1. Run the below powershell commands below:
    1. $web = Get-SPWeb http://mylocatlhost    
    2. $web.AllProperties["Location"] = "Chennai"    
    3. $web.IndexedPropertyKeys.Add("Location")    
    4. $web.Update()    
  2. Just the Incremental Crawl in your Search environment and the results are for everyone to see. 
Happy SharePointing :-) 
Ebook Download
View all
Learn
View all