Should the $size and $split operations be done on $match or $project?
I have referenced everything provided (video, documentation, even other sites), but to no avail. I’m just making educated guesses at this point with the proprietary syntax. Are there any other hints to point me in the right direction. Filtering first with $match seems the most logical. Otherwise, $match would just be returning every title in the collection. In Java I’d just do something simple like title.split(" ").length==1 to get one word titles, but I can’t get any variation of this syntax to work.
I’d post what I’ve tried so far, but I don’t want to infringe on the request to not post answers (not that my answer is working anyway). Thanks for any help.