[hibernate-issues] [JIRA] (HSEARCH-3936) Projectable fields in the Elasticsearch schema should have "store = false"

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Thu Jun 4 08:15:58 EDT 2020


Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *created* an issue

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiZTI0NjEyN2FlNWM5NDIwN2I2M2MwYjNkYmQ2YjI5MTAiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3936?atlOrigin=eyJpIjoiZTI0NjEyN2FlNWM5NDIwN2I2M2MwYjNkYmQ2YjI5MTAiLCJwIjoiaiJ9 ) HSEARCH-3936 ( https://hibernate.atlassian.net/browse/HSEARCH-3936?atlOrigin=eyJpIjoiZTI0NjEyN2FlNWM5NDIwN2I2M2MwYjNkYmQ2YjI5MTAiLCJwIjoiaiJ9 ) Projectable fields in the Elasticsearch schema should have "store = false" ( https://hibernate.atlassian.net/browse/HSEARCH-3936?atlOrigin=eyJpIjoiZTI0NjEyN2FlNWM5NDIwN2I2M2MwYjNkYmQ2YjI5MTAiLCJwIjoiaiJ9 )

Issue Type: Improvement Assignee: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) Components: backend-elasticsearch Created: 04/Jun/2020 05:15 AM Fix Versions: 6.0.0.Beta-backlog-high-priority Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

Since we don't use stored fields for projections, but rather the "_source", there is no need to store the fields. We should set store = false even on projectable fields.

If one day we introduce a setting to use field storage rather than the "_source" for projections, we can always change the value of the "store" attribute based on the setting.

( https://hibernate.atlassian.net/browse/HSEARCH-3936#add-comment?atlOrigin=eyJpIjoiZTI0NjEyN2FlNWM5NDIwN2I2M2MwYjNkYmQ2YjI5MTAiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3936#add-comment?atlOrigin=eyJpIjoiZTI0NjEyN2FlNWM5NDIwN2I2M2MwYjNkYmQ2YjI5MTAiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100128- sha1:e736ab1 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200604/31e10d4b/attachment.html 


More information about the hibernate-issues mailing list