API Search records and suggestions

Introduced the recording of searches, which then feed into search suggestions