In my app,I want to search numdocs for some queries. I see SolrIndexSearcher has two methods: public int numDocs(Query a, DocSet b) public int numDocs(Query a, Query b)
But these're not fit for me.For search's params,I get q and fq, and q' results are not in filterCache.But above methods are both using filtercache. So I think a method like: public int numDocs(Query q, List<Query> fqs) (q not with filtercache,fqs with filtercache) would be fine. And now,I cannot extend SolrIndexSearcher because of SolrCore. What should I do to solve the problem? thanks.