Execute full-text search over UFDC pages.

This search looks for text on individual pages,
and returns only the page that containse the searched terms,
NOT the entire document.

Text Search Options:
Exact match: "term=yourterm"
Fuzzy match: "term=yourterm&fuzz=true"
Phrase match: "phrase=this is your phrase"

Phrase Match does not support fuzziness.

Words in phrases should be separated by "%20" or "+".
Spaces cause only the first word to be be passed-thru to the API.

It is assumed you're searching for terms in the field "pagetext",
(otherwise use the regular /search endpoint to search other fields).

Pagination works just like regular search and mapsearch.

GET /pagetext?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "error": "unknown map query field",
    "error_field": "format",
    "choices_are": [
        "bibid",
        "vid",
        "pageorder",
        "thumbnail",
        "pagename",
        "pageid",
        "aggregationcodes",
        "accesscode",
        "embargoend",
        "conv_date",
        "pagetext",
        "visibility_restrictions",
        "ip_restriction_mask"
    ],
    "ip": "216.73.216.118"
}