Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Smart Serach Fileter & filed values View modes: 
User avatar
Member
Member
Tomek - 11/12/2009 4:35:33 AM
   
Smart Serach Fileter & filed values
How can I include specific field values into search filter:

I hae a dicumetnt with a file "MyField" with multiply choise options:
option1;Option1
option2;Option2


I tried to specify search filter as:
+Myfield;option1:Option One

But without any success

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 11/13/2009 8:39:46 AM
   
RE:Smart Serach Fileter & filed values
Hello Tomek,

Searching in custom fields should work, please follow steps below:

1. Please create new field (multiple choice in your case, e.g. value;name) for your document type in Fields tab.

2. Please switch to 'Search fields tab' and set this new fields as Content, Searchable and Tokenized.

3. Please rebuild search index in: Site Manager -> Administration -> Smart search. Whether you have more indexes, please make sure you are rebuilding correct one. Optionally please restart system (just to make sure ;-)

4. Now, if you have it checked in Form tab of your document, it should be searchable - when you will search for a value, you should receive document in your search results.

Hope it will work well.

Best regards
Ondrej Vasil

User avatar
Member
Member
Tomek - 11/17/2009 2:23:52 AM
   
RE:Smart Serach Fileter & filed values
Thnaks Ondrej - it did the trick.

Pozdrawiam / Regards
Tomek