Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. A Solr Index based on the Terms Component for a quick entry into the list and the possibility of using the next following terms in alphabetical order.

  2. A service (browse-index-values, further details below) for preparing the terms for all indices. These terms also contain a reference to the value used for display and to identifiers from the authority file GND. Additionally, terms are created for all the variants of names listed in the GND.

  3. A service (termsquery-analysis-api, further details below) to connect the front-end and the Solr Index. This service analyzes the users input in the same way as it is done for the prepartion of the terms (2) and queries the index. Out of the result it creates a simple JSON file containing the values for display and the number of documents found.

  4. The section Index Search on the swisscollections front-end where a user can browse alphabetically through 79 indices.

...

Preparation of the terms in browse-index-values

This service prepares the terms for the index. The input are bibliographic records in MARC21 which are processed with XSLT scripts to extract the values for the alphabetic index search from the relevant fields.

...

The complete term is stored in the index. Because the first part is analyzed with the standard tokenizer and filters of the Lucene library the terms are sorted in correct alphabetic order. The following parts of the term are used for display purposes in the frontend. Conceptually this is the same principle as two columns in the SqlLite database used by VuFind.

Connecting index and front-end with the termsquery-analysis-api

This services receives the query performed on the Index Search section of swisscollections. Because the API is implemented in a JVM based language (in our case Scala / Play framework) we are able to integrate the same Lucene analyzers as we use on the index creation side. Thus the query is analyzed according to the same configuration as the analysis done during the preparation of the term in browse-index-values. With the analyzed query a search is performed on the index.

...