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

2020-02-21 Thread Andrew Morrison
. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Wednesday, February 19, 2020 9:56 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run? One

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

2020-02-19 Thread Joshua D. Shaw
: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run? 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

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

2020-02-19 Thread Joshua D. Shaw
ing a separate SOLR instance). Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Andrew Morrison Sent: Wednesday, February 19, 2020 8:32 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Method to Pause Indexer

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

2020-02-19 Thread Andrew Morrison
this, but YMMV. Andrew. From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: 19 February 2020 13:05 To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run? Thanks

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

2020-02-19 Thread Joshua D. Shaw
To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run? Hi Joshua, I haven’t used it, but I see these endpoints in indexer/app/main.rb get "/" do if IndexerCommon.paused? "Indexers paused until #{IndexerCommon.cla

[Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-18 Thread Joshua D. Shaw
Hey all- I writing a job that may take a *long* time (hours) to complete which will be updating a *lot* of AO records. I'm wondering if there's a way to pause the Indexer during a job so that I can let the Indexer do its thing *after* the job completes. I know I can toggle the AppConfig value