Perhaps name it
setSearchState
, similar to
setSortState
.