X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=PROTOCOL;h=4ddfd039879b08c9ad28b7bf0ab518052f00282b;hb=015261c103f2b4f8e4d06220605a2053e52a1249;hp=35d1a00340c9eec07963a59eb09c0d6bf64ed6e5;hpb=2286f4c05679dd139bb5db816053e6b77d077914;p=pazpar2-moved-to-github.git diff --git a/PROTOCOL b/PROTOCOL index 35d1a00..4ddfd03 100644 --- a/PROTOCOL +++ b/PROTOCOL @@ -66,6 +66,7 @@ search.pz2?session=2044502273&command=stat Output: + 3 7 -- Total hitcount 7 -- Total number of records fetched 1 -- Total number of associated clients @@ -102,6 +103,7 @@ Output: OK + 3 6 7 0 @@ -117,3 +119,50 @@ 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: + + + 3 + + + Donald Knuth + 10 + + + Robert Pirsig + 2 + + + + + Computer programming + 10 + + + + +For the special termlist name "xtargets", results are returned about the targets +which have returned the most hits. The 'term' subtree has additional elements, +specifically a state and diagnostic field (in the example below, a target ID is +returned in place of 'name'. This may or may not change later. + + + library2.mcmaster.ca + 11734 + Client_Idle + 0 +