On Tue, Mar 7, 2017 at 2:30 PM, Xiaojian Zhou <gz...@pivotal.io> wrote:
> If so, we have to implement fromData() and toData() in > LuceneResultStructImpl.java for K and V. But we don't know their type yet. > > You don't need to know the type, you just call DataSerializer.writeObject. -Dan