various optimizations in the /opentests/search-Resource