HSEARCH-1119 Making object lookup and database retrieval methods configurable