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

OOIION-1812