There is a default search box in ArcGIS javascript API dojo lib to search by place name or by city. Now i want to add a intelligent search box to search within the layer. I would like to know how to add such search box and implement function to search within the layer.I have a ArcGIS javascript API application where I have 30 layers and I want to search the layers accoding to name in search box and fly to that corresponding layer. Please suggest me the right way.
I have attached the image of my application with all the layers (arcgisdynamicmaplayers).