Details
-
Bug
-
Resolution: Invalid
-
High
-
None
-
1.9.1, 1.11.0
-
php 7.1
Solr 6.4.2 or 6.6.0
ezplatform-solr-search-engine 1.3.0 or 1.4.2
Description
Hello,
In one of my projects, i added an “ezgmaplocation” attribute in an existing Content Type.
Since then, when i try to launch ‘php app/console ezplatform:reindex’ command i am having this error message:
"ERROR: [doc=location845langfrefr] multiple values encountered for non multiValued field content_location_value_location_gl: [, ]"
Regarding my log, i was hoping that having the "multiValued" forced would help me.
But, when i tried to update my
like this:/opt/solr/server/ez/template/schema.xml
<dynamicField name="*_gl" type="location" indexed="true" stored="true" multiValued="true"/>
I since got a new error message:
Point must be in \'lat, lon\' or \'x y\' format:
I tried a curl solr request in order to try to send a basic maplocation-like attribute with this form
and it had been accepted.my_attr_gl: [$myLat, $myLong]
Step to reproduce:
1- Create content type containing various attributes excepting ezgmaplocation
2- Create some content
3- Index content in Solr, it should work well
4- Update Content Type by adding an ezgmaplocation attribute
5- Try reindexing content, it should give you error log
Please not that regarding my logs this should also appeared without editing an existing Content Type, by creating by default a Content Type with an ezgmaplocation field.
It seems that global solr ezgmaplocation field configuration got an issue.
Thank you in advance.
Regards,