How to Search any tag in Firebase?

In simplest terms, this should work....

assuming you have no authentication rules setup (so data is read/write=true)
say your data structure is like this:

users                        <<top level project bucket
   |-167981
       |-234:"hello"
   |-176584
       |-123:"goodbye"
   |-158394
       |-123:"goodmorning"
   |-167834
       |-345:"goodevening"

and you want to return the data associated with the tags 123.

You need to go into the rules and set this:

"users": {
      ".read": true,
      ".write": true,
      ".indexOn": "123"
    },

in your rules.

Then, using the web component call:

https://<PROJECTID>.firebaseio.com/users.json?orderBy="123"
(you can test this in a computer web browser as well)
you may need to use:
https://<PROJECTID>.firebaseio.com/users.json?orderBy=%22123%22
or add a encodeUri block.

ALL the data is returned for the tags that contain 123! Firebase does not return tag level data, it returns the whole lot. You should get back something like:

{ "176584" : ["123" : "goodbye"], "158394" : ["123" : "goodmorning"] }

Good luck!