[hibernate-issues] [JIRA] (HSEARCH-3900) drop-and-create strategy is not working at app. startup when "hibernate.search.autoregister_listeners" is set to false. And if true, startup index creation thread are not released, sending the app in out of memory.

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Tue Apr 28 04:51:28 EDT 2020


Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *commented* on HSEARCH-3900 ( https://hibernate.atlassian.net/browse/HSEARCH-3900?atlOrigin=eyJpIjoiMzRkOTRhY2NhZDZhNDJlY2E0ZTM3NDBhMTMyNjdhY2QiLCJwIjoiaiJ9 )

Re: drop-and-create strategy is not working at app. startup when "hibernate.search.autoregister_listeners" is set to false. And if true, startup index creation thread are not released, sending the app in out of memory. ( https://hibernate.atlassian.net/browse/HSEARCH-3900?atlOrigin=eyJpIjoiMzRkOTRhY2NhZDZhNDJlY2E0ZTM3NDBhMTMyNjdhY2QiLCJwIjoiaiJ9 )

> 
> 
> 
> I’m really Sorry, I could not understand the below comments. could you
> please elaborate on these. So I could point you to the info you need.
> 
> 

Hibernate Search offers you two ways of indexing:

* Directly into an embedded Lucene instance, where indexes are stored locally
* OR Into a remote Elasticsearch cluster

You seem to be using both.

> 
> 
> 
> And BTW do you want to say that we are pointing the same Elastic Search
> instance from two different instances/or servers of our application?
> 
> 

No, I was saying you may have multiple instances of your application running. But that was wrong; I forgot that in Search 5 you can configure each index to use either Lucene or Elasticsearch. Apparently you configured *some* indexes to use Elasticsearch, but not all of them. That's fine if that's what you really wanted to do.

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

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#100125- sha1:29f7b81 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200428/f44165bc/attachment.html 


More information about the hibernate-issues mailing list