Christopher Snowhill
2022-Jul-03 00:52 UTC
[Samba] Samba failing to connect to ElasticSearch v8 index
I am attempting to use Samba v4.13.13-Debian with ElasticSearch v8.3.1, which is receiving index data from fs2es-indexer. It fails to be searchable, spitting out the following into my smbd log for each searching client: [2022/07/02 01:32:05.986986, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:977(slrpc_open_query) slrpc_open_query: backend search_start failed [2022/07/02 17:35:30.811248, 0] ./source3/rpc_server/mdssvc/es_parser.y:249(map_type) map_type: Mapping type [public.*-archive] failed [2022/07/02 17:35:30.811424, 0] ./source3/rpc_server/mdssvc/es_parser.y:555(map_expr) map_expr: Mapping [file.content_type = public.*-archive ()] failed [2022/07/02 17:35:30.811434, 0] ../../source3/rpc_server/mdssvc/mdssvc.c:977(slrpc_open_query) slrpc_open_query: backend search_start failed My Spotlight configuration is as follows: [global] ... spotlight backend = elasticsearch elasticsearch:address = localhost elasticsearch:port = 9200 elasticsearch:use tls = no elasticsearch:index = files [share] ... spotlight = yes