CountAsync can't consume descriptor like SearchAsync

I use Nest lib in my project. I try to use repository pattern with base repository class.
For search method, is work fine with "SearchDescriptor", but for count method, is't work with "CountDescriptor" like search method.

How should I do with this or there are another way to do like this.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.