Support for multi index and type queries with facets