hi pramod KARNANI;
there are two requirement for your search implementation one of them find in the
java doc provided and another in the requirement as client side searches,
read the java doc properly you see that : "Field n in the database file is described by
// criteria[n]." so the criteria size is as the fields size.
you must implements the search method as the java doc say. then think on the client side searches requirements.
Best Regards.