History implemented in search