12 April 2022 306 views | Documentation v2
The search functionality is fairly simple and handled by \Tfish\Content\Model\Search and related controller and viewModel. Search functionality is offered on yoursite.com/search. If multiple search terms are entered a drop down allows the results to be filtered by:
- All (AND)
- Any (OR)
- Exact match
The number of search results returned is governed by the Search pagination preference. The default operator is AND.
Search terms are subject to a minimum length check, which is set by Min. search length in site preferences. Search terms that are shorter than the minimum length requirements (default value 3) are discarded, to prevent overloading the system. Search terms are escaped for use in the database query through use of prepared statements with named placeholders / bound values.
Copyright, all rights reserved.