claude search algorithm