| |
Methods defined here:
- __init__(self, zfile=None, srwfile=None)
- Create a config from the given ZeeRex files
- expireResultSet(self, rset)
- log(self, msg)
- resolvePrefix(self, p)
- zconnect(self)
- Reconnect to the Z server
Data and non-method functions defined here:
- SRWZeeRex = ''
- __doc__ = ' Configuration holder per Z Database '
- __module__ = 'SRWConfig'
- conn = None
- contextSetNamespaces = {'bath': 'http://www.loc.gov/zing/cql/context-sets/bath/v1.0/', 'ccg': 'http://srw.cheshire3.org/contextSets/ccg/1.1/', 'ccg_l5r': 'http://srw.cheshire3.org/contextSets/ccg/l5r/1.0/', 'cql': 'http://www.lov.gov/zing/cql/contextSets/cql/v1.1/', 'dc': 'http://www.loc.gov/zing/cql/dc-indexes/v1.0/', 'net': 'http://srw.cheshire3.org/contextSets/net/1.0/', 'rec': 'http://srw.cheshire3.org/contextSets/rec/1.0/', 'srw': 'http://www.lov.gov/zing/cql/contextSets/cql/v1.1/', 'zthes': 'http://zthes.z3950.org/cql/1.0/'}
- convertFromSGML = 1
- databaseName = 'default'
- databaseSchema = ''
- defaultContextSet = 'dc'
- defaultIndex = 'title'
- defaultNumberOfRecords = 1
- defaultNumberOfTerms = 20
- defaultRelation = 'any'
- defaultResponsePosition = 1
- defaultRetrieveSchema = 'dc'
- defaultSortAscending = 1
- defaultSortCaseSensitive = 0
- defaultSortSchema = 'dc'
- elementSetName = 'F'
- host = 'localhost'
- indexHash = {}
- logLevel = 3
- logfile = None
- maxTTL = 600
- maximumRecords = 50
- port = 210
- preferredRecordSyntax = 'XML'
- protocolNamespaces = {'diag': 'http://www.loc.gov/zing/srw/diagnostic/', 'srw': 'http://www.loc.gov/zing/srw/', 'xSort': 'http://www.loc.gov/zing/srw/xsortkeys/', 'xcql': 'http://www.loc.gov/zing/srw/xcql/'}
- recordNamespaces = {'ccg': 'http://srw.o-r-g.org/schemas/ccg/1.0/', 'dc': 'http://www.loc.gov/zing/srw/dcschema/v1.0/', 'diag': 'http://www.loc.gov/zing/srw/diagnostic/', 'ead': 'http://www.loc.gov/ead/', 'marcsgml': 'http://srw.o-r-g.org/schemas/marcsgml/12.0/', 'marcxml': 'http://www.loc.gov/marcxml/', 'metar': 'http://srw.o-r-g.org/schemas/metar/1.0/', 'mods': 'http://www.loc.gov/mods/', 'oaimarc': 'http://www.openarchives.org/OAI/1.1/oai_marc', 'onix': 'http://www.editeur.org/onix/ReferenceNames/', ...}
- recordSchemaHash = {}
- url = ''
- useWordIndexes = 1
- xslUrl = ''
|