Yup, that's how I'd do it. On 04/03/2017 07:58 PM, Sanne Grinovero wrote: > Hi Galder, > > did you consider using a non-indexed cache for the second case? > > Thanks, > Sanne > > > On 3 April 2017 at 16:44, Galder Zamarreño <gal...@redhat.com> wrote: >> Hi Adrian, >> >> I had a question regarding proto files. I have a single domain of objects >> that I want to use for two different use cases. >> >> In the first use case, I want the proto files to be indexed so I define the >> comments and related @Indexed/@Field...etc annotations. >> >> In the second use case, I'm merely using proto files as way to achieve >> compatibility mode, and I don't want any indexing to be done at all (cache >> is distributed with only compatibility and protostream marshaller enabled). >> >> Do I need a separate .proto file for this second use case where I remove the >> commented sections that enable indexing? Or can I use the one for the first >> use case? I really want to avoid any indexing happening in the second use >> case since it'd slow down things for no reason. >> >> Cheers, >> -- >> Galder Zamarreño >> Infinispan, Red Hat >> >> >> _______________________________________________ >> infinispan-dev mailing list >> infinispan-dev@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________ infinispan-dev mailing list infinispan-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/infinispan-dev