The first index to start looking from
The term we're searching from; can be empty
The history we're searching through
Which direction to search, +1 or -1
Any buffers which we should skip in our search results, e.g. because the user has seen them before.