TMDM-7496: "'contains the word(s)' on complex type field doesn't work when using full text "

Choose types to include based on types used in conditions to prevent Hibernate issues (related to cache of entities).
(cherry picked from commit f5dd83f)