You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "xiaojian zhou (Jira)" <ji...@apache.org> on 2019/09/13 22:30:00 UTC
[jira] [Created] (GEODE-7208) FlatFormatSerializer should index on
inherited fields
xiaojian zhou created GEODE-7208:
------------------------------------
Summary: FlatFormatSerializer should index on inherited fields
Key: GEODE-7208
URL: https://issues.apache.org/jira/browse/GEODE-7208
Project: Geode
Issue Type: Bug
Components: lucene
Reporter: xiaojian zhou
Fix For: 1.11.0
If user class Customer with subclass LocalCustomer. The subclass inherited some fields from Customer.
If all the inherited fields are primitive type, default serializer will find the field reflection.
However, if the inherited fields are collection or nest object, then we have to use FlatFormatSerializer to index them. But current FlatFormatSerializer used getDeclaredField(), which only can find current class, not for all its superclasses.
The fix is find the inherited fields in superclasses.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)