[SERVER-10734]  JavaScript execution failed: can't have . in field names Created: 10/Sep/13  Updated: 10/Sep/13  Resolved: 10/Sep/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.4.5
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Yamil Asusta Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OSX 10.8.4


Operating System: OS X
Participants:

 Description   

Using the following script ( https://gist.github.com/elbuo8/38e85ab8e4bcd6c406b5) I have been able to process around 2.2m documents. Then comes a point where the following error comes up

JavaScript execution failed: can't have . in field names [function (str)

{ return str.toLowerCase(); }

] at src/mongo/shell/collection.js:L143 failed to load: etl_events.js



 Comments   
Comment by Scott Hernandez (Inactive) [ 10/Sep/13 ]

This is a restriction of field names. Please see the docs here:
http://docs.mongodb.org/manual/reference/limits/#Restrictions%20on%20Field%20Names

Generated at Thu Feb 08 03:23:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.