def METHOD_NAME(self, queries: TextQueries, k=10, filter_fn=None):
    queries = Queries.cast(queries)
    queries_ = list(queries.values())
    Q = self.encode(queries_)
    return self._search_all_Q(queries, Q, k, filter_fn=filter_fn)