Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
Framework
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2019 at 13:40 UTC
Updated:
24 Nov 2020 at 05:54 UTC
Jump to comment: Most recent
Comments
Comment #2
idebr commentedComment #3
drunken monkeyThanks for reporting this issue!
Not sure whether I’d call it a bug, though. The assumption that data definitions that implement
ListDataDefinitionInterfacerepresents lists seems a pretty sound one to me.However, it’s true that it might be confusing to ignore
'is_list' => FALSE, as the intention seems quite obvious.So, yes, makes sense to change this behavior, as it might be a bit of a DX WTF.
I refactored slightly to avoid the over-long lines and committed.
Thanks again!
Comment #6
ushma commentedI am using version "8.x-1.17" and it contains this patch as per changelog.txt but I am still facing this issue.
I have added 'is_list' => FALSE in my custom processor for string field but in elastic I see "myfield": [ "xyz" ] where I was expecting "myfield": "xyz".
Can you please me to solve this out?