I didn’t get your point.
As I have already explained my requirements, if I use filter it will give me only exact match. And if I use different method having filter like for eg:-
get A
get B
get C
get A&B
get B&C
get C&A
get A&B&C
then uid(uid of all)
But I think its quite lengthy.