FSCrawler not indexing certain fields


(Kishore Sridhar) #1

Hello,

I'm using FSCrawler 2.4 and it does well to scan the root directory and index the files. However, I notice that FSCrawler does not index all the fields. Eg. "file.filename" is searchable but "file.url" is not searchable because it was not indexed.
Is there a way to configure in the FSCrawler job settings as to which fields should be indexed? This would be really helpful because I need to run searches on the File URL.

es

Thanks,
Kishore


(David Pilato) #2

You can provide your own mapping for each job. Have a look in ~/.fscrawler/{job_name}/_settings.json where a default mapping is provided.

Adapt this file to your needs, deleting the existing index job_name and restart FSCrawler.

More info on https://github.com/dadoonet/fscrawler#creating-your-own-mapping-analyzers


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.