Registry Reference

This area is dedicated for more information on various areas in the registry and some tips and tricks in certain areas.

Properties

Here is a more detailed list of each property in the registry. There are a lot of properties and the majority you will not ever change. But they are there for you to tweak. See following sections on other certain ideas on manipulating the properties to help you in certain objectives you wish to do with the registry. Below are a list of all the properties of the registry, most are custom and require no changing, but you might want to have a read through in case of another version of the registry schema or small tweaks you wish to perform. These are either a JNDI property (environment entry) or in the WEB-INF/classes/astrogrid.properties in your webapp/context:

Extend the XML Resources and Schema

Lets say you needed to extend some of the xml resources, meaning add your own namespaces with your own element extensions. You can already do this by default, be sure your xml instance documents has schemaLocations or what is needed to make it valid XML. If your schema uses qualified namespace elements which is frowned upon in the 1.0 version, but if used you will need to change the property reg.custom.declareNS.1.0 (see above properties). This property allows you to declare a namespace with a prefix for queries. This property is not used for the XQuery search though because you declare your full xquery with namespaces on this interface method.

Changing the XQueries

You might find a more powerfull way of doing xqueries or decide to experiment on the xqueries on your own. Currently not located in the environment entries web.xml piece, but located in the file "astrogrid.properties" in the WEB-INF/classes directory under your {context name} directory. You will find a set of internal queries that you may change. These internal queries are for the Search and Keyword Search along with OAI queries that can occur. It is not used for the XQuery interface because this method you can define your own XQuery.