I am using fscrawler to index PDF documents using the following command:
/usr/bin/fscrawler --config_dir /home/user1/conf test_index --restart --loop 1
The metadata of PDF is indexed. I want to add custom fields towards the metadata of PDF and index these too. I have adapted the configuration file as follows:
metadata:
custom_field1:
type: text
custom_field2:
type: keyword
How to index these custom fields together with PDF using fscrawler?