nextml / NEXT

NEXT is a machine learning system that runs in the cloud and makes it easy to develop, evaluate, and apply active learning in the real-world. Ask better questions. Get better results. Faster. Automated.
http://nextml.org
Apache License 2.0
160 stars 54 forks source link

Create Mongodb indexes for targets #206

Closed erinzm closed 7 years ago

erinzm commented 7 years ago

We're currently storing target documents with the target id and experiment id unindexed. Indexing on exp_uid and target_id could significantly increase performance.

erinzm commented 7 years ago

Never mind, indexes are ensured on targets.{exp_uid, target_id}: https://github.com/nextml/NEXT/blob/2dc302f17f772d5c03096f66b2db136c9e9c077d/next/apps/App.py#L268-L269