This application implements a Federated Content Search (FCS) endpoint for the German Newspaper Portal.
The aim of Federated Content Search is to enable a content search via distributed resources. The German Digital Library provides the German Newspaper Portal with a searchable corpus for this purpose.
The endpoint is published at the following URL: https://labs.deutsche-digitale-bibliothek.de/app/dzp-fcs
The following searches are given as examples.
- Search for "Berlin"
- Search for "Berlin ist schön"
- Search for "Berlin" and "Hamburg"
The endpoint is used for:
- Text+: https://fcs.text-plus.org/?&query="Berlin ist schön"
- Text+: https://text-plus.org/en/ (Search → Content)
- SAW Leipzig: https://tppssi-demo.saw-leipzig.de/ (Search in content)
- etc.
This Java servlet was implemented using the FCS Endpoint Archetype. Further information can be found there.
The build automation tool "Maven" can be used to create the Web Application Archive (WAR). The following command, executed in the folder containing the pom.xml
file, creates a publishable WAR file.
mvn [clean] package
Yes, there's a docker container for this application available at GitHub.
https://github.com/mbuechner/dzp-fcs/pkgs/container/dzp-fcs
- Checkout GitHub repository:
git clone https://github.com/mbuechner/dzp-fcs
- Go into folder:
cd dzp-fcs
- Run
docker build -t dzp-fcs .
- Start container with:
docker run -p 8080:8080 -P -e "TOMCAT_PASSWORD=verysecret" dzp-fcs
- Open browser: http://localhost:8080/
Variable | Description | Default value |
---|---|---|
TOMCAT_PASSWORD | Apache Tomcat password. See Apache Tomcat packaged by Bitnami |
No default |
DZP_FCS_SOLR_ENDPOINT | Endpoint url for the Solr search engine of German Newspaper Portal | https://api.deutsche-digitale-bibliothek.de/search/index/newspaper-issues/select |
DZP_FCS_PATH_PREFIX | Path prefix (if you change it to /myapp/* , the servlet will serve under http://localhost:8080/myapp/ |
/* |