It will be great knowing you that you are using storage services.
Please have a look on tutorial that will explain how you can save your data on cloud using noSQL-storage and fetching the data acc. to your query.
And it will be great that if i know in which sdk you are working on. So that we can provide you a sample link.