X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=doc%2Fpazpar2_protocol.xml;h=47314acb69bc5de2a34fc71c996505789eaf2a0d;hb=7087f7cc9945cfacfbe7341a1099eef773914772;hp=80aed1697e987b2c47f69af95322f8d004db18f6;hpb=9dc2478805339c1f34638887df17c804b993d937;p=pazpar2-moved-to-github.git diff --git a/doc/pazpar2_protocol.xml b/doc/pazpar2_protocol.xml index 80aed16..47314ac 100644 --- a/doc/pazpar2_protocol.xml +++ b/doc/pazpar2_protocol.xml @@ -188,13 +188,16 @@ search.pz?command=settings&session=2044502273&pz:allow[search.com:210/db1]=1 Limits the search to a given set of targets specified by the filter. The filter consists a comma separated list of - setting+operator+args pairs. The setting is a Pazpar2 setting + setting+operator+args + pairs. The setting is a Pazpar2 setting (such as pz:id). - The operator is either = (string match) - or ~ (substring match). The args is a list of values separated - by | (or , one of the values). The idea is that only targets - with a setting matching one of the values given will be included - in the search. + The operator is either + = (string match) + or ~ (substring match). + The args is a list of values separated + by | (or , one of the values). + The idea is that only targets with a setting matching one of + the values given will be included in the search. @@ -203,9 +206,14 @@ search.pz?command=settings&session=2044502273&pz:allow[search.com:210/db1]=1 Narrows the search by one or more fields (typically facets). - The limit is sequence of one or more name=value pairs separated - by comma. - A value that contains a comma should be escaped by backslash (\). + The limit is sequence of one or more + name=args pairs separated + by comma. The args is a list of values + separated by vertical bar (|). + The meaning of | is alternative, ie OR . + A value that contains a comma (,), + a vertical bar (|) or + backslash itself must be preceded by backslash (\). The pz:limitmap configuration item defines how the searches are mapped to a database. @@ -347,6 +355,11 @@ search.pz2?session=2044502273&command=stat in the pazpar2.cfg file, or the special names 'relevance' and 'position'. + + For targets where If pz:sortmap + is defined, a sort operation will be executed (possibly including + extending the search). + @@ -506,7 +519,8 @@ search.pz2?session=605047297&command=record&id=3 name - comma-separated list of termlist names (default "subject") + comma-separated list of termlist names. If omitted, + all termlists are returned.