resq

command module
v0.0.0-...-e87e52a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2020 License: MIT Imports: 18 Imported by: 0

README

ResQ

Service to queue up indexing of authorities (euler documents) in Sibyl.

API

POST /resource

Accepts a JSON array of resource URIs. Will queue up the corresponding resources for indexing in Sibyl.

GET /resource/{type}

Queues up all authorities of the given type for indexing in Sibyl. Supports the following types:

  • compositionType
  • corporation
  • event
  • genre
  • instrument
  • libraryEvent
  • person
  • place
  • publication
  • serial
  • subject
  • work
  • workSeries
GET /resource/{type}/{id}

Queue up one resource for indexing in Sibyl

GET /resource

Iterates through all supported types and queues up all authorities of those types for indexing in Sibyl.

DELETE /resource

delete resource uris from index, specified by JSON array.

Benchmarking (SPARQL construct queries)

Use qs flag to specify quadstore SPARQL endpoint (default http://localhost:8890/sparql) and cs flag to specify number of resources queried (default 1000) per batch.

$ cd benchmark && go run benchmark.go --qs "http://virtuoso:8890/sparql" --cs 876

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL