-
Notifications
You must be signed in to change notification settings - Fork 2
FWB plugin
The FWB plugin contains the project-specific business logic needed for the FWB project. This logic is implemented inside of importer steps, which are combined by a config file as so-called 'beans' in Dependency Injection (DI) terminology.
The importer steps that are dashed are referenced here, but are actually defined in another component (for more information, see https://github.com/subugoe/solr-importer/wiki/Core-functions). The other ones are specifically made for the FWB project. The 'convert' step reads TEI files and produces Solr XML index files. Then, in the 'compare' step, the correctness of the produced files is checked. This is done by extracting text parts from the input and the output files and comparing the two versions. After the Solr XML files have been uploaded to a Solr server, the step 'run tests' is executed. Its task is to perform a basic check if the files have been imported. It sends some simple queries to the Solr server and asserts that the expected results are sent back.