[DOCS-2023] Document the difference between $<fieldname> and $<operator> Created: 02/Oct/13  Updated: 11/Jan/17  Resolved: 25/Jul/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Task Priority: Major - P3
Reporter: Bob Grabar Assignee: Kay Kim (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 9 years, 29 weeks, 5 days ago

 Description   

We need an explicit explanation of the difference between $<fieldname> and $<operator> in aggregation. Something similar to this from Kristina:

The "$fieldname" syntax is used to refer to fieldname’s value in the
aggregation framework. For example, "$age" would be replaced with
the contents of the age field (and probably be a number, not a string)
and "$tags.3" would be replaced with the fourth element of the tags
array. Thus, "$_id" is replaced by the "_id" field of each document
coming through the pipeline.



 Comments   
Comment by Kay Kim (Inactive) [ 25/Jul/14 ]

Part of agg rewrite.

Generated at Thu Feb 08 07:42:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.