major refactor of the way search works - haha, no, just kidding. more docs