Is it possible to match fullDocument
and fullDocumentBeforeChange
against a $text
constraint in the aggregation pipeline of a change stream definition (collection.watch
)?
Skip to main content
2 months later
I guess part of the answer lies in this bit: “Change streams cannot use indexes. MongoDB does not support creating indexes on the oplog collection.”, but I’d like to have a clearer answer: yes you cannot create indexes on the oplog, yes change streams supposedly are just a view of the oplog, but still, one could implement $text
queries on individual change stream events fullDocument
. Looks like a no to me, but please confirm.
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Regarding MonogoDB support for serializable isolation level | 0 | 463 | May 2024 |
Sorting behavior and sorting sequence for mongodb | 3 | 468 | Jun 2024 |
$Lookup issue on two collections | 1 | 378 | Jun 2024 |
What is the performance comparison between Queryable encryption and CSFLE? if I’m looking to encrypt strings of size in KBs stored in mongo db cluster? | 1 | 299 | Aug 2024 |
Migrating from Mongo Atlas Sharded Cluster to a Mongo Atlas Replica Set in a Different Region | 0 | 206 | Aug 2024 |