I am new to elastic search.
When i run
php artisan scout:import 'modelname'
for the first time , i have used integer type, and by default it becomes integer. After that i changed my values to true or false. But i am getting below error.
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"failed to parse [my_field]"}],"type":"mapper_parsing_exception","reason":"failed to parse [has_dup
licate]","caused_by":{"type":"json_parse_exception","reason":"Current token (VALUE_FALSE) not numeric, can not use numeric value accessors\n at [Source: org.elasticsearch.c
ommon.bytes.BytesReference$MarkSupportingStreamInputWrapper@433538c7; line: 1, column: 258]"}},"status":400}
Please advise me how can make that field boolean? Thanks in advance
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/31PRDfT
via IFTTT
Aucun commentaire:
Enregistrer un commentaire