In the database child product and this child has several children. I want to click search and have all children searched, not only one child. For example: The search is by description or price and not on the name only.
DatabaseReference reference = FirebaseDatabase.getInstance().getReference().child("Products");
FirebaseRecyclerOptions<Products> options = new FirebaseRecyclerOptions.Builder<Products>()
.setQuery(reference.orderByChild("pname").startAt(searchinput), Products.class)
.build();