Search refactor predecessors

@ikeough @lukechurch As discussed in https://github.com/DynamoDS/Dynamo/pull/3463