# enhancer
Enhances consultation events with information found in a pkb (issn, eissn, doi, title_id).
This middleware is activated by default.
# Headers
# Prerequisites
You must use enhancer after filter, parser, deduplicator middleware.
- ezpaarse-enrich : Set
falseto disable enrichment. Enabled by default.
# How to use
# ezPAARSE admin page
On the /admin/middlewares page, you can choose to move the middleware from “Available Middleware” to “Active Middleware for Processing.”
# ezPAARSE process page
On the /process page, under the “2 Settings” tab, in the ‘Settings’ menu, you can choose to move the middleware from “Available Middleware” to “Active Middleware for Processing.”
# ezp
# enrich with one file
ezp process <path of your file> \
--host <host of your ezPAARSE instance> \
--settings <settings-id> \
--header "ezPAARSE-Middlewares: enhancer" \
--out ./result.csv
# enrich with multiples files
ezp bulk <path of your directory> \
--host <host of your ezPAARSE instance> \
--settings <settings-id> \
--header "ezPAARSE-Middlewares: enhancer" \
# curl
curl -X POST -v http://localhost:59599 \
-H "ezPAARSE-Middlewares: enhancer" \
-H "Log-Format-Ezproxy: <line format>" \
-F "file=@<log file path>"