X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=doc%2Fpazpar2_protocol.xml;h=893043ac6b6493632ae4e89cf14594b86634dd85;hb=4cbdf849a4e20dcbec675e073596b85fd4c4147b;hp=80aed1697e987b2c47f69af95322f8d004db18f6;hpb=9dc2478805339c1f34638887df17c804b993d937;p=pazpar2-moved-to-github.git
diff --git a/doc/pazpar2_protocol.xml b/doc/pazpar2_protocol.xml
index 80aed16..893043a 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.