OOIION-1812

Change search to use resources_index when an ID is used.