Should have said, this is Solr 8.1.1 running under Sitecore managed_schema... 


-----Original Message-----
From: Paul Ryder <[email protected]> 
Sent: 23 February 2023 13:55
To: [email protected]
Subject: Solr copyfield error

Hi All,

Getting errors on Solr such as "copyfield dest: 'fred_str' is not an explicit 
field and doesn't match a dynamic field"

The solrconfig has an entry

<lst name="copyField">
        <str name="dest">*_str</str>
        <int name="maxChars">256</int>
</lst>

This seems to be relation to Guessing field types

The schema does not contain an dynamic field entry for _str  (it only has _s 
for string type)

So if Solr is copying fields to its guessed type and also to _str (according to 
docs) then shouldn't the dynamic field *_str be in schema?

OR

Should I edit the copyField entry "<str name="dest">*_str</str>" to be "<str 
name="dest">*_s</str>" instead?

Thanks, Paul


Reply via email to