add excluded id to query chain in solr spec
fix variable name in set_excluded_ids