[hibernate-issues] [JIRA] (HSEARCH-3926) Predicate on multiple fields designated by a single label/group name/etc.
Yoann Rodière (JIRA)
jira at hibernate.atlassian.net
Mon May 25 06:58:02 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=eyJpIjoiNjliNWViYTEyMTNiNGNjNmIxZTI5M2UwMDcxM2Q1M2EiLCJwIjoiaiJ9 ) / New Feature ( https://hibernate.atlassian.net/browse/HSEARCH-3926?atlOrigin=eyJpIjoiNjliNWViYTEyMTNiNGNjNmIxZTI5M2UwMDcxM2Q1M2EiLCJwIjoiaiJ9 ) HSEARCH-3926 ( https://hibernate.atlassian.net/browse/HSEARCH-3926?atlOrigin=eyJpIjoiNjliNWViYTEyMTNiNGNjNmIxZTI5M2UwMDcxM2Q1M2EiLCJwIjoiaiJ9 ) Predicate on multiple fields designated by a single label/group name/etc. ( https://hibernate.atlassian.net/browse/HSEARCH-3926?atlOrigin=eyJpIjoiNjliNWViYTEyMTNiNGNjNmIxZTI5M2UwMDcxM2Q1M2EiLCJwIjoiaiJ9 )
Issue Type: New Feature Assignee: Unassigned Components: backend-elasticsearch, backend-lucene Created: 25/May/2020 03:58 AM Fix Versions: 6.0.0-Bonus-backlog Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )
Sometimes it's not practical to explicitly list all the fields one wants to target when searching. Maybe there are lots of them, maybe you just want to target all fields that can be targeted, ...
Some related discussions on the forums:
* https://discourse.hibernate.org/t/hibernate-search-6-0-0-beta6-simplequerydsl-breaking/3977/6
* https://discourse.hibernate.org/t/support-for-copy-to-mapping-on-fields/415
Elasticsearch offers several solutions to that problem; we should investigate and pick the most appropriate.
In particular:
* Some queries implicitly target all relevant fields when we don't pass a field name (simple query string in particular)
* The copy_to attribute in the mapping allows copying the content of a field to another at indexing time : https://www.elastic.co/guide/en/elasticsearch/reference/current/copy-to.html
* I remember seeing something about an _all field whose content is the content of all other fields? Though I believe it was disabled by default.
( https://hibernate.atlassian.net/browse/HSEARCH-3926#add-comment?atlOrigin=eyJpIjoiNjliNWViYTEyMTNiNGNjNmIxZTI5M2UwMDcxM2Q1M2EiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3926#add-comment?atlOrigin=eyJpIjoiNjliNWViYTEyMTNiNGNjNmIxZTI5M2UwMDcxM2Q1M2EiLCJwIjoiaiJ9 )
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#100127- sha1:97b7618 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200525/f7a1e424/attachment.html
More information about the hibernate-issues
mailing list