Search verb

Search verb notes from May 23-24 meeting.


Verb function: Submit a Query
Verb name: Search
Verb version: 1.0
NSF-DFG-Math usage: required
Fixed arguments: none
Keyword arguments: see below
MIMETYPE response: text/xml
Status Codes responses: 200, 400
Verb Description:

Specifies a search request to the index server. Keyword Arguments are a set of bibliographic fields and values specifying the search criteria. Returns a structured response that is a list of each document that matches the search criteria.

Requests

Valid bibliographic field arguments can vary among index servers. The Describe-Verb verb returns the set of field arguments for a particular server. The minimal and standard set of bibliographic field arguments is as follows:

Operator Precedence: queries are assumed to be submitted using Reverse Polish Notation (RPN)

Rules for bibliographic field matching: A token in a field is either an unquoted word or a quoted string. Tokens are matched to bibliographic entries according to the following rules:

Responses

Note that clients should not assume any logical ordering of the records returned.

Example Request:
Protocol=Dienst&Service=Index&ver=6.0&verb=Search&field1=author&value1=davis&op1=or&field2=author&value2=fox 
Example Request:
Protocol=Dienst&Service=Index&ver=6.0&verb=Search&field1=author&value1=donald&op1=and&field2=title&value2=robot 
Example Request:
Protocol=Dienst&Service=Index&ver=6.0&verb=Search&field1=author&value1=donald&op1=or&field2=title&value2=computer+vision&op2=and&field3=authority&value3=xxx 
Example Response:
<?xml version="1.0" encoding="UTF-8"?>
  <Search version="1.0">
    <record>
       <handle>handlecorp/1112</handle>
       <rank>2857</rank>
       <author>Doe, J.</author>
       <author>Public, J. Q.</author>
       <title>Answering Queries</title>
       <date>19941106</date>
    </record>
    <record>
       <handle>handlecorp/1110</handle>
       <rank>2859</rank>
       <author>Mouse, M.</author>
       <author>Disney, W.</author>
       <title>Success with Cartoons</title>
       <date>19941106</date>
    </record>
  </SearchBoolean>