Search web api; index optimization