Configurable default search index

Allows configuration of a default search index. Closes PR #1009