{"action":"closed","issue":{"url":"https://api.github.com/repos/ReactiveMongo/ReactiveMongo-Extensions/issues/36","labels_url":"https://api.github.com/repos/ReactiveMongo/ReactiveMongo-Extensions/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveMongo/ReactiveMongo-Extensions/issues/36/comments","events_url":"https://api.github.com/repos/ReactiveMongo/ReactiveMongo-Extensions/issues/36/events","html_url":"https://github.com/ReactiveMongo/ReactiveMongo-Extensions/issues/36","id":127260375,"number":36,"title":"How to index GridFS collections","user":{"login":"yanivby","id":6934436,"avatar_url":"https://avatars.githubusercontent.com/u/6934436?v=3","gravatar_id":"","url":"https://api.github.com/users/yanivby","html_url":"https://github.com/yanivby","followers_url":"https://api.github.com/users/yanivby/followers","following_url":"https://api.github.com/users/yanivby/following{/other_user}","gists_url":"https://api.github.com/users/yanivby/gists{/gist_id}","starred_url":"https://api.github.com/users/yanivby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanivby/subscriptions","organizations_url":"https://api.github.com/users/yanivby/orgs","repos_url":"https://api.github.com/users/yanivby/repos","events_url":"https://api.github.com/users/yanivby/events{/privacy}","received_events_url":"https://api.github.com/users/yanivby/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-18T16:20:05Z","updated_at":"2016-01-18T17:01:05Z","closed_at":"2016-01-18T17:01:05Z","body":"What is the best practice for ensuring that a GridFS collection is indexed correctly?\r\nFirst there are the indices that the driver is supposed to index, per https://docs.mongodb.org/manual/core/gridfs/#gridfs-indexes\r\nBut I also have sometimes additional indices in the files collections (on the files' metadata).\r\nIs there a good place to plug in calls to IndexManager so that I can be sure the indices will be created and ready before the DAO classes are accessed?\r\n"}}