[hibernate-commits] [hibernate/hibernate-search] 94811d: HSEARCH-2522 Make it possible to retrieve the Inde...

GitHub noreply at github.com
Mon Jan 16 19:10:46 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 94811dc18c1925bbca12ee1ac3a5a4bba88b1e38
      https://github.com/hibernate/hibernate-search/commit/94811dc18c1925bbca12ee1ac3a5a4bba88b1e38
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M engine/src/main/java/org/hibernate/search/engine/impl/DefaultMutableEntityIndexBinding.java
    M engine/src/main/java/org/hibernate/search/engine/impl/DynamicShardingEntityIndexBinding.java
    M engine/src/main/java/org/hibernate/search/engine/impl/EntityIndexBindingFactory.java
    M engine/src/main/java/org/hibernate/search/engine/spi/EntityIndexBinding.java
    M engine/src/main/java/org/hibernate/search/indexes/impl/IndexManagerHolder.java

  Log Message:
  -----------
  HSEARCH-2522 Make it possible to retrieve the IndexManagerType from EntityIndexBinding

This helps when we need the IndexManagerType and we're not sure that
there already is an IndexManager, or we don't want to retrieve index
managers (because of dynamic sharding, they may be lazily initialized).


  Commit: 5ee40728c306cf55eae136fc25cb14e483bc4191
      https://github.com/hibernate/hibernate-search/commit/5ee40728c306cf55eae136fc25cb14e483bc4191
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/util/impl/ElasticsearchEntityHelper.java

  Log Message:
  -----------
  HSEARCH-2522 Use EntityIndexBinding#getIndexManagerType in ElasticsearchEntityHelper

This avoids to trigger an early initialization of index managers in the
case of dynamic sharding.


Compare: https://github.com/hibernate/hibernate-search/compare/14edddda2803...5ee40728c306


More information about the hibernate-commits mailing list