Platform API‎ > ‎Scheduled Job‎ > ‎

Reindex Store Job

Overview

This is a Job that reindexes the RDF contained in the metabox of a store. The reindexing will use the current version of the Field/Predicate Map.

Sample

The following request specifies a Snapshot Job to be run at 14:30 on the 2nd May 2008.

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:bf="http://schemas.talis.com/2006/bigfoot/configuration#" > 
  <bf:JobRequest>
    <rdfs:label>Reindex the RDF in my store</rdfs:label>
    <bf:jobType rdf:resource="http://schemas.talis.com/2006/bigfoot/configuration#ReindexJob"/>
    <bf:startTime>2008-05-02T14:30:00Z</bf:startTime>
  </bf:JobRequest>
 </rdf:RDF>

Submit it with a command like this:

curl -v --digest -u"username:password" -d @job-request.rdf -H content-type:application/rdf+xml http://api.talis.com/stores/mystore/jobs
Comments