[COMPASS-3805] Aggregate match step with $strLenCP doesn't work Created: 08/Aug/19  Updated: 29/Oct/23  Resolved: 20/Sep/19

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.15.4
Fix Version/s: 1.20.0

Type: Bug Priority: Major - P3
Reporter: Olivier Tosello Assignee: Durran Jordan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File compass.png    
Issue Links:
Duplicate
is duplicated by COMPASS-3803 aggregation pipeline builder does not... Closed
Sprint: Iteration Llama, Iteration Newt

 Description   

while creating aggregation pipeline with a simple match condition like the one above it does not work. 

{
  $expr: {
    $gt: [
      {
        $strLenCP: '$noticeLink2'
      },
      0
    ]
  }
}


Generated at Wed Feb 07 22:34:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.