Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Smart Search condition not working for description field View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
Gitesh - 6/14/2012 12:19:07 AM
   
Smart Search condition not working for description field
Hi Guys,

I have created a smart search with a search condition in it.
Search Condition:

-ProgrammeDescription:("{%searchtext%}")


ProgrammeDesciption is a long text field. In the search condition I am telling the smart search not to look in the "ProgrammeDescription" field.

But still the results come up. The same condition works for other field "ProgrammeTitle". Is it possible that this condition cannot work with Long text?

Am I doing anything wrong here?

Thanks
Gitesh Shah

User avatar
Certified Developer v7
Certified  Developer v7
Gitesh - 6/18/2012 8:18:09 PM
   
RE:Smart Search condition not working for description field
Hi Guys,

I have found the reason for this, my checkbox for that field in the search fields tab in the document type was not ticked.

It works now.

Cheers
Gitesh Shah

User avatar
Certified Developer v7
Certified  Developer v7
Gitesh - 6/18/2012 11:34:21 PM
   
RE:Smart Search condition not working for description field
Hi Guys,

Am changing the question a little bit as I have already solved my above issue.

I have 2 smart search webparts. Both looking at the same doument type.
Is it possible for one webpart to ignore some of the fields when searching. While the other webpart looks for all fields when searching?

Thanks
Gitesh Shah

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 6/27/2012 8:59:28 AM
   
RE:Smart Search condition not working for description field
Hi Gitesh,

Yes, it should be possible by ensuring the proper search query.
Could you please specify your search web parts settings in more details? Do you have some example which could illustrate your aim?
Feel free to write us via email as well, it's easier to include screenshots, etc. that way..

Regards,
Zdenek