X-Git-Url: http://git.indexdata.com/cgi-bin?a=blobdiff_plain;f=doc%2Fpazpar2_protocol.xml;fp=doc%2Fpazpar2_protocol.xml;h=28545e6b8853626b9548bdb93a94e9c05d10670d;hb=a3f57f20fb1ade51cc5a99aafcc16af1a1f5b0c8;hp=4629cbf82e8ee7c78e4e6b6da592f1d61ce83d8a;hpb=7cdb8b2853f2915dded2eb6fa496c11c6f196f40;p=pazpar2-moved-to-github.git diff --git a/doc/pazpar2_protocol.xml b/doc/pazpar2_protocol.xml index 4629cbf..28545e6 100644 --- a/doc/pazpar2_protocol.xml +++ b/doc/pazpar2_protocol.xml @@ -273,8 +273,13 @@ search.pz?command=settings&session=2044502273&pz:allow[search.com:210/db1]=1 the number '0' (decreasing) or '1' (increasing). Default sort order is decreasing. Sort field names can be any field name designated as a sort field - in the pazpar2.cfg file, or the special names 'relevance' and - 'position'. + in the pazpar2.cfg file, or the special names 'relevance', + 'retrieval' and 'position'. + + + Sort type 'position' sorts by position/offset for each database. + Sort type 'retrieval' sorts by position of retrieval (first record + retrieved is 1, second record is 2, etc.). If not specified here or as @@ -287,7 +292,7 @@ search.pz?command=settings&session=2044502273&pz:allow[search.com:210/db1]=1 supports native sorting in order to get best results. Pazpar2 will trigger a new search if search criteria changes from Pazpar2 to target-based sorting or visa-versa. - + @@ -447,8 +452,13 @@ search.pz2?session=2044502273&command=stat the number '0' (decreasing) or '1' (increasing). Default sort order is decreasing. Sort field names can be any field name designated as a sort field - in the pazpar2.cfg file, or the special names 'relevance' and - 'position'. + in the pazpar2.cfg file, or the special names 'relevance', + 'retrieval' and 'position'. + + + Sort type 'position' sorts by position/offset for each database. + Sort type 'retrieval' sorts by position of retrieval (first record + retrieved is 1, second record is 2, etc.). If not specified here or as