[hibernate-commits] [hibernate/hibernate-search] d2902b: HSEARCH-2458 Remove an unnecessary @NumericField a...

GitHub noreply at github.com
Thu May 4 10:18:02 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: d2902bb2cb9461a3a5b76866513a177b93bb6b7d
      https://github.com/hibernate/hibernate-search/commit/d2902bb2cb9461a3a5b76866513a177b93bb6b7d
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M orm/src/test/java/org/hibernate/search/test/engine/Location.java

  Log Message:
  -----------
  HSEARCH-2458 Remove an unnecessary @NumericField annotation

This kind of annotation does not provide the exact field type, and thus
will only make things worse when using Elasticsearch: instead of using a
default String type, we'll know we should use a numeric type, but we
won't know which one.


  Commit: 47d6b8a9344eaa5a49b02cf92a2981d1e2f6fceb
      https://github.com/hibernate/hibernate-search/commit/47d6b8a9344eaa5a49b02cf92a2981d1e2f6fceb
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/Elasticsearch2SchemaTranslator.java
    A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaMetadataErrorsIT.java

  Log Message:
  -----------
  HSEARCH-2458 Throw an exception when an Elasticsearch field has incomplete metadata

We used to simply ignore the field, but incomplete metadata can only
come from invalid configuration, so we'd better report it to users.


Compare: https://github.com/hibernate/hibernate-search/compare/c046ea987942...47d6b8a9344e


More information about the hibernate-commits mailing list