Search system / Система поиска

Good evening, tell me how to implement a search system on the pageOpera Снимок

For the data in the table (local), you can apply a filter:


To get server data (remote) use request:


Url to get filtered data:"FIELDNAME"&equalTo="SEARCHTEXT"

For example to get post with title equal to “Great post”:"title"&equalTo="Great post"

If you’re using orderBy, you need to define the keys you will be indexing on via the .indexOn rule in your Firebase Realtime Database Rules.

For example for title field you need to add:

"posts": {
   ".indexOn": ["title"]

Reed more:

1 Like

Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.