Can atlas search use bitwise operations?

We want to introduce bitwise operations to atlas search for specific aggregation.

Typically, I would like to use $bitsAllSet syntax, but atlas search doesn’t seem to support it directly.

Is there any way to do bitwise operations on mongot directly without using storedSource ?

Hello, @wrb !

It would be much easier to understand your problem and suggest some solution, if you:

  • Provide example of the document from the collection that you’re using to run the aggregation
  • Describe the idea of why do you want to use bitwise operators and what you’re trying to achieve
  • Show example output that you expect from your aggregation
1 Like