infinilabs / crawler

🕷️ An easy-to-use spider written in Golang. (previous named GOPA.)
Other
305 stars 82 forks source link

Crashes during first run #45

Open h0m3us3r opened 5 years ago

h0m3us3r commented 5 years ago

[07-09 01:48:29] [ERR] [app.go:244] shutdown: elastic: Error 400 (Bad Request): Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [doc : {dynamic_templates=[{strings={mapping={ignore_above=256, type=keyword}, match_mapping_type=string}}]}] [type=mapper_parsing_exception]

medcl commented 5 years ago

wha't your elasticsearch version, maybe check the new release?

switchtrue commented 5 years ago

It fails with the above error when using elasticsearch 7.3.2 that I tested on. The latest available version of elasticsearch at the time of release of GOPA 0.11.0 was 6.4.0. I rolled back to this and it worked fine.

medcl commented 5 years ago

can you help to check with the latest version? @switchtrue , just updated.