Skip to first unread message

andre.fc....@gmail.com

unread,
Apr 24, 2015, 5:10:03 AM4/24/15
to suppor...@runmyprocess.com
Is there a way to add an index to a collection/mongo document in order to improve search?

Thanks

Murali

unread,
Apr 24, 2015, 10:18:54 PM4/24/15
to suppor...@runmyprocess.com, andre.fc....@gmail.com
Hi Andre,

While storing an object in collection, you can add a id column also. This id column data will help you in quick search.
If you want that id to be auto generated, then use free marker function "next_value".

Please refer below for more info.
http://docs.runmyprocess.com/API_Reference/FM/Request.html#next_value
http://docs.runmyprocess.com/Training/Budget_Approval_Tutorial

Regards,
Murali
Reply all
Reply to author
Forward
0 new messages