[teiid-issues] [JBoss JIRA] (TEIID-5916) Add indexes in generated protobuf
Steven Hawkins (Jira)
issues at jboss.org
Thu Apr 30 21:26:17 EDT 2020
[ https://issues.redhat.com/browse/TEIID-5916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069316#comment-14069316 ]
Steven Hawkins commented on TEIID-5916:
---------------------------------------
It may not be clear from the description, but there are two possible resolutions. Either rely upon an indexed cache and just remove the message level indexed annotation - in which case everything will be indexed by default. Or use the indexed annotation and then yes add it to a field level like the linked example.
> Add indexes in generated protobuf
> ---------------------------------
>
> Key: TEIID-5916
> URL: https://issues.redhat.com/browse/TEIID-5916
> Project: Teiid
> Issue Type: Enhancement
> Components: Infinispan
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 14.0
>
>
> The protobuf logic will mark an entire table as indexed, but that may not line up to what we need.
> The usage of the Indexed annotation on the message indicates that custom IndexedField annotations will be used to selective enable indexes.
> This is true whether the cache is marked as indexed (which would be specified in the cache template) or not.
> If we auto-create an indexed cache, then all fields are automatically indexed and there's no need for the indexed annotation.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the teiid-issues
mailing list