0
I can search the searchview by taking the data from Firebase only by the item nameOrganization as I do to search for any field at the same time. Ex: I can search Sao Paulo, Machines, SENAI, etc and always appear the same recyclerview item.
Query Q = organizacao.orderByChild("nomeOrganizacao").
startAt(newText).endAt(newText + "\uf8ff");
Unfortunately Firebase doesn’t yet have a way to do this.
– Rosário Pereira Fernandes
Then I will only be able to search with Firebase for only 1 field and also only for the first letter of the word?
– robsonp
Yes. The only way to perform complex searches in Firebase is by using other services such as Algolia or Elasticsearch... They even created this library to facilitate this.
– Rosário Pereira Fernandes