Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: f436278632e4b61e0f809b1b07fcdbd4d5e60630
https://github.com/hibernate/hibernate-search/commit/f436278632e4b61e0f80...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-04-13 (Thu, 13 Apr 2017)
Changed paths:
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/DefaultElasticsearchService.java
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
A
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchQueryOptions.java
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchService.java
Log Message:
-----------
HSEARCH-2361 Make sure Elasticsearch related configuration properties are parsed and
validated at boot time
Commit: b99c995daa14171141e57994dda42d452092ad95
https://github.com/hibernate/hibernate-search/commit/b99c995daa14171141e5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-04-13 (Thu, 13 Apr 2017)
Changed paths:
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/work/impl/SearchResult.java
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/work/impl/SearchWork.java
Log Message:
-----------
HSEARCH-2662 Elasticsearch: Make SearchResult responsible for most accesses to the JSON
object
This will help to return a stubbed result when there is no index manager
to search in.
Commit: 4e8b0caa4af8d6bf94724471765b2b4b21d2c7a3
https://github.com/hibernate/hibernate-search/commit/4e8b0caa4af8d6bf9472...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-04-13 (Thu, 13 Apr 2017)
Changed paths:
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
A
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/EmptyDocumentExtractor.java
A
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/EmptySearchResult.java
Log Message:
-----------
HSEARCH-2662 Elasticsearch: do not search on all indexes when searching on a dynamically
sharded index with no shard
Commit: 2e664de3596870b67d18fbfd8e0a29e6b71136dd
https://github.com/hibernate/hibernate-search/commit/2e664de3596870b67d18...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-04-13 (Thu, 13 Apr 2017)
Changed paths:
M engine/src/main/java/org/hibernate/search/query/engine/impl/LuceneHSQuery.java
Log Message:
-----------
HSEARCH-2662 Lucene: Fix behavior when querying dynamically sharded indexes with no
shard
We used to throw an NPE at some point. We may as well not try to search
at all, since we know there won't be any result from the start.
Commit: a091a769c2212f2e0d0ea2651ebaea81a5ad0159
https://github.com/hibernate/hibernate-search/commit/a091a769c2212f2e0d0e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-04-13 (Thu, 13 Apr 2017)
Changed paths:
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M engine/src/main/java/org/hibernate/search/query/engine/impl/LuceneHSQuery.java
M engine/src/main/java/org/hibernate/search/util/logging/impl/Log.java
M orm/src/test/java/org/hibernate/search/test/query/QueryUnindexedEntityTest.java
Log Message:
-----------
HSEARCH-2662 Consistently report errors for any type of query when there is no indexed
type
This is one way of not having any index manager to query on, which
could lead to errors similar to what we are trying to fix in
HSEARCH-2662.
On Lucene this case was correctly detected, but not on Elasticsearch.
Commit: 6fa491a8933af35f574c4c5af4a0036342f43ee3
https://github.com/hibernate/hibernate-search/commit/6fa491a8933af35f574c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-04-13 (Thu, 13 Apr 2017)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/shards/DynamicShardingTest.java
Log Message:
-----------
HSEARCH-2662 Test behavior when querying dynamically sharded indexes with no shard
Commit: 2c43437979cb7e6ae07cae5c26502e7120cafaee
https://github.com/hibernate/hibernate-search/commit/2c43437979cb7e6ae07c...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2017-04-13 (Thu, 13 Apr 2017)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/shards/DynamicShardingTest.java
Log Message:
-----------
HSEARCH-2662 Query instance in tests should not be reused to check index size
Commit: 2ccfb9d59c3deff3271ef1edb90a5110ae4ebf52
https://github.com/hibernate/hibernate-search/commit/2ccfb9d59c3deff3271e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-04-13 (Thu, 13 Apr 2017)
Changed paths:
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M
elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
Log Message:
-----------
HSEARCH-2661 Avoid the recurring calls to serviceManager.requestReference in
ElasticsearchHSQueryImpl
Compare:
https://github.com/hibernate/hibernate-search/compare/f7d7f053787b...2ccf...