[SERVER-25054] Aggregation should error if you reference the text score and there is no text score available Created: 13/Jul/16  Updated: 17/May/19  Resolved: 14/Jul/16

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.3.10

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Charlie Swanson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-8716 Update node.js driver playbook for De... Closed
is documented by DOCS-8910 Aggregation should error if you refer... Closed
Backwards Compatibility: Minor Change
Sprint: Query 17 (07/15/16), Query 18 (08/05/16)
Participants:

 Description   

As part of the changes for SERVER-24640, there is now an easy way to determine if a stage is referencing a text score when no text score exists. Such aggregations should throw an error at parse time, rather than proceeding and silently using the "missing" value.



 Comments   
Comment by Githook User [ 14/Jul/16 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-25054 Error if aggregation uses text score without text search.
Branch: master
https://github.com/mongodb/mongo/commit/a8414a21ef6594b2e786652e4823687cd1b3ec72

Generated at Thu Feb 08 04:08:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.