This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Extensions » eZ Find » Failed indexing

Failed indexing

Failed indexing

Saturday 09 June 2012 11:15:13 pm - 11 replies

Hey developer,

I can't index my upgraded project anymore. With ez 4.3 and ezfind 2.2 it worked, know with ez 2012.5 and ezfind 2.7 I get Failed indexing... This fields are object relations. Can anybody help me?

 SEVERE: org.apache.solr.common.SolrException: ERROR:  [doc=b5a79e41960747f3f9deb3d881ef8196] multiple values encountered for  non multiValued field submeta_author_profile___always_available_b:  [true, true]
 SEVERE: org.apache.solr.common.SolrException: ERROR:  [doc=80b454f46d8b1d9fff9ac5f5a4f523e7] multiple values encountered for  non multiValued field submeta_categories___always_available_b: [true,  true]
 SEVERE: org.apache.solr.common.SolrException: ERROR:  [doc=d099d39597ef49faaabee834330cd3d4] multiple values encountered for  non multiValued field submeta_download_list___always_available_b:  [false, false, false, false]

Saturday 09 June 2012 11:54:40 pm

I think this is because the schema in solr has changed. What happens if you delete the index all together and make sure to adhere to the requirements for ezfind 2.7?Are you running the default jetty server?

Modified on Saturday 09 June 2012 11:55:59 pm by Lars Eirik Roenning

Sunday 10 June 2012 10:21:52 am

Hi, I am using the default java solr data from ezfind 2.7 in an solr multicore setup.
I tried to start with an new index. I figured out yesterday, that after manually  updating all objectrelations in an object the reindex for this is ok.

Sunday 10 June 2012 10:49:38 am


it seems like I introduced this regression in this commit sad.gif Emoticon This is because I forgot to add the multi valued field for the always available flag in the related objects. Try to add the needed field by applying this patch on the schema.xml (or do it manually):

diff --git a/java/solr/conf/schema.xml b/java/solr/conf/schema.xml
index a5ae120..4afe16f 100644
--- a/java/solr/conf/schema.xml
+++ b/java/solr/conf/schema.xml
@@ -702,6 +702,7 @@
        <dynamicField name="*___class_identifier_ms" type="mstring" indexed="true" stored="true" multiValued="true"/>          <!-- Class identifier -->
        <dynamicField name="*___main_node_id_si" type="sint" indexed="true" stored="true" multiValued="true"/>           <!-- Main node ID -->
        <dynamicField name="*___language_code_ms" type="mstring" indexed="true" stored="true" multiValued="true"/>          <!-- Language code -->
+       <dynamicField name="*___always_available_b" type="boolean" indexed="true" stored="true" multiValued="true" />         <!-- always available flag -->
        <dynamicField name="*___available_language_codes_ms" type="mstring" indexed="true" stored="true" multiValued="true"/>          <!-- List of available language codes in the corresponding content object -->
        <dynamicField name="*___remote_id_ms" type="mstring" indexed="true" stored="true" multiValued="true"/>          <!-- Remote ID -->
        <dynamicField name="*___anon_access_b" type="boolean" indexed="true" stored="false"  multiValued="true"/>         <!-- Anonymous user access to object -->

then restart Solr and it should be OK


Sunday 10 June 2012 10:51:27 am

I've just read that you have a multicore setup, so the same operation has to be done on the schema.xml of each Solr core.


Sunday 10 June 2012 12:15:29 pm

It works, no error anymore, thank you very much Damien =)

best regards, scrieler

Modified on Sunday 10 June 2012 12:28:30 pm by scrieler _

Friday 29 June 2012 2:41:00 pm

I have the same problem, tried to apply the patch but no success, here's some additional info:


eZSolrBase -> addDocs
 $postString is:

         <field name="meta_guid_ms">XXX</field>
         <field name="meta_installation_id_ms">XXX</field>
         <field name="meta_installation_url_ms">http://XXXX</field>
         <field name="meta_name_t">XXXX</field>
         <field name="meta_sort_name_ms">XXXX</field>
         <field name="meta_anon_access_b">false</field>
         <field name="meta_language_code_ms">nor-NO</field>
         <field name="meta_available_language_codes_ms">nor-NO</field>
         <field name="meta_owner_name_t">Administrator User</field>
         <field name="meta_owner_group_id_si">13</field>
         <field name="meta_object_states_si">1</field>
         <field name="meta_id_si">247</field>
         <field name="meta_class_name_ms">Folder</field>
         <field name="meta_section_id_si">1</field>
         <field name="meta_owner_id_si">14</field>
         <field name="meta_contentclass_id_si">1</field>
         <field name="meta_current_version_si">13</field>
         <field name="meta_remote_id_ms">XXXX</field>
         <field name="meta_class_identifier_ms">folder</field>
         <field name="meta_main_node_id_si">7036</field>
         <field name="meta_modified_dt">2012-02-01T12:40:49.000Z</field>
         <field name="meta_published_dt">2008-09-08T09:45:24.000Z</field>
         <field name="meta_main_parent_node_id_si">167</field>
         <field name="meta_node_id_si">18393</field>
         <field name="meta_node_id_si">7036</field>
         <field name="meta_path_string_ms">/1/2/167/231/437/18393/</field>
         <field name="meta_path_string_ms">/1/2/167/7036/</field>
          <field  name="meta_url_alias_ms">XXXX/YYYYY</field>
         <field name="meta_url_alias_ms">XXXX/YYYY</field>
         <field name="meta_is_hidden_b">true</field>
         <field name="meta_is_hidden_b">true</field>
         <field name="meta_is_invisible_b">true</field>
         <field name="meta_is_invisible_b">true</field>
         <field name="meta_sort_field_ms">1</field>
         <field name="meta_sort_field_ms">8</field>
         <field name="meta_sort_order_ms">1</field>
         <field name="meta_sort_order_ms">1</field>
         <field name="meta_priority_si">150</field>
         <field name="meta_priority_si">45</field>
         <field name="meta_depth_si">5</field>
         <field name="meta_depth_si">3</field>
         <field name="meta_view_count_si">0</field>
         <field name="meta_view_count_si">0</field>
         <field name="main_node_meta_node_id_si">7036</field>
         <field name="main_node_meta_path_string_ms">/1/2/167/7036/</field>
         <field name="main_node_meta_url_alias_ms">XXX/YYYY</field>
         <field name="main_node_meta_is_hidden_b">true</field>
         <field name="main_node_meta_is_invisible_b">true</field>
         <field name="main_node_meta_sort_field_ms">8</field>
         <field name="main_node_meta_sort_order_ms">1</field>
         <field name="main_node_meta_priority_si">45</field>
         <field name="main_node_meta_depth_si">3</field>
         <field name="main_node_meta_view_count_si">0</field>
         <field name="meta_main_url_alias_ms">XXXX/YYYYg</field>
         <field name="meta_main_path_string_ms">/1/2/XXX/</field>
         <field name="meta_path_si">1</field>
         <field name="meta_path_si">2</field>
         <field name="meta_path_si">167</field>
         <field name="meta_path_si">231</field>
         <field name="meta_path_si">437</field>
         <field name="meta_path_si">18393</field>
         <field name="meta_path_si">1</field>
         <field name="meta_path_si">2</field>
         <field name="meta_path_si">167</field>
         <field name="meta_path_si">7036</field>
         <field name="meta_main_path_element_0_si">1</field>
         <field name="meta_main_path_element_1_si">2</field>
         <field name="meta_main_path_element_2_si">167</field>
         <field name="meta_main_path_element_3_si">7036</field>
         <field name="attr_name_t">XXXX</field>
         <field name="attr_name_s">XXXX</field>
         <field name="attr_short_name_t"></field>
         <field name="attr_short_name_s"></field>
         <field name="attr_short_description_t">
         <field name="attr_description_t"></field>
         <field name="attr_show_in_menu_b">true</field>
         <field name="attr_right_column_t">
         <field name="attr_vis_publiseringsdato_b">true</field>
         <field name="attr_rss_url_t">rss/feed/</field>
         <field name="attr_rss_url_s">rss/feed/</field>
         <field name="attr_share_this_b">false</field>

 $updateResult is:

         <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
         <title>Error 400 ERROR:  [XXXHASH]  multiple values encountered for non  multiValued field meta_priority_si:  [150, 45]</title>
         <h2>HTTP ERROR 400</h2>
         <p>Problem accessing /solr/update. Reason:
             <pre>    ERROR: [XXXHASH]   multiple values encountered for non multiValued field meta_priority_si:   [150, 45]</pre>
         <hr />
             <small>Powered by Jetty://</small>

Modified on Friday 29 June 2012 4:41:59 pm by Thiago Campos Viana

Friday 29 June 2012 4:12:27 pm

@Thiago: that's not the same issue even if the problem in Solr is pretty much the same (trying to put multiple values in a not multivalued fields), yours is about the priority field.I think this priority one was fixed some weeks ago. Which version of eZ Publish/eZ Find do you use ?

Friday 29 June 2012 4:43:53 pm

I'm using ezfind 2.7 with ez publish 4.7 enterprise.

Modified on Friday 29 June 2012 4:44:12 pm by Thiago Campos Viana

Tuesday 03 July 2012 11:19:27 am

Nevermind, my problem may be due to two ezfind instances running at the same time.

Saturday 01 September 2012 11:19:07 pm


i have the same issue with Community Project 2012.5. / eZ Find 2.7

Solr can't indexing relation list attribute when there is more than one object on every class, i got this error :

GRAVE: org.apache.solr.common.SolrException: ERROR: [doc=0198342842b84e01dc4bff468f2075f5] multiple values encountered for non multiValued field submeta_artists___always_available_b: [true, true]


any idea ?

Wednesday 13 February 2013 6:19:20 pm

I've got exactly the same problem mentioned by Joël LEGER
Object with more than one object relation in "topics" or "audiences" attribute cannot be indexed. 

GRAVE: org.apache.solr.common.SolrException: ERROR: [doc=3f59121e45521c3a4aaf42bfc88e6e95] multiple values encountered for non multiValued field submeta_topics___always_available_b: [true, true]

GRAVE: org.apache.solr.common.SolrException: ERROR: [doc=7a604bf66568886d9f8d212cce8ce6c9] multiple values encountered for non multiValued field submeta_audiences___always_available_b: [true, true, true, true]

Version:Community Project 2012.6 (Community Project 2012.6)

Modified on Wednesday 13 February 2013 6:26:24 pm by Guillaume Kempfer


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from