Please see image attached first.
I want to search by CUST ID and when it was found in firebase then all data relating to that CUST ID can be displayed.
I if enter CUST ID in app and search then data like Address, Mobile, Name etc will show.
It is difficult to do with firebase but not impossible.
You should do this with airtable or mysql.
Anyway this can be done with firebase-
1.Create another database.One contains tags as CUST id and values as what you have as tags in main database.
2.When searching data get tag list from new database. Now in list search Cust id and get tag for main database.
3.Now set project bucket to value got and get whatever you want.