To search a herb, Users could use the Chinese name, Chinese Pinyinand English name.
The keywords' table could be found here
To search a Ingredient/Compound, Users could use Chemical name, Canonical SMILES, CAS number. You could get these identifier by public databases like 'PubChem'.