fts in filter with AND condition


as I can see in the excellent documentation (https://doc.cuba-platform.com/fts-6.0/search.html), many word in a search string in fts will be joined with an OR condition. Is it somehow possible to join them with and. For example I am looking for all messages that contain ServiceA and Error. I could imagine a query ‘ServiceA + Error’.

Thanks for your support.


1 Like

unfortunately, FTS doesn’t support searching by AND condition at the moment. Only phrase search is supported. If you’re searching for a particular entity, you can use a standard generic filter component that has a pair of conditions with “contains” operations. This pair of conditions will be joined with the AND condition by default.