Search indexer updates. use named vars instead of magic numbers, add titles to searches