[hibernate-issues] [JIRA] (HSEARCH-3882) Add tests for explicit nested predicates containing all predicates

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Mon Apr 6 05:08:42 EDT 2020


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

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiZDFmMjU2Y2FmYzNkNDcxYWI5MGE0NTZiMzg2MjA3OGQiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HSEARCH-3882?atlOrigin=eyJpIjoiZDFmMjU2Y2FmYzNkNDcxYWI5MGE0NTZiMzg2MjA3OGQiLCJwIjoiaiJ9 ) HSEARCH-3882 ( https://hibernate.atlassian.net/browse/HSEARCH-3882?atlOrigin=eyJpIjoiZDFmMjU2Y2FmYzNkNDcxYWI5MGE0NTZiMzg2MjA3OGQiLCJwIjoiaiJ9 ) Add tests for explicit nested predicates containing all predicates ( https://hibernate.atlassian.net/browse/HSEARCH-3882?atlOrigin=eyJpIjoiZDFmMjU2Y2FmYzNkNDcxYWI5MGE0NTZiMzg2MjA3OGQiLCJwIjoiaiJ9 )

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

Currently we only test with the match predicate as inner predicate. See NestedSearchPredicateIT.
Ideally we would test all predicates, including in particular the ID predicate, which I'm not totally sure would work.

In order to do that, we will probably need some abstraction over the inner predicate, similar to what we did with  {{ AggregationDescriptor }}  in  {{ SingleFieldAggregationBaseIT }} . That abstraction could also help facting boost tests (HSEARCH-3506) and other tests we duplicated everywhere, such as tests around field incompatibility in multi-index searches ( {{ org.hibernate.search.integrationtest.backend.tck.search.predicate.MatchSearchPredicateIT#multiFields_withDslConverter_dslConverterEnabled }} , ...).

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

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#100124- sha1:c7667cc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200406/4dd3142c/attachment.html 


More information about the hibernate-issues mailing list