[
https://issues.jboss.org/browse/ISPN-3718?page=com.atlassian.jira.plugin....
]
Gustavo Fernandes commented on ISPN-3718:
-----------------------------------------
The new protoparser embedded in the protostream library can retain comments at runtime, so
something like this would be possible:
{code}
message User {
//...
/* @Indexed(Analyzer=StandardAnalyzer) */
required string name = 3
//...
}
{code}
Select which protobuf fields to index
-------------------------------------
Key: ISPN-3718
URL:
https://issues.jboss.org/browse/ISPN-3718
Project: Infinispan
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Embedded Querying
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Labels: 64QueryBlockers
Currently we index all fields. An interesting idea is to use a custom protobuf Option
(see 'Custom Options' section here
https://developers.google.com/protocol-buffers/docs/proto) to indicate which message types
and specifically which fields should be indexed, similar to Hibernate Search annotations.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)