Deprecate passing string
to Search::addIndex, hasIndex
and addIndices
#2103
franmomu:deprecate_wrong_types% was force-pushed and no longer has any new commits.
Pushing new commits will allow the pull request to be re-opened.