[Samba] Spotlight with Elasticsearch

Perttu Aaltonen perttu.aaltonen at mac.com
Thu Sep 17 10:42:56 UTC 2020


Hi,

Is anyone using Spotlight with Elasticsearch in production and what kind of tweaking have you had to do? Certain search types seem to work out of the box, but others not. Perhaps fscrawler and Elasticsearch need some customization that the wiki doesn’t mention. There also seems to be a difference in using the main search box in the Finder window or the more granular options below, even if using the same search criteria and feature, like searching by file type. I managed to crash Samba 4.12.6 a few times also when searching by file name.

There is also a severe caveat in fscrawler in that it won’t index files moved/copied if the modification date is older than the last crawl run, unless a full scan is done. This effectively means that scheduled full fscrawler runs are required which can take hours with a large data set. Perhaps Tracker is still better even if it requires more work and care to setup. 

Thanks.
Perttu


More information about the samba mailing list