Print

Print


Sweet! Once I get all the batches restored I'll give it a try!  Thanks
Andrew!

Chuck Henry
Integrated Technologies Coordinator
Northern New York Library Network
[log in to unmask] :: www.nnyln.org
Office: 315-265-1119 Ext 3

On Tue, Jun 19, 2018 at 3:06 PM, Andrew Gearhart <[log in to unmask]> wrote:

> Hello Chuck,
>
> You should be able to use the batch management commands to create the word
> coordinates file if the batch is loaded.
>
> It would be similar to the following:
> $ manage process_coordinates <path_batch_list>
> Where <path_batch_list> is a full path to a text file listing the names of
> the batches that you would like to generate the word coordinates from.
>
> Please note that you'll have to have the batches loaded in the system to
> build the word coordinate files.
>
> As a side note, this engages the following python script:
> https://github.com/LibraryOfCongress/chronam/blob/master/
> core/management/commands/process_coordinates.py
>
> Hope that helps!
>
> Cheers,
> Andrew Gearhart
> Digital Scholarship Systems Developer
> Penn State University Libraries
>
> ------------------------------
> *From: *"Chuck Henry" <[log in to unmask]>
> *To: *[log in to unmask]
> *Sent: *Tuesday, June 19, 2018 2:10:11 PM
> *Subject: *Word Coordinates Borked
>
> The short version of my question: is there a way to regenerate the
> word_coordinates directory for titles?
>
> The long version: I've been migrating http://nyshistoricnewspapers.org/
> from our old storage device to a new one. Part of the reason for the move
> is the VMDK's that contained the site were incorrectly setup for
> snapshoting and have been slowly degrading. When I shifted the datastore
> containing the word_coordinates directory (and the batches themselves)
> the filesystem reported many many errors and fixed them. Trouble is: I only
> have about 50% of the titles represented on the site in the word_coordinates
> directory and I don't have a backup of that directory. (I do for the
> batches.) It appears that this directory is critical to the search term
> highlighting... so is there a way to regenerate the word_coordinates
> directory for titles?  If I have to script something myself to do it I will
> BUT before I invest time I'm hoping there might be a way to engage in this
> using the existing code.
>
> Any advice is appreciated! Thanks in advance!
>
> Chuck Henry
> Integrated Technologies Coordinator
> Northern New York Library Network
> [log in to unmask] :: www.nnyln.org
> Office: 315-265-1119 Ext 3
>
>