Adding SYNONYM in the list of searched types.
HHH-8183 Added setting to enable synonyms