Independent Project.Context.Representation Of History

Requirements:

recently accessed data and recently accessed queries are in the same data structure.

Format of data:
What operations need to be done to the queries?
What is the heuristic for when to use recent data in the search?