Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How Can We Restrict an X Services Search by Institution

    • Article Type: General
    • Product: Primo
    • Product Version: 2

    I'm doing some basic searching using X services and would like my results to be restricted to a particular institution. No matter which parameters I try for Location, the results always contain some records belonging to other institutions.

    The API document example shows a call to brief search for the Institution "WESTERN" that returns a result belonging to Institution "NORTH," so I assume the institution parameter isn't enough. In this case, obviously, I only want results pertaining to institution INST1.
    I've tried other variations of the Location parameter (and leaving it out) with the same results. Perhaps I'm misinterpreting the API documentation, and there is no example using Location, i.e., the meaning of "scope restriction (search constraint)."

    The syntax for searching by scope is:,scope:("INST1")&onCampus=false&query=any,contains,goats&indx=0&bulkSize=10&dym=true&highlight=false&lang=eng

    This is the syntax to combine scopes:

    • Article last edited: 10/8/2013