more setup for term and synonym search