[hibernate-commits] [hibernate/hibernate-search] fd6f23: HSEARCH-2286 Allow to sort by distance in reverse ...

GitHub noreply at github.com
Tue Jun 28 17:31:55 EDT 2016


  Branch: refs/heads/5.5
  Home:   https://github.com/hibernate/hibernate-search
  Commit: fd6f237e62a5b02be5d5a66a34464f2e5fa77cb0
      https://github.com/hibernate/hibernate-search/commit/fd6f237e62a5b02be5d5a66a34464f2e5fa77cb0
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M engine/src/main/java/org/hibernate/search/spatial/DistanceSortField.java
    M orm/src/test/java/org/hibernate/search/test/jpa/SpatialQueryingJPATest.java

  Log Message:
  -----------
  HSEARCH-2286 Allow to sort by distance in reverse order


  Commit: 57be7a76e22833957a8da854ea5f3281a3595d3b
      https://github.com/hibernate/hibernate-search/commit/57be7a76e22833957a8da854ea5f3281a3595d3b
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M orm/src/main/java/org/hibernate/search/query/hibernate/impl/CriteriaObjectInitializer.java
    A orm/src/test/java/org/hibernate/search/test/query/initandlookup/CriteriaObjectInitializerAndHierarchyInheritanceTest.java

  Log Message:
  -----------
  HSEARCH-2301 Use the most specific type to build the criteria

When building the criteria to get the entities, we used to always use
the root entity type of the hierarchy even if we only want to get
entities from one subtype.

This is especially counter productive when we are in the case of a join
inheritance with many subtypes: we then build a query with a left join
for each subtype instead of a query only targeting the most specific
subtype possible.


  Commit: 312e7d65e6441bea1465061d30949cf5538ade4d
      https://github.com/hibernate/hibernate-search/commit/312e7d65e6441bea1465061d30949cf5538ade4d
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M orm/src/test/java/org/hibernate/search/test/query/initandlookup/CriteriaObjectInitializerAndHierarchyInheritanceTest.java

  Log Message:
  -----------
  HSEARCH-2301 Test for the effect of full-text filtering on the generated loading Criteria


  Commit: 90e400f5a70d47df1ed9b5751c54d7a07206b0c6
      https://github.com/hibernate/hibernate-search/commit/90e400f5a70d47df1ed9b5751c54d7a07206b0c6
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-06-28 (Tue, 28 Jun 2016)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-2306 Upgrade 5.5 branch to Hibernate ORM 5.0.9


Compare: https://github.com/hibernate/hibernate-search/compare/ff5a80b44238...90e400f5a70d


More information about the hibernate-commits mailing list