retroactively add javadoc for a search database change

This commit is contained in:
Ken Stevens 2020-04-20 17:24:30 -04:00
parent 843de42144
commit 1133c5a6fc
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
---
type: change
issue: 1698
title: "Removed the SEARCH_LAST_RETURNED column of the HFJ_SEARCH table. Hapi updated the HFJ_SEARCH table with every
request, but this led to unecessary database load. The purpose of this column was to ensure that search results were
kept around long enough for systems that needed them for paging (default one hour). When expiring search results,
we used to add one hour to SEARCH_LAST_RETURNED to determine the expiry time. However, the length of time where a search
result could be updated was relatively small (default one minute). So rather than keeping track of the expiry time to expire
exactly one hour after the last returned time, hapi now simply expires after the maximum possible length of time (default one hour
plus one minute). This eliminates the need to update the HFJ_SEARCH table with every search."