OOIION-1812
Change search to use resources_index when an ID is used.
Merge pull request #365 from cgalvarino/resources_index_for_id_search-r2

OOIION-1812