...
Code Block | ||
---|---|---|
| ||
Krikri::Indexer.enqueue({ index_class: 'Krikri::QASearchIndex', generator_uri: Krikri::Activity.find(activity_id).rdf_subject }) |
If you run an local indexing job and see 500 errors it is likely that you are trying to index to a non-existent or improperly configured Solr core. Look at the available cores on the Solr admin page (http://127.0.0.1:8983/solr/) and then requeue the job using the :index_name parameter. For example, this is what is needed when running against a stock local deployment of Heidrun.
Code Block | ||
---|---|---|
| ||
Krikri::Indexer.enqueue({ index_class: 'Krikri::QASearchIndex', generator_uri: Krikri::Activity.find(activity_id).rdf_subject, index_name: 'development' }) |
A successful index job will commit to solr upon completion.
...