I have a shell script set up to clear a solr core and re-index a folder of
PDF files nightly like so:
cd /opt/solr/ &&
bin/post -c comox_core -host 67.231.17.10 -d
"attr_is_pdf:true" &&
bin/post -c comox_core -host 67.231.17.10 -filetypes pdf
/home/townofco/public_html/modx/assets/pdfs -params
"
Thanks so much for the reply, Erick!
I haven't touched anything in several months; I got a message from the
client I built the website for saying the PDF files they're putting into the
folder weren't being indexed so I went in to investigate and discovered the
error. Here's the applicable part of
Erick Erickson wrote
> Sure, someone changed the system variable "solr.install.dir" (i.e.
> -Dsolr.install.dir=some other place). Or removed it. Or changed the
> startup script. Or
>
> I've gotten very skeptical of "we didn't change anything but suddenly
> it stopped working". Usually it's som