X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=PROTOCOL;h=8ae4a9d136d39c8157a4cac8deb93d94fee8e43f;hb=dde4a5914bbb5511a91e73d8ab45210b48637596;hp=d545df489e9a959fd66d57311c62c9d58b0ac2e3;hpb=2424ec60b95e210da9bd8152aca869e604184bff;p=pazpar2-moved-to-github.git diff --git a/PROTOCOL b/PROTOCOL index d545df4..8ae4a9d 100644 --- a/PROTOCOL +++ b/PROTOCOL @@ -1,7 +1,8 @@ Webservice requests are any that refer to filename "search.pz2". Arguments are GET-style parameters. Argument 'command' is required and specifies -command. +command. Any request not recognized as a webservice request as described, +are forwarded to the HTTP server specified in option -p. Commands: @@ -116,3 +117,37 @@ Output: + +termlist + +Retrieves term list(s) + +parameters: + +session +name -- comma-separated list of termlist names (default "subject") + +Example: + +search.pz2?session=2044502273&command=termlist&name=author,subject + +Output: + + + + + Donald Knuth + 10 + + + Robert Pirsig + 2 + + + + + Computer programming + 10 + + +