client can get indexParams from indexDef.params