integrate keyword searching with firebase pubsub