Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
SearchDataSource does not use logical operators as such, but accepts the use of + (plus) and - (minus) in the search query text, see http://world.episerver.com/modules/forum/pages/thread.aspx?id=37516
Besides the SearchDataSource.SearchQuery property (which holds the search text which can include + or -), there is no property where you can specify which operands are allowed.
hi,
What operator is used by default to perform a search query using the SearchDataSource control?
Is it possible to use and AND operator?
SearchDataSource ds = new SearchDataSource { EnableVisibleInMenu = true, MaxAllowHits = 999, SearchQuery = query, PublishedStatus = PagePublishedStatus.Published, FilterPagesWithoutTemplate = true, SearchFiles = true, PageLink = PageReference.StartPage, LanguageBranches = languageBranch };