[
https://issues.apache.org/jira/browse/MAHOUT-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041996#comment-13041996
]
Mike Khristo commented on MAHOUT-705:
-------------------------------------
Thanks for the patch.
The patch works great, except that it doesn't create the proper indexes on the
mongoMapCollection.
Default mongoMapCollection = "mongo_data_model_map".
Adding the following will increase performance exponentially:
db.mongo_data_model_map.ensureIndex({element_id : 1})
db.mongo_data_model_map.ensureIndex({long_value : 1})
> MongoDB DataModel support
> -------------------------
>
> Key: MAHOUT-705
> URL: https://issues.apache.org/jira/browse/MAHOUT-705
> Project: Mahout
> Issue Type: Improvement
> Components: Utils
> Affects Versions: 0.4, 0.5
> Reporter: Fernando Tapia Rico
> Assignee: Sean Owen
> Priority: Minor
> Labels: datamodel, features, mongo, patch
> Fix For: 0.6
>
> Attachments: MAHOUT-705.patch
>
>
> Support for mongoDB in taste DataModels
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira