https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31161 --- Comment #49 from David Cook <dcook@prosentient.com.au> --- (In reply to Nick Clemens (kidclamp) from comment #42)
This actually makes me think the approach of storing the suppressed status at record edit (calculated via a background job) might be better - pre-calculating for search engine and OAI - really you could have OAI fetch via a scroll from ES - though not sure if ES supports resumption - ignore me, ranting
I do like the idea of a suppressed status used by Search and OAI. Like you say, we could store it at record edit. (We'd also need to trigger a re-calculation if OpacHiddenItems changed. A clever way to do that would be to do a diff of the before and after, and just update the records that were affected...) I was actually working on some changes for OAI for DSpace recently, and I was reminded how they index records into a Solr "oai" index specifically. I'd have to double-check but I don't recall if it's the full metadata or just the identifier. But I like the idea. It would be so much more performant than re-doing the database queries for every request like we do with Koha... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.