Gordon Davis
2020-Mar-21 01:44 UTC
[Samba] How to implement Spotlight support using ElasticSearch
Samba 4.12 release notes <https://www.samba.org/samba/history/samba-4.12.0.html> mention "New Spotlight backend for Elasticsearch" and specify some new parameters for smb.conf, but there appear to be zero guides or further instructions for getting this to work. I'm not even clear how filesystem indexing is supposed to work. ElasticSearch appears to be simply a searchable database system that needs to be combined with other solutions in order to actual get data into it. There are several references in the samba source to a file "elasticsearch_mappings.json" usually installed in `/usr/share/samba/mdssvc/`, but I don't see this file on any of my Samba installs. Basically, I'm wondering how to actually set ElasticSearch up to index the filesystem and store the data in the format Samba expects in order to support Spotlight.
Ralph Böhme
2020-Mar-21 05:19 UTC
[Samba] How to implement Spotlight support using ElasticSearch
> Basically, I'm wondering how to actually set ElasticSearch up to index the > filesystem and store the data in the format Samba expects in order to > support Spotlight.fresh from the press: https://wiki.samba.org/index.php/Spotlight_with_Elasticsearch_Backend -slow -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://sernet.de/en/samba/
Gordon Davis
2020-Mar-21 06:47 UTC
[Samba] How to implement Spotlight support using ElasticSearch
Is the `--enable-spotlight` option still required when building Samba if using elasticsearch? On Fri, Mar 20, 2020 at 10:19 PM Ralph B?hme <slow at samba.org> wrote:> > Basically, I'm wondering how to actually set ElasticSearch up to index > the > > filesystem and store the data in the format Samba expects in order to > > support Spotlight. > > fresh from the press: > > https://wiki.samba.org/index.php/Spotlight_with_Elasticsearch_Backend > > -slow > > -- > Ralph Boehme, Samba Team https://samba.org/ > Samba Developer, SerNet GmbH https://sernet.de/en/samba/ >