Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Smart Search + Custom Multiselect Field View modes: 
User avatar
Member
Member
John-CymbalInteractive - 10/6/2011 1:12:10 PM
   
Smart Search + Custom Multiselect Field
So I have added some custom fields to UserSettings where the field type is "Multiple choice".

I used the first option instead of using a SQL query here by using:
1;foo
2;bar

Editing/Updating these fields by going to view the user's profile is working as well as displaying the values. My issue is that the Smart Search cannot find users who have selected "foo" or "bar" when I search. What do I need to do to get this working?

User avatar
Member
Member
kentico_michal - 10/11/2011 4:06:31 AM
   
RE:Smart Search + Custom Multiselect Field
Hello,

If you specify values in the following format:

1;foo
2;bar


it means that 1 and 2 are stored in the database when some item is selected whereas values foo and bar are used only as a text in the multiple choice control.

The point is that only content stored in the database is indexed by smart search module and as a result can be used to search for documents, in this case it is 1, 2.

So, I would recommend changing the definition to this value:

foo;foo
bar;bar


so that foo and bar were stored in the database and indexed by search module.

Best regards,
Michal Legen