Daniƫl van der Wal
2022-Nov-22 09:17 UTC
[Samba] Mac OS X Spotlight feature set Samba with Elasticsearch as a backend
I have a question regarding the search options supported by the Samba Spotlight configuration with Elasticsearch as a backend: First of all it is a great enhancement for Mac OS X user who use a Samba share and search for Documents! What is needed to make it equally good / supporting the same search options as the native search in Mac OS X? We believe we configured our Elasticsearch backend according to the documentation provided with the index systems fscrawler. But run into search limitations compared to the search feature-set Mac OS X supports in the native search index. We are looking for thefull set of filters for example kind: restricting dates and Search Operators like AND OR. Are we missing something or is this a know limitation? From what I read samba forwards the query to elasticsearch. As there are no plans on the roadmap, would the correct way to submit a patch or sponsor a developer? Thanks in advance for helping to find the right way enhance this search feature, Dani?l van der Wal
Ralph Boehme
2022-Nov-22 12:50 UTC
[Samba] Mac OS X Spotlight feature set Samba with Elasticsearch as a backend
Hello Dani?l, On 11/22/22 10:17, Dani?l van der Wal via samba wrote:> I have a question regarding the search options supported by the Samba > Spotlight configuration with Elasticsearch as a backend: First of all > it is a great enhancement for Mac OS X user who use a Samba share and > search for Documents! > > What is needed to make it equally good / supporting the same search > options as the native search in Mac OS X?the current set of supported feautures can only be read from the mapping code which lives in: source3/rpc_server/mdssvc/es_parser.y and the supported attributes mappings in source3/rpc_server/mdssvc/elasticsearch_mappings.json Basically, much should work, some will not work. :)> We believe we configured > our Elasticsearch backend according to the documentation provided > with the index systems fscrawler. But run into search limitations > compared to the search feature-set Mac OS X supports in the native > search index. > > We are looking for thefull set of filters for example kind: > restricting dates and Search Operators like AND OR.dates should work as should expressions.> Are we missing > something or is this a know limitation? From what I read samba > forwards the query to elasticsearch. > > As there are no plans on the roadmap, would the correct way to submit > a patch or sponsor a developer?Yes and yes! :))) Cheers! -slow -- Ralph Boehme, Samba Team https://samba.org/ SerNet Samba Team Lead https://sernet.de/en/team-samba -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20221122/88185b10/OpenPGP_signature.sig>