geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Smith <dsm...@pivotal.io>
Subject Re: Proposal: Lucene indexing/searching for nested objects
Date Thu, 20 Jul 2017 18:15:53 GMT
On Thu, Jul 20, 2017 at 10:57 AM, Jacob Barrett <jbarrett@pivotal.io> wrote:

> I really feel like an annotation would make the most sense. How likely is
> it that the object could not be annotated or the serializer for the object
> is not tightly coupled with the object? Having to map objects to
> serializers externally then becomes a lot more complicated to keep
> consistent.
>

Well, with PDX serialization there may not even be a java class, or it may
not be present on the server. So annotations don't really cover all of the
use cases. With the proposed API, you could plug in an annotation based
serializer, if you wanted to.

-Dan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message