Re: [Archivesspace_Users_Group] PUI inheritance configuration

2020-02-19 Thread James Bullen
Hi Cory, It’s been some years since this was in my head, but it looks good. The :inherit_if on the first rule should be selecting all subjects that have at least one term with a ‘genreform’ type. Cheers, James > On Feb 20, 2020, at 1:37 AM, Cory Nimer wrote: > > James, > > To my

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Joshua D. Shaw
One additional little bit of info that may complicate things. It seems like the pause will not shut down an indexer run midway. It will only take effect after the current run is complete. At least that seems to be the case. For the import jobs, that may make things a bit dicey if a large index

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Joshua D. Shaw
I think I've got it going by adding a little loop that checks the indexer state via the response body of the indexer (ie does it contain the string "paused") and then sending a "put" with the duration parameter set to either pause (you can specify an exact duration or just let it default to 900

Re: [Archivesspace_Users_Group] PUI inheritance configuration

2020-02-19 Thread Cory Nimer
James, To my knowledge, a complete reindex was done following the changes (other changes in note inheritance did appear as anticipated). However, the subject inheritance did not seem to work. Are the inheritance statements below structured correctly, or are there other reasons that these

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Andrew Morrison
I'd be interested in hearing if you get this to work, because it could be useful in fixing this issue: https://archivesspace.atlassian.net/browse/ANW-902 Also, if you're making a truly mammoth update, which will be followed by a re-index of nearly everything, you might want to consider

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Joshua D. Shaw
Thanks, James. I glanced at that, but somehow didn't realize those were endpoints I could hit. I'll give it a go! Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of James Bullen Sent: Tuesday, February 18, 2020 7:16 PM To: