Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Smart Search and Custom Lucene Parameters View modes: 
User avatar
Member
Member
ECAbacus - 9/18/2012 12:06:45 PM
   
Smart Search and Custom Lucene Parameters
Built a custom search index to crawl a media library as described here:

http://devnet.kentico.com/Videos/System-Management/Smart-Search-in-Kentico-CMS-6.aspx

However, I slightly modified it to store the file extension as well via CMS.SiteProvider.SearchHelper.AddField(). While I'm able to successfully search against the index via the standard Smart Search web parts, how would I go about adding a filter allowing me to return only results matching my custom parameter, i.e. fileextension = 'pdf'?

User avatar
Certified Developer 8
Certified Developer 8
Jiveabillion - 9/18/2012 12:25:27 PM
   
RE:Smart Search and Custom Lucene Parameters
You can add filter options like this
+fileextension; pdf;PDF Documents
+fileextension;docx;Docx Word Document

This information can be found here http://devnet.kentico.com/docs/devguide/index.html?smart_search_filter.htm