changed logic for catalog search indexer