|
|
||||||||||
| Developing and Testing Collections | ||||||||||
|
Note: If you are using Windows, we recommend that you install cygwin so you can use the Bash shell scripts we developed to simplify testing. Apache ant tasks should be utilized in the window shell. Overview When developing a collection, you need to determine what information in your collection you want to be searchable. This will determine what buckets are supported by your collection. This can be a difficult question. When asked, most people will say they want to have everything searchable. In practice, most search fields go unused, and often unpopulated. ADL has choosen to follow standard library practices, and recommends that collection developers implement a set of standard fields. The present ADL system is geared towards database-backed collections. Developing database-backed collections presently requires the development of several configuration files:
This process can be daunting and frustrating. It requires that you know your database schema, and know SQL. Developing configuration files The following is the general process for developing these configuration files:
We have developed testing tools to assist in the development of collection configuration file for database-backed collection. These tools hide the command line calls to java classes. The tools are bash shell commands that call ant build files to set up the java classpath environment, and call the java classes. Some important things to note
|
||||||||||