[Samba] Tweaking Spotlight
slow at samba.org
Fri Nov 19 12:20:20 UTC 2021
On 11/19/21 13:07, Perttu Aaltonen via samba wrote:
> I’m testing Spotlight with Elasticsearch + fscrawler on Samba 4.14
> and it’s mostly working fine. But I’d like to deal with these:
> 1. Sometimes typing something in the Mac Finder window’s top right
> corner doesn’t work. Either by itself or selecting “name matches:”.
> In the log I see this:
> [2021/11/19 11:17:08.663810, 0]
> es_map_sl_attr: No JSON type mapping for [kMDItemAuthorAddresses]
> [2021/11/19 11:17:08.664252, 0]
> slrpc_open_query: backend search_start failed
latest version has
elasticsearch:ignore unknown attribute = yes | no
elasticsearch:ignore unknown type = yes | no
Cf man smb.conf.
> It might work later so it’s not always consistent. Using the same
> search term in the more granular search section with either “contents
> contains” or “name contains” works every time.
> 2. Searching by file name is case-sensitive. I’m not sure how and
> where to tweak it so Samba would return results with any case. Has
> anyone done this modification?
hm, I don't remember off hand, but I guess this depends on how the
indexer configures the indexes.
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...
Size: 840 bytes
Desc: OpenPGP digital signature
More information about the samba