[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    RE: Solr copyfield error
From:       Paul Ryder <paul () greenwaymediatech ! com>
Date:       2023-02-23 14:25:16
Message-ID: 7815c551a4824474bcce1c4b5fc1f14f () greenwaymediatech ! com
[Download RAW message or body]

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


-----Original Message-----
From: Paul Ryder <paul@greenwaymediatech.com> 
Sent: 23 February 2023 13:55
To: users@solr.apache.org
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic