I have Sitecore 9.1 instance with SXA 1.8 and Solr. I am new to Solr but its service and admin site seem to be running ok. However there are a lot of errors in the log of Solr.
40620 2019:01:11 11:17:18 ERROR Solr Error : ["undefined field local"] - Query attempted: [((local:("\/Data\/Text 3") AND _path: (dc00ec1b9747438dbf45fd9e7b4cca70)) AND _language:(en))]
The same error repeated for many paths and queries but "undefined field local" is consistent.
Posts seem to mention having an error config somewhere but I'm not sure what to be looking for and where.
I am using Solr 7.2.1 and I added master and web cores for sxa with names matching the config file, populated the solr managed schema and rebuilt in sitecore. SXA Web is showing as Optimised and Current (green ticks) but SXA Master is Current but not Optimised.
Rebuilding SXA Master index generates those errors.