Archimedes Project

author
Brian Fuchs  fuchs@mpiwg-berlin.mpg.de
last revision
Wed Nov 30 12:55:17 CET 2005

Search Page - Http Interface

Some CGI querystring parameters

1. "Auth" : Per author searches

variable name: auth

value: any valid archimedes id (locator minus ".xml").



Thus, to search only a particular work, append to the query-string

    auth=002

where "auth" is the variable name and its value is a valid archimedes "id" (i.e. the "locator" from the file header minus the ".xml").

The parameter can be used more than once, to create custom search lists. For example, the query-string for a search for forms of "pondus" in

    cevag_geome_01_la_1692

    galil_dialo_01_en_1661
    casat_mecha_01_la_1684
    agric_remet_01_la_1556

would be:

    querystring=pondus&step=query&auth=001&auth=017&auth=065&auth=022

NB. An invalid id does not vitiate the search. Invalid ids are simply ignored.

A complete and up-to-date list of works and their ids can be obtained by looking at the html at http://141.14.236.86/cgi-bin/archim/test/q1?step=expert

2. "Querystring": query terms

variable name: querystring

value: query terms separated by "+". A term prefaced by %3A (":") will find only that form of the word. A term without a preceding colon will find all forms of the word, as well as forms of words with similar dictionary heads, if they exist.

querystring=natura

searches for sentences containing any form of natura


querystring=natura+%3Acirculi

searches for sentences containing any form of natura but only circuli, the genitive singular of circulus