First draft of search is working.
Doesn't autocommit if nothing changed.