...
Code Block |
---|
|
stg = 'internal-search-lbal-stg-1352112635.us-east-1.elb.amazonaws.com' # verify that this is up to date; the job will fail after the query (within 5 minutes) if it is incorrect.
Krikri::Indexer.enqueue({ index_class: 'Krikri::ProdSearchIndex', generator_uri: Krikri::Activity.find(activity_id).rdf_subject, host: stg, index_name: 'dpla_alias' }) |
fQA (Frontend QA)
If you need to index data to the temporary frontend QA portal (http://ec2-54-172-127-200.compute-1.amazonaws.com/) use the staging host for the search load balancer (from above) but change the index name from 'dpla_alias' to 'fqa_172_30_0_143'
Code Block |
---|
|
stgHost = 'internal-search-lbal-stg-1352112635.us-east-1.elb.amazonaws.com' # verify that this is up to date; the job will fail after the query (within 5 minutes) if it is incorrect.
Krikri::Indexer.enqueue({ index_class: 'Krikri::ProdSearchIndex', generator_uri: Krikri::Activity.find(activity_id).rdf_subject, host: stgHost, index_name: 'fqa_172_30_0_143' }) |
Production
Code Block |
---|
|
Krikri::Indexer.enqueue(index_class: 'Krikri::ProdSearchIndex', generator_uri: Krikri::Activity.find(activity_id).rdf_subject) |
...