make domain and doc_type filter optional