ElasticSearch with FsCrawler Eror

I need help please ! I'm using Fscrawler for process diferent documents with diferents formats (pdf, wxcel, word, RTF, etc) but i'm have a stranger error: `

10:03:29,868 INFO  [f.p.e.c.f.c.BootstrapChecks] Memory [Free/Total=Percent]: HEAP [183.4mb/3.9gb=4.51%], RAM [3gb/15.8gb=19.34%], Swap [8.1gb/28.3gb=28.82%].
10:03:30,146 INFO  [f.p.e.c.f.FsCrawlerImpl] Starting FS crawler
10:03:30,147 INFO  [f.p.e.c.f.FsCrawlerImpl] FS crawler started in watch mode. It will run unless you stop it with CTRL+C.
10:03:30,575 INFO  [f.p.e.c.f.c.ElasticsearchClient] Elasticsearch Client connected to a node running version 8.12.1
10:03:30,625 INFO  [f.p.e.c.f.c.ElasticsearchClient] Elasticsearch Client connected to a node running version 8.12.1
10:03:30,636 WARN  [f.p.e.c.f.c.ElasticsearchClient] failed to create index [documento_index], disabling crawler...
10:03:30,642 FATAL [f.p.e.c.f.c.FsCrawlerCli] We can not start Elasticsearch Client. Exiting.
java.lang.IllegalArgumentException: Mapping file _settings.json does not exist for elasticsearch version 8 in [C:\Users\DMARIN\.fscrawler\_default] dir
        at fr.pilato.elasticsearch.crawler.fs.framework.FsCrawlerUtil.readDefaultJsonVersionedFile(FsCrawlerUtil.java:86) ~[fscrawler-framework-2.10-SNAPSHOT.jar:?]
        at fr.pilato.elasticsearch.crawler.fs.framework.FsCrawlerUtil.readJsonFile(FsCrawlerUtil.java:121) ~[fscrawler-framework-2.10-SNAPSHOT.jar:?]
        at fr.pilato.elasticsearch.crawler.fs.client.ElasticsearchClient.createIndex(ElasticsearchClient.java:695) ~[fscrawler-elasticsearch-client-2.10-SNAPSHOT.jar:?]
        at fr.pilato.elasticsearch.crawler.fs.client.ElasticsearchClient.createIndices(ElasticsearchClient.java:412) ~[fscrawler-elasticsearch-client-2.10-SNAPSHOT.jar:?]
        at fr.pilato.elasticsearch.crawler.fs.service.FsCrawlerDocumentServiceElasticsearchImpl.createSchema(FsCrawlerDocumentServiceElasticsearchImpl.java:71) ~[fscrawler-core-2.10-SNAPSHOT.jar:?]
        at fr.pilato.elasticsearch.crawler.fs.FsCrawlerImpl.start(FsCrawlerImpl.java:118) ~[fscrawler-core-2.10-SNAPSHOT.jar:?] 
        at fr.pilato.elasticsearch.crawler.fs.cli.FsCrawlerCli.startEsClient(FsCrawlerCli.java:322) [fscrawler-cli-2.10-SNAPSHOT.jar:?]
        at fr.pilato.elasticsearch.crawler.fs.cli.FsCrawlerCli.main(FsCrawlerCli.java:298) [fscrawler-cli-2.10-SNAPSHOT.jar:?]  
10:03:30,661 INFO  [f.p.e.c.f.FsCrawlerImpl] FS crawler [documento_index] stopped
10:03:30,663 INFO  [f.p.e.c.f.FsCrawlerImpl] FS crawler [documento_index] stopped

The .json file exist in the correct path, I don't understand this error, please help!

This might be a problem with windows path.
Did you download the latest snapshot?

1 Like

Yes i did it, i'm download:

It's from 2022! Too old. Please take the latest one.

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