Move next_stream_id down to state
Move search indexes down to state
History for vade eval