Cbexport with filters?


I’m looking for a way to filter documents from a bucket then dump them all. I’ve created a view and a script to loop through the view, but I’m trying to see if there is a better option.

cbexport would work perfectly, but it looks like it does not support filtering.
I also looked into dcp client and that might work.

I would like to be able to export documents by querying something like “dump all documents with type=user”

Is using DCP client (java) my best option?

Thanks in advance.