Skip to first unread message

mm

unread,
Sep 3, 2019, 4:34:02 PM9/3/19
to AtoM Users
hello everyone
i'm add some fields and indexing after i'm renaming phpname, but Elasticsearch refused that, i'm trying delete cash Elasticsearch but no solve.

ffsdafs.PNG


Mohamed Hussein

unread,
Sep 6, 2019, 6:21:54 AM9/6/19
to AtoM Users
Hi dan can you help me?

--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/HIGxBBMLPQM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/4311786b-df30-4b92-ac46-36b7315643bd%40googlegroups.com.

José Raddaoui

unread,
Sep 6, 2019, 7:11:42 AM9/6/19
to AtoM Users
Hello Mohamed,

To add new fields to the Elasticsearch index you need to modify the index mapping as it configured with "dynamic=strict", which throws an error when adding not declared fields to the index. There is a configuration file in the source code that represents the Elasticsearch mapping, however, this configuration file is processed to create the real mapping based on the AtoM configuration (languages enabled, etc.), so it's not a full representation of the final mapping in Elasticsearch.

From your error message, it looks like you're adding new translatable fields to the QubitInformationObject (arcnumberDesc, hightDesc). These i18n fields are added automatically to the Elasticsearch index mapping when it's (re)created, so you shouldn't need to modify the configuration file manually, just run the search populate task (from your AtoM folder):

php symfony search:populate

Please, let us know if that works.

Best regards.

On Friday, September 6, 2019 at 12:21:54 PM UTC+2, Mohamed Hussein wrote:
Hi dan can you help me?

On Wed, Sep 4, 2019, 12:34 AM mm <mohamedhu...@gmail.com> wrote:
hello everyone
i'm add some fields and indexing after i'm renaming phpname, but Elasticsearch refused that, i'm trying delete cash Elasticsearch but no solve.

ffsdafs.PNG


--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/HIGxBBMLPQM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-ato...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages