The cache for the second use case is already non-indexed. Is that
enough to make sure the annotations are ignored?
Cheers,
--
Galder Zamarreño
Infinispan, Red Hat
> On 3 Apr 2017, at 18:58, Sanne Grinovero <sanne(a)infinispan.org> 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 <galder(a)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(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev