[hibernate-issues] [JIRA] (HSEARCH-3963) Make Elasticsearch translation extensible for usage of elasticsearch plugins

Rokko_11 NA (JIRA) jira at hibernate.atlassian.net
Wed Jul 8 06:00:19 EDT 2020


Rokko_11 NA ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A7beb4287-be5a-46de-9792-ca02584abe22 ) *created* an issue

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiMmIzZTVjM2ZiNTQ0NGI4Njk2OGU0YjcyMGFhOTI4M2IiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3963?atlOrigin=eyJpIjoiMmIzZTVjM2ZiNTQ0NGI4Njk2OGU0YjcyMGFhOTI4M2IiLCJwIjoiaiJ9 ) HSEARCH-3963 ( https://hibernate.atlassian.net/browse/HSEARCH-3963?atlOrigin=eyJpIjoiMmIzZTVjM2ZiNTQ0NGI4Njk2OGU0YjcyMGFhOTI4M2IiLCJwIjoiaiJ9 ) Make Elasticsearch translation extensible for usage of elasticsearch plugins ( https://hibernate.atlassian.net/browse/HSEARCH-3963?atlOrigin=eyJpIjoiMmIzZTVjM2ZiNTQ0NGI4Njk2OGU0YjcyMGFhOTI4M2IiLCJwIjoiaiJ9 )

Issue Type: Improvement Affects Versions: 5.11.5.Final Assignee: Unassigned Components: backend-elasticsearch Created: 08/Jul/2020 03:00 AM Priority: Major Reporter: Rokko_11 NA ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A7beb4287-be5a-46de-9792-ca02584abe22 )

Hello,

I am using Hibernate Search v. 5.11.5.Final.

When using Lucene as backend I include for phonetic analyzing following dependency. That works great.

> 
> 
> 
> org.apache.lucene:lucene-analyzers-phonetic:5.5.5
> 
> 

When using Elasticsearch as backend I have to install the analysis-phonetic plugin of elasticsearch. I annotate my fields with PhoneticFilterFactory.class. But on startup I get following exception message:

> 
> 
> 
> HSEARCH400060: The token filter factory
> 'org.apache.lucene.analysis.phonetic.PhoneticFilterFactory' is not
> supported with Elasticsearch.
> 
> 

In my (following) pull request I refactored the DefaultElasticsearchAnalyzerDefinitionTranslator so, that the lucene analyzers, charFilters, tokenizers and tokenFilters are extensible.

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

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


More information about the hibernate-issues mailing list