i have a question. If i want to upload a large array of strings (which would basically category tags for an autocomplete searchview in an Android app) , we are talking about 20.000 or so Strings, passed as an
HashMap<String,String> tags = new HashMap<>();
tags.add(tag,category);
mDatabase.child("categories").setValue(tags);
to the Firebase Realtime database. This implementation works, but since we are talking about a large number of nodes , Firebase switches off realtime-mode and switches to read-only. Is there any way of structuring the data to avoid this? I'm thinking of splitting the tags into sub-nodes, ordered by letters.
Something like :
categories
- a
- tag - category
- tag - category
- b
- tag - category
- tag - category
etc.
Whould this avoid the switch to Read-Only mode in the Firebase Console?