$search aggregation full schema

Hi,
Is there something like a complete schema for what $search aggregation pipeline accepts? Let’s take the compound operator for example. I know what clauses can be used inside the compound operator, but i can’t find anywhere the information about what operators can be used inside the said clauses (must, must not etc).

Hello @Eduard_Clatinici ,

Welcome to The MongoDB Community Forums! :wave:

Please take a look at below link to learn about the stages of $search aggregation pipeline.

Regards,
Tarun

ok, I saw that. But let’s take for example the embeddedDocument operator. What sub operator does it support? I searched in the entire documentation for this hoping I could find it. Thanks!

As I understand it, EmbeddedDocument’s supports all the operators

1 Like