Refactored search-indexing to have an option that biases uniqueness.