Realtime Database search bar

i have created a search bar with Realtime Database and its working good and very fast
but the problem is i should to write fro ex the full store name and will show it in the list viewer
any one now how can to search with the text input length ???