On salesforce i saw apps which are able to run CONTAINS queries. Even the basic list filter functionality on object list allows the CONTAINS filtering.
Using SOSL i tried the following:
List<List<SObject>> searchList = [FIND '*ben* AND *berlin*' IN ALL FIELDS
RETURNING Account(Name)];
I have an account name "BigBen" in "Berlin". I am not able to find this account using upper SOSL call. I tried different combinations, but no success. How do i do SOSL calls with CONTAINS? Using the basic list filtering i am able to use CONTAINS with "ben", it gives me the expected results.