[hibernate-issues] [JIRA] (HSEARCH-3978) Exception when using elasticsearch and multiple analyzers for indexed field in projection query.

Rokko_11 NA (JIRA) jira at hibernate.atlassian.net
Tue Aug 4 02:29:57 EDT 2020


Rokko_11 NA ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A7beb4287-be5a-46de-9792-ca02584abe22 ) *commented* on HSEARCH-3978 ( https://hibernate.atlassian.net/browse/HSEARCH-3978?atlOrigin=eyJpIjoiOWQ3ZDQyNjAxZTcyNGI5YWEyNzgyODhmNDJjNDdiZTkiLCJwIjoiaiJ9 )

Re: Exception when using elasticsearch and multiple analyzers for indexed field in projection query. ( https://hibernate.atlassian.net/browse/HSEARCH-3978?atlOrigin=eyJpIjoiOWQ3ZDQyNjAxZTcyNGI5YWEyNzgyODhmNDJjNDdiZTkiLCJwIjoiaiJ9 )

Thank you for your answer. You’re right, that is no bug. What I’m doing now is to give each @Field another name and search for it using

queryBuilder.keyword().onField( "value" ).andField( "value_ngram" ).matching(name)

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

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#100141- sha1:8f92423 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200804/60610375/attachment.html 


More information about the hibernate-issues mailing list