[hibernate-commits] [hibernate/hibernate-search] 7adbd6: HSEARCH-2352 Don't ignore Field.Index.NO on numeri...

GitHub noreply at github.com
Thu Sep 22 12:34:38 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 7adbd602ce462deb500b950b1a321d07213e75b7
      https://github.com/hibernate/hibernate-search/commit/7adbd602ce462deb500b950b1a321d07213e75b7
  Author: Yoann Rodière <yrodiere at redhat.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java

  Log Message:
  -----------
  HSEARCH-2352 Don't ignore Field.Index.NO on numeric fields


  Commit: 9c42d861f087bab83f87589e1e13efc75b2ea46b
      https://github.com/hibernate/hibernate-search/commit/9c42d861f087bab83f87589e1e13efc75b2ea46b
  Author: Yoann Rodière <yrodiere at redhat.com>
  Date:   2016-09-22 (Thu, 22 Sep 2016)

  Changed paths:
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/FieldHelper.java

  Log Message:
  -----------
  HSEARCH-2352 Fixed an issue with Index.NO not being taken into account (ES integration)

It was ignored on booleans, numerics and dates because of a control that was too strict.

Also, because Index.NO was being ignored, a bug on non-indexed fields had not been spotted before: sort on non-indexed fields did not work. This was solved by adding doc_values to non-indexed, sortable fields.


  Commit: 6a1afa5b136e5318a1e976bf45c520df5571c434
      https://github.com/hibernate/hibernate-search/commit/6a1afa5b136e5318a1e976bf45c520df5571c434
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2016-09-22 (Thu, 22 Sep 2016)

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

  Log Message:
  -----------
  HSEARCH-2352 Added constants in ElasticsearchIndexManager

Enums are being introduced in another PR, so we won't go further for now.


Compare: https://github.com/hibernate/hibernate-search/compare/cbc8694f3421...6a1afa5b136e


More information about the hibernate-commits mailing list