[hibernate-issues] [JIRA] (HSEARCH-3885) Throw exceptions when attempting to use predicate with incompatible nested path hierarchy in a nested predicate

Waldemar Kłaczyński (JIRA) jira at hibernate.atlassian.net
Tue Apr 7 05:39:54 EDT 2020


Waldemar Kłaczyński ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A77e50cac-bda3-4af4-9bb3-6461f4d10eea ) *commented* on HSEARCH-3885 ( https://hibernate.atlassian.net/browse/HSEARCH-3885?atlOrigin=eyJpIjoiNWNlYzBjZjU2MDFjNDdmNWE2OTI5ODViYzVhY2M4YTAiLCJwIjoiaiJ9 )

Re: Throw exceptions when attempting to use predicate with incompatible nested path hierarchy in a nested predicate ( https://hibernate.atlassian.net/browse/HSEARCH-3885?atlOrigin=eyJpIjoiNWNlYzBjZjU2MDFjNDdmNWE2OTI5ODViYzVhY2M4YTAiLCJwIjoiaiJ9 )

It is also necessary not to build a nested query if the construction is in a congested context. It's about using the same query with sorting and aggregation filtering, it wasn't necessary to build separate queries.

	public static Query doBuild(LuceneSearchPredicateContext parentContext, String nestedDocumentPath, Query nestedQuery) {
		if ( nestedDocumentPath.equals( parentContext.getNestedPath() ) ) {
			return nestedQuery;
		}
               ....

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

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:c13ca0d )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200407/59598c4b/attachment.html 


More information about the hibernate-issues mailing list