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:
ngress/chronam/blob/master/ core/management/commands/ process_coordinates.py
Hope that helps!
Digital Scholarship Systems Developer
Penn State University LibrariesFrom: "Chuck Henry" <[log in to unmask]>
To: [log in to unmask]
Sent: Tuesday, June 19, 2018 2:10:11 PM
Subject: Word Coordinates BorkedThe 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://nyshistoricne
wspapers.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!