[hibernate/hibernate-search] 511447: HSEARCH-2376 Fix javadoc
by GitHub
Branch: refs/heads/5.7
Home: https://github.com/hibernate/hibernate-search
Commit: 5114473274c3e8fa04efb847445a4d40a6a43ee9
https://github.com/hibernate/hibernate-search/commit/5114473274c3e8fa04ef...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/util/impl/InternalAnalyzerUtils.java
Log Message:
-----------
HSEARCH-2376 Fix javadoc
Commit: d8fd4885dcb76f836fd1d03766c05372d8e8a4d6
https://github.com/hibernate/hibernate-search/commit/d8fd4885dcb76f836fd1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/getting-started.asciidoc
Log Message:
-----------
Fixed typo in Analyzer documentation (bad bullet points)
Commit: 802227945cdd7df56ba9509567f672acaf87aaf1
https://github.com/hibernate/hibernate-search/commit/802227945cdd7df56ba9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2375 Document the supported Elasticsearch versions
... in the reference documentation
Commit: 7660a189275994f15b1a72325c4c28cd98fefdbe
https://github.com/hibernate/hibernate-search/commit/7660a189275994f15b1a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/indexes/serialization/impl/CopyTokenStream.java
M serialization/avro/src/test/java/org/hibernate/search/test/util/SerializationTestHelper.java
Log Message:
-----------
HSEARCH-2314 TokenStream contract violation during serialization
Commit: 8da4444e1ccd2c6a602f54d2433c49ebb6f57530
https://github.com/hibernate/hibernate-search/commit/8da4444e1ccd2c6a602f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
Log Message:
-----------
HSEARCH-2390 Enable tests that now pass due to previous fixes
Commit: 8df20587ea1985ebfc4247cbdb0a8a3dda2c6c55
https://github.com/hibernate/hibernate-search/commit/8df20587ea1985ebfc42...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M engine/src/test/java/org/hibernate/search/test/backend/lucene/ScheduledCommitPolicyTest.java
M orm/src/test/java/org/hibernate/search/test/backend/OptimizationTriggerTest.java
M orm/src/test/java/org/hibernate/search/test/backend/WorkQueueLengthConfiguredTest.java
M orm/src/test/java/org/hibernate/search/test/compression/CompressionTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/CustomBackendTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/ExclusiveIndexTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/IndexManagerOverrideTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/LuceneIndexingParametersTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/ShardsConfigurationTest.java
M orm/src/test/java/org/hibernate/search/test/directoryProvider/CustomLockProviderTest.java
M orm/src/test/java/org/hibernate/search/test/directoryProvider/DirectoryLifecycleTest.java
M orm/src/test/java/org/hibernate/search/test/directoryProvider/FSDirectorySelectionTest.java
M orm/src/test/java/org/hibernate/search/test/directoryProvider/FSDirectoryTest.java
M orm/src/test/java/org/hibernate/search/test/directoryProvider/FSSlaveAndMasterDPTest.java
M orm/src/test/java/org/hibernate/search/test/directoryProvider/RamDirectoryTest.java
M orm/src/test/java/org/hibernate/search/test/directoryProvider/RetryInitializeTest.java
M orm/src/test/java/org/hibernate/search/test/embedded/EmbeddedTest.java
M orm/src/test/java/org/hibernate/search/test/embedded/nullindexed/NullEmbeddedTest.java
M orm/src/test/java/org/hibernate/search/test/engine/optimizations/IndexReaderSeeOptimizedIndexTest.java
M orm/src/test/java/org/hibernate/search/test/errorhandling/ConcurrentMergeErrorHandledTest.java
M orm/src/test/java/org/hibernate/search/test/filter/FilterTest.java
M orm/src/test/java/org/hibernate/search/test/query/TermVectorTest.java
M orm/src/test/java/org/hibernate/search/test/query/dsl/DSLTest.java
M orm/src/test/java/org/hibernate/search/test/query/sorting/SortWithIndexUninvertingTest.java
M orm/src/test/java/org/hibernate/search/test/shards/DirectorySelectionTest.java
M orm/src/test/java/org/hibernate/search/test/similarity/SimilarityTest.java
Log Message:
-----------
HSEARCH-2390 Cleanup test exclusions in Elasticsearch
* Label the excluded tests in -elasticsearch's pom with the
corresponding JIRA ticket
* Label uses of the ElasticsearchSupportInProgress test category with
the corresponding JIRA ticket
* Use the SkipOnElasticsearch test category when we know the exclusion
will never be reverted
Commit: 956cf24f8f322357234a1a6af7b9406de917eb78
https://github.com/hibernate/hibernate-search/commit/956cf24f8f322357234a...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/HostCanBeConfiguredIT.java
Log Message:
-----------
HSEARCH-2365 HostCanBeConfiguredIT.shouldApplyConfiguredElasticsearchHost should expect a different message when testing on Windows
Commit: 65161f330cef4f6dce7d83e16b22cf94b2be50e7
https://github.com/hibernate/hibernate-search/commit/65161f330cef4f6dce7d...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/query.asciidoc
M engine/src/main/java/org/hibernate/search/query/dsl/MoreLikeThisContext.java
M engine/src/main/java/org/hibernate/search/query/dsl/MoreLikeThisMatchingContext.java
M engine/src/main/java/org/hibernate/search/query/dsl/MoreLikeThisOpenedMatchingContext.java
M engine/src/main/java/org/hibernate/search/query/dsl/MoreLikeThisTerminalMatchingContext.java
M engine/src/main/java/org/hibernate/search/query/dsl/MoreLikeThisTermination.java
M engine/src/main/java/org/hibernate/search/query/dsl/MoreLikeThisToEntityContentAndTermination.java
M engine/src/main/java/org/hibernate/search/query/dsl/QueryBuilder.java
Log Message:
-----------
HSEARCH-2313 Drop the experimental flag of More Like This queries
Commit: c9556cdb96d7febd932ec845ae67afedd893b4ae
https://github.com/hibernate/hibernate-search/commit/c9556cdb96d7febd932e...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/spi/SearchIntegrator.java
Log Message:
-----------
HSEARCH-2407 SearchIntegrator should no longer be marked experimental
Commit: 4a44d41065651cffdb1cdb6281628dad11411d26
https://github.com/hibernate/hibernate-search/commit/4a44d41065651cffdb1c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M engine/pom.xml
M engine/src/test/java/org/hibernate/search/test/bridge/builtin/TikaBridgeTest.java
A engine/src/test/java/org/hibernate/search/test/util/impl/ClasspathResourceAsFile.java
M orm/src/test/java/org/hibernate/search/test/bridge/tika/TikaBridgeBlobSupportTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/tika/TikaBridgeTest.java
Log Message:
-----------
HSEARCH-2386 Fixed dependency and file issues when testing Tika with Elasticsearch
Commit: 6a3dd77c5cdd3830fc4af72bc3d129dcbfcf4b01
https://github.com/hibernate/hibernate-search/commit/6a3dd77c5cdd3830fc4a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M documentation/src/main/asciidoc/mapping.asciidoc
A engine/src/main/java/org/hibernate/search/bridge/MetadataProvidingTikaMetadataProcessor.java
M engine/src/main/java/org/hibernate/search/bridge/builtin/TikaBridge.java
M orm/src/test/java/org/hibernate/search/test/bridge/tika/TikaBridgeTest.java
Log Message:
-----------
HSEARCH-2386 Introduced TikaFieldMetadataProvidingMetadataProcessor
Commit: 2eb01b58a3cbbf12eb08321d54baa3f1076c0cde
https://github.com/hibernate/hibernate-search/commit/2eb01b58a3cbbf12eb08...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/mapping.asciidoc
Log Message:
-----------
Added missing backticks in mapping.asciidoc
Commit: 714b8757acf08f2b293a207ff0c1a8a84f511a69
https://github.com/hibernate/hibernate-search/commit/714b8757acf08f2b293a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
Log Message:
-----------
HSEARCH-2271 Enable container bridge tests in ES
Commit: a1bc0dfcc00126570aa9465b6ce55ad2526f427a
https://github.com/hibernate/hibernate-search/commit/a1bc0dfcc00126570aa9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/bridge/TwoWayFieldBridge.java
Log Message:
-----------
HSEARCH-2271 Fix (Array|Iterable|Map) bridges with ES
ElasticsearchDateFieldBridge implements TwoWayFieldBridge, but not
StringBridge, and BuiltinArrayBridge et al. default to using toString()
in their objectToString implementation when the element field bridge
doesn't implement StringBridge. Thus DSL-built queries are broken.
Here we choose to solve the issue in a generic way and to make
TwoWayFieldBridge extend StringBridge (since it already offers all
the methods StringBridge offers), but simply making
ElasticsearchDateFieldBridge implement StringBridge may also have
done the trick.
Commit: 9b086f03c37dbcb9b583341cce14ee01919444c2
https://github.com/hibernate/hibernate-search/commit/9b086f03c37dbcb9b583...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchNestingContextFactoryProvider.java
Log Message:
-----------
HSEARCH-2271 Improve ES nesting markers
Use a very specific string to avoid naming conflict with user-defined field names.
Also, use a constant to make it easier to know where the marker is
generated.
Commit: b0098deeb44a46b123896becaa5ba03348bfd112
https://github.com/hibernate/hibernate-search/commit/b0098deeb44a46b12389...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchNestingContextFactoryProvider.java
M engine/src/main/java/org/hibernate/search/engine/nesting/impl/NestingContext.java
M engine/src/main/java/org/hibernate/search/engine/nesting/impl/NoOpNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
Log Message:
-----------
HSEARCH-2271 Fix null embedded container behavior in ES
Values replacing null embedded collections (those originating from
@IndexedEmbedded.indexNullAs) were being mixed-up with values
replacing null *elements* in bridged collections (originating from
@Field.indexNullAs).
This is solved by giving Elasticsearch enough information to distinguish
between those.
Commit: 9736c78800fe436e656d696ccaf31556e896b774
https://github.com/hibernate/hibernate-search/commit/9736c78800fe436e656d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2416 Add links to the JIRA tickets for missing features in the Elasticsearch doc
Commit: 8d7df7dd8e35f630fc4538a48c1d2970386d6b25
https://github.com/hibernate/hibernate-search/commit/8d7df7dd8e35f630fc45...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
Log Message:
-----------
HSEARCH-2394 Fix dependency issues for tests that are re-used in Elasticsearch
Commit: 587b1b7c46c90835cfb3454c339bfa4296363e74
https://github.com/hibernate/hibernate-search/commit/587b1b7c46c90835cfb3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
Log Message:
-----------
HSEARCH-2403 Wrap TwoWayFieldBridge exceptions when retrieving ES projection values
Commit: 92e4e3980988cfdef0eed76887f211f8b4c1ac11
https://github.com/hibernate/hibernate-search/commit/92e4e3980988cfdef0ee...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/bridge/impl/ElasticsearchJavaUtilTimeBridgeProvider.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchDSLIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/GolfPlayer.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ToElasticsearchDSLIT.java
Log Message:
-----------
HSEARCH-2402 Fixed resolution retrieval for Elasticsearch calendar bridge
Commit: fbeb25b4a70e792cc095fada02b81121c0d3e3af
https://github.com/hibernate/hibernate-search/commit/fbeb25b4a70e792cc095...
Author: gustavonalle <gustavonalle(a)gmail.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/FieldHelper.java
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchImplicitProvidedIdIT.java
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/User.java
Log Message:
-----------
HSEARCH-2431 NPE with projections and Elasticsearch
Commit: a3d6dd39ad5daf392a911d4d376e3836965f51ad
https://github.com/hibernate/hibernate-search/commit/a3d6dd39ad5daf392a91...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M orm/src/test/java/org/hibernate/search/test/embedded/Address.java
M orm/src/test/java/org/hibernate/search/test/embedded/EmbeddedTest.java
A orm/src/test/java/org/hibernate/search/test/embedded/Resident.java
Log Message:
-----------
HSEARCH-2409 Do not ignore the parent prefix on @ElementCollection @IndexedEmbeddeds
Commit: 744d2fad261d37c917c4b402ae3660edf90807cc
https://github.com/hibernate/hibernate-search/commit/744d2fad261d37c917c4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/embedded/EmbeddedTest.java
Log Message:
-----------
HSEARCH-2397 Enabled tests around Embeddeds for Elasticsearch
Commit: 75cb063f7378ac68fa29f780cbdc5390aa3b3599
https://github.com/hibernate/hibernate-search/commit/75cb063f7378ac68fa29...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchIndexMappingIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/GolfPlayer.java
Log Message:
-----------
HSEARCH-2397 Added tests for @IndexedEmbeddeds whose prefix doesn't contain a dot
Commit: ff2d65a059fce5ae0eb3d34bbd0cf8ea30a58265
https://github.com/hibernate/hibernate-search/commit/ff2d65a059fce5ae0eb3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchNestingContextFactoryProvider.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonElementType.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonTreeBuilder.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/NestingMarker.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/EmbeddedTypeMetadata.java
M engine/src/main/java/org/hibernate/search/engine/nesting/impl/NestingContext.java
M engine/src/main/java/org/hibernate/search/engine/nesting/impl/NoOpNestingContext.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M engine/src/main/java/org/hibernate/search/util/impl/CollectionHelper.java
Log Message:
-----------
HSEARCH-2397 Fixed indexing of embeddeds with Elasticsearch
* The nesting marker now carries typed data instead of a simple
string. This is necessary because of how embeddeds can be
mapped to arbitrary field paths (see the javadoc on
JsonTreeBuilder for more info).
* I chose to use nested arrays on the very next element for
property paths such as a[0].b[1].c mapped to field paths such
as a_b.c (which becomes a_b[0][1].c according to this
implementation choice).
* EmbeddedTypeMetadata is now part of the nesting marker. This
makes the JSON tree creation algorithm a bit simpler. As a
side-effect, the "this" marker in the NestingContext is not
necessary anymore.
squash! HSEARCH-2397 Fixed indexing of embeddeds with Elasticsearch
Commit: f0f55cbafb2a83a1d3df4bb6bd37bb8e67408ec8
https://github.com/hibernate/hibernate-search/commit/f0f55cbafb2a83a1d3df...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchNestingContextFactoryProvider.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/FieldHelper.java
M engine/src/main/java/org/hibernate/search/engine/impl/DocumentBuilderHelper.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/EmbeddedTypeMetadata.java
M engine/src/main/java/org/hibernate/search/engine/spi/AbstractDocumentBuilder.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M engine/src/test/java/org/hibernate/search/test/metadata/IndexedEmbeddedWithDepthAndIncludePathTest.java
Log Message:
-----------
HSEARCH-2397 Renamed EmbeddedTypeMetadata.embeddedFieldName
... to embeddedPropertyName, because the previous name could be
misleading: this string does not realte to the index field name
at all.
Commit: 2635d9975cf001a354ceae70e989d3336e917628
https://github.com/hibernate/hibernate-search/commit/2635d9975cf001a354ce...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
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
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/FieldHelper.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
A engine/src/main/java/org/hibernate/search/engine/metadata/impl/BackReference.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/BridgeDefinedField.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/DocumentFieldMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/EmbeddedTypeMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FieldMetadataBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/PropertyMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M engine/src/test/java/org/hibernate/search/test/bridge/builtin/TikaBridgeTest.java
Log Message:
-----------
HSEARCH-2397 Fix type detection with ES for embeddeds whose prefix doesn't contain a dot
The previous code was retrieving the source properties for document
fields by assuming that field names always match the property paths
exactly, which isn't true due to customizable @IndexedEmbedded
prefixes.
The solution is to augment the metamodel with back references, so that
document field metadata contains the reference to their source property,
thereby removing the need to guess the property from the field name.
I took this opportunity to also add back references from properties to
their declaring types, from embedded types to their source property, and
from document fields to their source type (useful for class bridges in
particular, where there's no source property). This part could be
removed, but it makes the metamodel more consistent.
Commit: 38e3c14020d57185adf2ca36bf3eebccc57accc9
https://github.com/hibernate/hibernate-search/commit/38e3c14020d57185adf2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchFieldType.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchMappingBuilder.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonTreeBuilder.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/PathComponentExtractor.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
Log Message:
-----------
HSEARCH-2401 Apply boosts to embedded fields with Elasticsearch
Commit: 888cec0ef93bcf0c4a8e010c84695a079b25c4d2
https://github.com/hibernate/hibernate-search/commit/888cec0ef93bcf0c4a8e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M orm/src/test/java/org/hibernate/search/test/query/boost/embeddable/EmbeddedFieldBoostTest.java
A orm/src/test/java/org/hibernate/search/test/query/boost/embeddable/LocalizedTitle.java
M orm/src/test/java/org/hibernate/search/test/query/boost/embeddable/Magazine.java
M orm/src/test/java/org/hibernate/search/test/query/boost/embeddable/Title.java
Log Message:
-----------
HSEARCH-2401 Added previously missing support for class boosts on embedded fields
Commit: 45af69ddc83ebc6b9499c23a929c18feb758cc88
https://github.com/hibernate/hibernate-search/commit/45af69ddc83ebc6b9499...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M integrationtest/engine-performance/pom.xml
A integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/BaseIndexSetup.java
R integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/EngineHolder.java
A integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/IndexingEngineHolder.java
M integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/JMHBenchmarks.java
M integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/Launcher.java
A integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/QueryEngineHolder.java
M integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/model/BookEntity.java
A integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/setuputilities/SearchIntegratorCreation.java
M pom.xml
Log Message:
-----------
HSEARCH-2427 Introduce JMH tests for query execution via the engine component only
Commit: 8b04db6d8685860eb46f5a5353f53ecdc1af00e0
https://github.com/hibernate/hibernate-search/commit/8b04db6d8685860eb46f...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/cfg/Environment.java
A engine/src/main/java/org/hibernate/search/indexes/impl/PeriodicRefreshingReaderProvider.java
M engine/src/main/java/org/hibernate/search/indexes/impl/PropertiesParseHelper.java
M engine/src/main/java/org/hibernate/search/util/logging/impl/Log.java
Log Message:
-----------
HSEARCH-402 Provide a ReaderProvider to cap the number of index reopenings to a fixed rate
Commit: d2b71a331c3417d91efb1ee14c71e269b244fb3c
https://github.com/hibernate/hibernate-search/commit/d2b71a331c3417d91efb...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
R integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/IndexingEngineHolder.java
M integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/JMHBenchmarks.java
M integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/Launcher.java
M integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/QueryEngineHolder.java
M integrationtest/engine-performance/src/main/java/org/hibernate/search/engineperformance/setuputilities/SearchIntegratorCreation.java
Log Message:
-----------
HSEARCH-402 Expand JMH query tests to test the new async ReaderProvider
Commit: 0a971ed40959617318ba5eb230f3b012a2d3297e
https://github.com/hibernate/hibernate-search/commit/0a971ed40959617318ba...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/architecture.asciidoc
M documentation/src/main/asciidoc/configuration.asciidoc
Log Message:
-----------
HSEARCH-402 Document the new async ReaderProvider
Commit: d58bff05cf24d474e559ccfc06794caea1ea2819
https://github.com/hibernate/hibernate-search/commit/d58bff05cf24d474e559...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2436 Reference a ZonedDateTime bug with ES 2.4.1/5.0.0 in the Elasticsearch doc
Commit: 02abb77e0d9917f361606a4a810f1f7feeaf7649
https://github.com/hibernate/hibernate-search/commit/02abb77e0d9917f36160...
Author: Emmanuel Bernard <emmanuel(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2435 Improve Elasticsearch configuration section
Describe the default value.
Explain when some of these options are useful.
Commit: eb71c8be242f39a544671463cb7615c66c93717f
https://github.com/hibernate/hibernate-search/commit/eb71c8be242f39a54467...
Author: Emmanuel Bernard <emmanuel(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2435 Remove confusion on DSL queries supported
Commit: 6b4b10e14a9eeada16085267cc2a2264f424a597
https://github.com/hibernate/hibernate-search/commit/6b4b10e14a9eeada1608...
Author: Emmanuel Bernard <emmanuel(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2435 Clarify and correct usage of analyzer with Elasticsearch
Commit: b9f0a7248a488bade6db9bf9c7aeb28ab461d651
https://github.com/hibernate/hibernate-search/commit/b9f0a7248a488bade6db...
Author: Emmanuel Bernard <emmanuel(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
Fix typo and reorganise into one sentence per line for better git diff
Commit: c14e214e30bd62bdd818fbd83e2222f8d68a68f1
https://github.com/hibernate/hibernate-search/commit/c14e214e30bd62bdd818...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchDateCalendarBridgeIT.java
Log Message:
-----------
HSEARCH-2438 Fix erroneous test failing with DST change
Commit: 49d6c508d90c5f6703bcbcb051108ce1b1a9c351
https://github.com/hibernate/hibernate-search/commit/49d6c508d90c5f6703bc...
Author: Emmanuel Bernard <emmanuel(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2263 Add nested objects and parent-child to the list of non supported feature
Commit: 80d7108d602c553965ec739948c9dbf9f955041f
https://github.com/hibernate/hibernate-search/commit/80d7108d602c553965ec...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchImplicitProvidedIdIT.java
Log Message:
-----------
HSEARCH-2433 Test case for providedId being interpreted as part of an embedded
Commit: d18394011082f291fdf180ce06c5221994faec32
https://github.com/hibernate/hibernate-search/commit/d18394011082f291fdf1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
Log Message:
-----------
HSEARCH-2433 Fix how provided IDs on IndexedEmbeddeds are handled
There were three issues:
* The prefix was not used on the providedId field, potentially
resulting in root type provided ID being erased by embeddeds' provided
IDs
* The providedId was being added unconditionally for embeddeds, not
respecting settings like @IndexedEmbedded.includeEmbeddedObjectIds
* The field bridge was not ignored as required when creating metadata
for containedIn
Commit: 20ce011a3d458b5b673c59b62fdb3516b7ff93eb
https://github.com/hibernate/hibernate-search/commit/20ce011a3d458b5b673c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/embedded/Address.java
M orm/src/test/java/org/hibernate/search/test/embedded/EmbeddedTest.java
M orm/src/test/java/org/hibernate/search/test/embedded/nullindexed/NullEmbeddedTest.java
M orm/src/test/java/org/hibernate/search/test/embedded/nullindexed/Pet.java
A orm/src/test/java/org/hibernate/search/test/embedded/nullindexed/Trick.java
Log Message:
-----------
HSEARCH-2408 Added advanced test for embedded @ElementCollections
In particular, we now expect prefix and indexNullAs to work.
Commit: 9ab026bbdef9ce4057d3edbed953ed494bcd59ca
https://github.com/hibernate/hibernate-search/commit/9ab026bbdef9ce4057d3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeTestEntity.java
M orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeTestEntity.java
M orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeTestEntity.java
Log Message:
-----------
HSEARCH-2408 Ignore null embedded tests in container bridge tests with ES
They used to pass because of some mix-up between the container bridges
field names and the embedded null field names. There really is some work
to be done to get them working properly, though (HSEARCH-2389).
Commit: 9f98d76d77ec0b531a6748706f71c2499ff1b7fd
https://github.com/hibernate/hibernate-search/commit/9f98d76d77ec0b531a67...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/mapping.asciidoc
M engine/src/main/java/org/hibernate/search/annotations/IndexedEmbedded.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/util/logging/impl/Log.java
Log Message:
-----------
HSEARCH-2408 Fixed and documented @IndexedEmbedded.indexNullAs
The behavior was previously inconsistent for @ElementCollection
embeddeds, in particular, and the name of the field carrying the null
token was undocumented.
Commit: 29d9d5c2f6141516c435e120d11ba3dd27d10cee
https://github.com/hibernate/hibernate-search/commit/29d9d5c2f6141516c435...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchClassBridgeIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchIndexMappingIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/GolfPlayer.java
Log Message:
-----------
HSEARCH-2439 Test case for NPE when generating mapping for non-indexed class bridge field with ES
Commit: 590531f95bef7cd3dad560b685479bbfdbc477c2
https://github.com/hibernate/hibernate-search/commit/590531f95bef7cd3dad5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 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-2439 Support mapping non-indexed class bridge fields on ES
Commit: 84b5366871bb8c7bcf84e2827609475751bc82ea
https://github.com/hibernate/hibernate-search/commit/84b5366871bb8c7bcf84...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ToElasticsearch.java
Log Message:
-----------
HSEARCH-2437 Use bool queries instead of filtered queries with Elasticsearch
Commit: 43b1f4331ae717cc0c3997b513ac09a51a90e602
https://github.com/hibernate/hibernate-search/commit/43b1f4331ae717cc0c39...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/ElasticsearchQueries.java
Log Message:
-----------
HSEARCH-2437 Use the proper keyword in 'queryString' queries with ES
Commit: f9167583a5981c44a5715b6dd981f81874ed4973
https://github.com/hibernate/hibernate-search/commit/f9167583a5981c44a571...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
Log Message:
-----------
HSEARCH-2437 Convert scripts calls to work with Elasticsearch 5
* The syntax we used:
"script_fields:"{"_distance":{"params": {...}, "script": "..."}}
... seems unsupported even in 2.x and doesn't work on ES 5.
* Our syntax lacked the "lang" property, which is necessary in ES 5,
Painless becoming the default language
Commit: 816a6ae0223a60e1393c06fe750c36b506500f06
https://github.com/hibernate/hibernate-search/commit/816a6ae0223a60e1393c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ToElasticsearch.java
Log Message:
-----------
HSEARCH-2437 Remove the reliance on a deprecated feature in term aggregations (facets in ES)
The "size" parameter with a 0 value means "as much as possible", i.e.
Integer.MAX_VALUE. Since 0 is not supported anymore in ES 5, and the
default value is 10 (see Elasticsearch's
TermsAggregationBuilder.DEFAULT_BUCKET_COUNT_THRESHOLDS), we will use
Integer.MAX_VALUE explicitly.
Commit: 5a1f197c8fa8a7c5c33ea1ca91367ab852e31bca
https://github.com/hibernate/hibernate-search/commit/5a1f197c8fa8a7c5c33e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/JestClient.java
Log Message:
-----------
HSEARCH-2412 Add the target URL in Elasticsearch error messages
Commit: a749aa2c92a9041af1dd0e0d568eb5ecd426e62a
https://github.com/hibernate/hibernate-search/commit/a749aa2c92a9041af1dd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/batchindexing/LegacyCarPlantPKBridge.java
M orm/src/test/java/org/hibernate/search/test/id/PersonPKBridge.java
Log Message:
-----------
HSEARCH-2396 Enable tests relating to embedded IDs for ES
Commit: 62734df875ca07b09a0ee19092f7f0b0a0b0ba80
https://github.com/hibernate/hibernate-search/commit/62734df875ca07b09a0e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 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/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchMappingBuilder.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonAccessor.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonAccessorBuilder.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonElementType.java
R elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonTreeBuilder.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/PathComponentExtractor.java
M engine/src/main/java/org/hibernate/search/spatial/impl/DistanceFilter.java
M engine/src/main/java/org/hibernate/search/spatial/impl/SpatialHelper.java
Log Message:
-----------
HSEARCH-2396 Support for creating nested fields from custom field bridges with Elasticsearch
In order to do that, we have to make sure to properly analyze the end of
the field names (the part that is not an @IndexedEmbedded prefix), and
create nodes for path components in this part of the path.
The implied changes to the implementation are not trivial, because the
algorithms in JsonTreeBuilder that previously always created empty
JsonObjects now must also be able to add a user-supplied JsonPrimitive.
The introduction of JsonAccessor helps to avoid code duplication and
to keep the code simple.
Commit: 3d6f3abbb6d3f9a700f9b6271111d00751766608
https://github.com/hibernate/hibernate-search/commit/3d6f3abbb6d3f9a700f9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchIndexMappingIT.java
Log Message:
-----------
HSEARCH-2396 Enable indexing the ID as part of the document with ES
The ID was previously only provided to ES in the URL, resulting in
searches on the ID field with the Hibernate Search field name
(instead of the ES-specific '_id' keyword) failing miserably.
Also, re-enabled some tests that used not to work on ES due to the lack
of support for ID searches.
Commit: 46978ba487d5a1bf96f209d07d29f1879a0b8ee2
https://github.com/hibernate/hibernate-search/commit/46978ba487d5a1bf96f2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M orm/src/test/java/org/hibernate/search/test/batchindexing/LegacyCarPlantPKBridge.java
M orm/src/test/java/org/hibernate/search/test/id/EmbeddedIdTest.java
M orm/src/test/java/org/hibernate/search/test/id/PersonPKBridge.java
M orm/src/test/java/org/hibernate/search/test/id/ProgrammaticEmbeddedItTest.java
Log Message:
-----------
HSEARCH-2396 Document the limitations of field nesting in custom field bridges
Commit: 2073a5c51a167ecfda7a43654be4a9cf73740849
https://github.com/hibernate/hibernate-search/commit/2073a5c51a167ecfda7a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2396 Updated the limitations in the documentation
We now can use custom field bridges on documents IDs, even though there
are limitations as for other fields (see previous commit).
Commit: 02b31eecf836472c7ca3d9c61c08a4882b94515f
https://github.com/hibernate/hibernate-search/commit/02b31eecf836472c7ca3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/embedded/sorting/EmbeddedSortableIdFieldTest.java
Log Message:
-----------
HSEARCH-2396 Disable a test that should be fixed with HSEARCH-2398
An exception is raised as desired, but not the exact exception we expect
because validation is delegated to Elasticsearch and errors are not
translated.
Commit: 6194fe566870d0859d067fc35711b4caca6c3a20
https://github.com/hibernate/hibernate-search/commit/6194fe566870d0859d06...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/bridge/CatDeptsFieldsClassBridge.java
M orm/src/test/java/org/hibernate/search/test/bridge/ClassBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/EquipmentType.java
Log Message:
-----------
HSEARCH-2393 Fixed ClassBridgeTest for Elasticsearch
Commit: 382ea1e01605742f79e1c12358c889d1e5846a6b
https://github.com/hibernate/hibernate-search/commit/382ea1e01605742f79e1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/jmx/IndexControlMBeanTest.java
Log Message:
-----------
HSEARCH-2393 Changed the ticket associated with IndexControlMBeanTest.testIndexAndPurge
Will be fixed with HSEARCH-2421
Commit: 973443192f947da0c0f62a826db83310707bfb21
https://github.com/hibernate/hibernate-search/commit/973443192f947da0c0f6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/embedded/depth/WorkDoneOnEntitiesTest.java
Log Message:
-----------
HSEARCH-2393 Removed reliance of WorkDoneOnEntitiesTest on IndexReader
The new method is probably less efficient, but at least it works with
Elasticsearch.
Commit: 3a4666c5baac5f3eb38d8481fb39a2d2ca2947c0
https://github.com/hibernate/hibernate-search/commit/3a4666c5baac5f3eb38d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/engine/optimizations/deletebyterm/DeleteByTermTest.java
Log Message:
-----------
HSEARCH-2393 Disabled DeleteByTermTest for Elasticsearch
... since this optimization only makes sense with the Lucene backend.
Commit: bf16e21a537a0a669b7b6cc3303e51c07388e02e
https://github.com/hibernate/hibernate-search/commit/bf16e21a537a0a669b7b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/engine/optimizations/UpdateOperationsTest.java
Log Message:
-----------
HSEARCH-2393 Disabled UpdateOperationsTest for Elasticsearch
... since this optimization only makes sense with the Lucene backend.
Commit: 970780040b157c2a92fb668f9aaf6e6618ec8a5d
https://github.com/hibernate/hibernate-search/commit/970780040b157c2a92fb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/TestResourceManager.java
Log Message:
-----------
HSEARCH-2393 Fixed TestResourceManager.getExtendedSearchIntegrator's return type
Commit: dfe91c5de03b5199056bbd24f743861c09cb75f2
https://github.com/hibernate/hibernate-search/commit/dfe91c5de03b5199056b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/DefaultTestResourceManager.java
M orm/src/test/java/org/hibernate/search/test/SearchTestBase.java
M orm/src/test/java/org/hibernate/search/test/TestResourceManager.java
M orm/src/test/java/org/hibernate/search/test/directoryProvider/RamDirectoryTest.java
M orm/src/test/java/org/hibernate/search/test/engine/TransactionTest.java
M orm/src/test/java/org/hibernate/search/test/util/BackendTestHelper.java
Log Message:
-----------
HSEARCH-2393 Use BackendTestHelper to retrieve the number of docs in an index
Also, removed some Lucene-specific methods in test classes that are not
needed anymore.
Commit: 655f9ba094b6a313ff61ce32d3091eb28ea315a3
https://github.com/hibernate/hibernate-search/commit/655f9ba094b6a313ff61...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
Log Message:
-----------
HSEARCH-2393 Enable TransactionTest for Elasticsearch
Commit: 1450a77a254e9a4ad86e2b20ad28423d5669955d
https://github.com/hibernate/hibernate-search/commit/1450a77a254e9a4ad86e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/interceptor/Blog.java
M orm/src/test/java/org/hibernate/search/test/interceptor/IndexingActionInterceptorTest.java
Log Message:
-----------
HSEARCH-2393 Fixed IndexingActionInterceptorTest for Elasticsearch
Commit: 3f253a89438e0a4bf0c3337f52d30ae7e0e99c6d
https://github.com/hibernate/hibernate-search/commit/3f253a89438e0a4bf0c3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A orm/src/test/java/org/hibernate/search/test/SearchInitializationTestBase.java
Log Message:
-----------
HSEARCH-2393 Added a base class for initialization tests
Commit: 8d8d68376906d1c6f3d248195f4407644c503dbe
https://github.com/hibernate/hibernate-search/commit/8d8d68376906d1c6f3d2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchIndexNullAsTypeCheckingIT.java
Log Message:
-----------
HSEARCH-2393 Make use of the base for initialization tests
Commit: 5ea957cecee656e1d43813bd2105e9a2ec83ce24
https://github.com/hibernate/hibernate-search/commit/5ea957cecee656e1d438...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A engine/src/test/java/org/hibernate/search/test/util/impl/ExpectedLog4jLog.java
Log Message:
-----------
HSEARCH-2393 Add a rule for asserting produced logs
Commit: fb17a93c418ae4e2bfb5065ffd1537ff18ec4c8c
https://github.com/hibernate/hibernate-search/commit/fb17a93c418ae4e2bfb5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M elasticsearch/pom.xml
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchUnsupportedFeaturesIT.java
M orm/src/test/java/org/hibernate/search/test/configuration/ProgrammaticMappingTest.java
M orm/src/test/java/org/hibernate/search/test/query/boost/DynamicBoostingTest.java
Log Message:
-----------
HSEARCH-2393 Make the lack of support for dynamic boosting on Elasticsearch explicit
Commit: 6a678de3c1245e95016345739a57455cc2ed9dc4
https://github.com/hibernate/hibernate-search/commit/6a678de3c1245e950163...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/jpa/ToStringTest.java
Log Message:
-----------
HSEARCH-2393 Fixed ToStringTest for Elasticsearch
Commit: a3c9be05d46822adf27f8dbb9d0e9d5b5e423730
https://github.com/hibernate/hibernate-search/commit/a3c9be05d46822adf27f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/query/nullValues/IndexAndQueryNullTest.java
A orm/src/test/java/org/hibernate/search/test/query/nullValues/IndexNullLuceneDocumentContentTest.java
M orm/src/test/java/org/hibernate/search/test/query/nullValues/ProgrammaticIndexAndQueryNullTest.java
Log Message:
-----------
HSEARCH-2393 Fixed *IndexAndQueryNullTest for Elasticsearch
Also, did some cleanup on these very old tests.
Commit: 322481fc7923f5db593e0160afb2c8a312d61c49
https://github.com/hibernate/hibernate-search/commit/322481fc7923f5db593e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/bridge/DateSplitBridge.java
A orm/src/test/java/org/hibernate/search/test/query/LuceneProjectionQueryTest.java
M orm/src/test/java/org/hibernate/search/test/query/ProjectionQueryTest.java
Log Message:
-----------
HSEARCH-2393 Fixed ProjectionQueryTest for Elasticsearch
* Isolated and moved Lucene-specific tests to LuceneProjectionQueryTest
* Isolated and moved a test about projecting on unstored field that
won't work right now (see HSEARCH-2423)
* Isolated and moved a test about projecting on score without sorting
by relevance (see HSEARCH-2422)
* Fixed DateSplitBridge (see HSEARCH-2396)
* Cleaned up a bit
Commit: 44cb04178dd99be2ca37962a28c5ceaf42b3a910
https://github.com/hibernate/hibernate-search/commit/44cb04178dd99be2ca37...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/query/sorting/SortUsingEntityManagerTest.java
Log Message:
-----------
HSEARCH-2393 Fixed SortUsingEntityManagerTest on Elasticsearch
The sort type for dates happens to differ between the Lucene backend and
the Elasticsearch backend.
Commit: 3b1f1166eed0bddb94b2575edcbdaaa0725f344b
https://github.com/hibernate/hibernate-search/commit/3b1f1166eed0bddb94b2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/engine/LazyCollectionsUpdatingTest.java
Log Message:
-----------
HSEARCH-2393 Fixed LazyCollectionsUpdatingTest for Elasticsearch
The FieldSelector bits aren't necessary, because we already test that in
LuceneProjectionQueryTest.
The analysis bit was not the purpose of this test.
Commit: 7c53c44d8193c1a6b56f3c48a9afdc4593e3220a
https://github.com/hibernate/hibernate-search/commit/7c53c44d8193c1a6b56f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/engine/worker/WorkerTestCase.java
Log Message:
-----------
HSEARCH-2393 Do not depend on analyzers in Worker test cases
Analyzers are not what we're testing, and they work differently in ES,
so we better not bother with that.
Commit: 0ebcde10687d0d1be13ce63f90f0a384f53143c7
https://github.com/hibernate/hibernate-search/commit/0ebcde10687d0d1be13c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
A orm/src/test/java/org/hibernate/search/test/engine/LuceneNumericFieldTest.java
M orm/src/test/java/org/hibernate/search/test/engine/NumericFieldTest.java
M orm/src/test/java/org/hibernate/search/test/engine/TouristAttraction.java
Log Message:
-----------
HSEARCH-2393 Fixed NumericFieldTest for Elasticsearch
Also, disabled NumericFieldTest.testNumericFieldProjections for now and
created HSEARCH-2425 to fix it.
Commit: df0a6a0e1934e71ea0b862bfa38fe146b44f7463
https://github.com/hibernate/hibernate-search/commit/df0a6a0e1934e71ea0b8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/query/sorting/Explorer.java
M orm/src/test/java/org/hibernate/search/test/query/sorting/SortOnFieldsFromCustomBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/query/sorting/Territory.java
Log Message:
-----------
HSEARCH-2393 Fix SortOnFieldsFromCustomBridgeTest for Elasticsearch
* The territory name, which we sort on, was being analyzed.
* The embedded property was being used as both an embedded field prefix
and a field name, which can't work with Elasticsearch (see the
ES documentation).
* There was an extra, useless @SortableField annotation on the field
derived from the embedded property
* A field bridge was adding a property directly to the root of the
document, which definitely isn't a good idea when we embed the entity
in another.
Commit: ebb1c27224fb0f61cbe0431d15a95673d1d830b1
https://github.com/hibernate/hibernate-search/commit/ebb1c27224fb0f61cbe0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
Log Message:
-----------
HSEARCH-2393 Added ES test exclusions due to HSEARCH-2426
Commit: f17a64e0d84e18ead565a6fe781e1704d08328d4
https://github.com/hibernate/hibernate-search/commit/f17a64e0d84e18ead565...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/errorhandling/LuceneErrorHandlingTest.java
Log Message:
-----------
HSEARCH-2393 Skipped LuceneErrorHandlingTest on Elasticsearch
Commit: b969f7abb97d38dc341cfcce36b1c587d74d54a8
https://github.com/hibernate/hibernate-search/commit/b969f7abb97d38dc341c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
Log Message:
-----------
HSEARCH-2393 Enabled ProgrammaticMappingTest for Elasticsearch
Commit: bb9e628b8c4e82b613b6e14da1dd1f395643a776
https://github.com/hibernate/hibernate-search/commit/bb9e628b8c4e82b613b6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/elasticsearchconfiguration/elasticsearch.yml
M orm/src/test/java/org/hibernate/search/test/configuration/BlogEntry.java
M orm/src/test/java/org/hibernate/search/test/configuration/ProgrammaticSearchMappingFactory.java
Log Message:
-----------
HSEARCH-2393 Added analyzers to elasticsearch.yml for ProgrammaticMappingTest
Commit: 85a254a62a9c50f3168b5ddbc9cce39203ffd675
https://github.com/hibernate/hibernate-search/commit/85a254a62a9c50f3168b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M orm/src/test/java/org/hibernate/search/test/configuration/ProgrammaticMappingTest.java
Log Message:
-----------
HSEARCH-2393 Added ES test exclusion due to HSEARCH-2428
Commit: 7d2cb9ae7ad73824b2ba033318cd751fcd3386ff
https://github.com/hibernate/hibernate-search/commit/7d2cb9ae7ad73824b2ba...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/configuration/ProgrammaticMappingTest.java
Log Message:
-----------
HSEARCH-2393 Added test exclusion due to HSEARCH-2429
Commit: 29f7af14a06dbbf66c3a720d127d1d0ea266d374
https://github.com/hibernate/hibernate-search/commit/29f7af14a06dbbf66c3a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A orm/src/test/java/org/hibernate/search/test/configuration/LuceneProgrammaticMappingTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/ProgrammaticMappingTest.java
Log Message:
-----------
HSEARCH-2393 Fixed ProgrammaticMappingTest.testNumeric for Elasticsearch
Commit: 3b3028ee5bcc8fa4886f2776a04d4df44b6dda8b
https://github.com/hibernate/hibernate-search/commit/3b3028ee5bcc8fa4886f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/configuration/ProgrammaticMappingTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/ProgrammaticSearchMappingFactory.java
Log Message:
-----------
HSEARCH-2393 Fixed ProgrammaticMappingTest.testProvidedIdMapping for Elasticsearch
Commit: 74603d9fb62f0bf6509926ce17e0bdca1ae11137
https://github.com/hibernate/hibernate-search/commit/74603d9fb62f0bf65099...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ToElasticsearch.java
Log Message:
-----------
HSEARCH-2393 Adding support for org.apache.lucene.search.CachingWrapperFilter with Elasticsearch
This filter type is used in some tests, and some users might use it.
Commit: a0c65bcb8dcd5f5ca85706a931b8590b504d29df
https://github.com/hibernate/hibernate-search/commit/a0c65bcb8dcd5f5ca857...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/configuration/ProgrammaticMappingTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/SecurityFilterFactory.java
Log Message:
-----------
HSEARCH-2393 Fixed ProgrammaticMappingTest.testFullTextFilterDefAtMappingLevel
We don't need advanced filters, we just test that the filter we
configured is actually used. Which is why replacing the actual filter
implementation seems okay.
Also, we don't need to test analysis on the "owner" field, so we better
use a simple keyword and avoid conflicts between the way the Lucene
backend and the Elasticsearch backend do the analysis.
Commit: 4481ba9f726dd4eaadc61d6548637c9e0e7cffcf
https://github.com/hibernate/hibernate-search/commit/4481ba9f726dd4eaadc6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/query/dsl/DSLTest.java
Log Message:
-----------
HSEARCH-2393 Disable tests about range queries on dates ignoring field bridges for Elasticsearch
Those only work because of a hack in the query DSL that is necessary for
the Lucene backend: even when field bridges are not ignored, there's no
way for the query DSL to convert a date to a numeric value, so the
org.hibernate.search.bridge.util.impl.NumericFieldUtils.createNumericRangeQuery
method does that for us whenever we detect a numeric field bridge, but
it does that totally independently from the actual field bridge...
Since date bridges are not numeric with Elasticsearch, ignoring the
field bridges has another effect entirely: the date is converted to
string using toString(), which obviously fails.
Commit: b379a6d12b2cbe16f9beff9b6758089705802e7f
https://github.com/hibernate/hibernate-search/commit/b379a6d12b2cbe16f9be...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchIT.java
Log Message:
-----------
HSEARCH-2253 Remove ID sort workaround using "_uid" in Elasticsearch
This follows HSEARCH-2396 where we added an in-document indexed field
for the ID.
Commit: 33d7bf4092a34bb227a7510f35e80b71e55c7d61
https://github.com/hibernate/hibernate-search/commit/33d7bf4092a34bb227a7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/dsl/SortDSLTest.java
M orm/src/test/java/org/hibernate/search/test/query/sorting/Explorer.java
M orm/src/test/java/org/hibernate/search/test/query/sorting/Territory.java
Log Message:
-----------
HSEARCH-2330 Remove workarounds in tests for custom numeric field bridges
... that could not override numeric encoding.
Commit: 114461dc55ca710b56c21ff23943c303bfbd248b
https://github.com/hibernate/hibernate-search/commit/114461dc55ca710b56c2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M engine/src/main/java/org/hibernate/search/query/engine/impl/AbstractHSQuery.java
Log Message:
-----------
HSEARCH-2330 Allow MetadataProvidingFieldBridges to override field type
Commit: b3095d9565d80acab0ff6d3e5dc090ab86987df2
https://github.com/hibernate/hibernate-search/commit/b3095d9565d80acab0ff...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
Log Message:
-----------
HSEARCH-2261 Remove unnecessary field type checks with ES following HSEARCH-2330 fix
Commit: 1c50cd25fa0a5c7cccec56394b1f61c3412b8854
https://github.com/hibernate/hibernate-search/commit/1c50cd25fa0a5c7cccec...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M orm/src/test/java/org/hibernate/search/test/query/ProjectionQueryTest.java
Log Message:
-----------
HSEARCH-2422 Always compute scores when projecting on the score Elasticsearch
Commit: 227c8aceb6eec8563aed5a9269fa752554ab3c7b
https://github.com/hibernate/hibernate-search/commit/227c8aceb6eec8563aed...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M orm/src/test/java/org/hibernate/search/test/configuration/ProgrammaticMappingTest.java
Log Message:
-----------
HSEARCH-2429 Include the analyzer reference in field metadata for class bridges
Commit: 97159643c00ca002b59fbc9e85a91754904fbabe
https://github.com/hibernate/hibernate-search/commit/97159643c00ca002b59f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
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
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/FieldHelper.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/BridgeDefinedField.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/DocumentFieldMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FieldMetadataBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/ParseContext.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/PropertyMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M engine/src/main/java/org/hibernate/search/query/engine/impl/AbstractHSQuery.java
Log Message:
-----------
HSEARCH-2450 Move bridge defined fields metadata to their parent field metadata
Because it's much more convenient when inspecting bridge defined fields.
We almost never have to list the bridge defined fields for a property,
we always start from a document field.
Commit: abb2f82167c48cebf2fadceb273572869fbe3c36
https://github.com/hibernate/hibernate-search/commit/abb2f82167c48cebf2fa...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
Log Message:
-----------
HSEARCH-2450 Handle unnamed fields in ES mapping
Fields that are created for class bridges may have no name, and there
may be more than one such field, so storing them in a name/value map is
really not a good idea.
Commit: cd6d221cae327723f54d75a7bec1abf7eb4e74c3
https://github.com/hibernate/hibernate-search/commit/cd6d221cae327723f54d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
Log Message:
-----------
HSEARCH-2450 Fix minor issues in TypeMedata
* Missing or redundant Collections.unmodifiable*() wrappers
* Unclear method names
Commit: 1b5bc1ca2c9963f242245ddc52d26fd52df44029
https://github.com/hibernate/hibernate-search/commit/1b5bc1ca2c9963f24224...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/elasticsearchconfiguration/elasticsearch.yml
M orm/src/test/java/org/hibernate/search/test/query/facet/Car.java
Log Message:
-----------
HSEARCH-2450 Add an ES analyzer definition that was overlooked in HSEARCH-2393
The test "NoQueryResultsFacetingTest" only started to fail now because
there was an information loss when building metadata that resulted in
the field carrying the missing analyzer to be ignored.
Commit: 7fe22e9dbcd2d69d1d6a63c92e7b670e097b0710
https://github.com/hibernate/hibernate-search/commit/7fe22e9dbcd2d69d1d6a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/query/facet/StringFacetingTest.java
Log Message:
-----------
HSEARCH-2450 Disabling temporarily a test that fails with ES due to HSEARCH-2451
Commit: 5b6599784222bef2972d9091568a66bc7ca652af
https://github.com/hibernate/hibernate-search/commit/5b6599784222bef2972d...
Author: gustavonalle <gustavonalle(a)gmail.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchImplicitProvidedIdIT.java
M engine/src/test/java/org/hibernate/search/testsupport/junit/SearchFactoryHolder.java
Log Message:
-----------
HSEARCH-2432 Test for entity Ids containing underscore lost when querying
Commit: 60d7fa778ee4d0130ff1204aefcfb181d86501e1
https://github.com/hibernate/hibernate-search/commit/60d7fa778ee4d0130ff1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchImplicitProvidedIdIT.java
Log Message:
-----------
HSEARCH-2432 Make some test entities private
Commit: 488b182989153d6a9bc380acc1f6f104fa3a78e8
https://github.com/hibernate/hibernate-search/commit/488b182989153d6a9bc3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
R elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/User.java
Log Message:
-----------
HSEARCH-2432 Removed a remnant from a previous refactoring
A test entity was previously refactored to an inner class, but
the original file wasn't deleted as it should have.
Making test entities nested helps when making new tests with
the same entities, especially when we do not want to alter existing
tests.
Commit: 8aa64eeeb8d0f118aef28bef0980f858dedfd783
https://github.com/hibernate/hibernate-search/commit/8aa64eeeb8d0f118aef2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchMultitenancyIT.java
M engine/src/test/java/org/hibernate/search/testsupport/junit/SearchFactoryHolder.java
M engine/src/test/java/org/hibernate/search/testsupport/setup/SearchConfigurationForTest.java
Log Message:
-----------
HSEARCH-2420 Test for tenant IDs containing underscores messing with entity ID retrieval
Commit: 36c55a318548e75437ee7a7e31b472d99456e1a5
https://github.com/hibernate/hibernate-search/commit/36c55a318548e75437ee...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
R elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/DocumentIdHelper.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
Log Message:
-----------
HSEARCH-2420 and HSEARCH-2432 Rationalize data extraction from ES query results
Previously, we had:
* Different behavior between ID fields and standard fields
* ID extraction from the ES "_id" field, which contains a concatenation
of tenant ID and entity ID (thus the extraction was error prone)
* Half-baked support for TwoWayFieldBridges on non-ID fields (they
would not find their additional fields in the document when we called
get())
To solve this:
* The entity ID is now extracted from in-document fields added by the ID
field bridge
* Thus the entity ID is extracted like any other field
* Support has been added for TwoWayFieldBridges which define additional
fields
Commit: 3f279129e0fe900e1c1d784224e25fabb6940321
https://github.com/hibernate/hibernate-search/commit/3f279129e0fe900e1c1d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/engine/NumericFieldTest.java
Log Message:
-----------
HSEARCH-2425 Re-enable a test around the type of bridge-defined fields projections
This test was fixed in the previous commit (tackling HSEARCH-2420/HSEARCH-2432).
Commit: b614499f743b719e0e549ef5c1842983d012ed08
https://github.com/hibernate/hibernate-search/commit/b614499f743b719e0e54...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-2384 Upgrade elasticsearch-maven-plugin to v2.2
This might allow to run tests against a newer version of ES.
Commit: b449675a521a67b45bdb25e18c2bf2b0e8adea51
https://github.com/hibernate/hibernate-search/commit/b449675a521a67b45bdb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/pom.xml
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M elasticsearch/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-2384 Make the Elasticsearch version used for integration tests a build parameter
Commit: e62ea231e69209aad2424a7b83be310253766181
https://github.com/hibernate/hibernate-search/commit/e62ea231e69209aad242...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2384 Document the lack of support for ES 5.0
Commit: ae4f3bcd3b403b806904d85505826a654c013dd4
https://github.com/hibernate/hibernate-search/commit/ae4f3bcd3b403b806904...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M README.md
Log Message:
-----------
HSEARCH-2384 Document how to test against a different version of Elasticsearch
Commit: 5e8c4727a56b07bc06110a5336e924d66273e0d0
https://github.com/hibernate/hibernate-search/commit/5e8c4727a56b07bc0611...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/store/ShardIdentifierProviderTemplate.java
Log Message:
-----------
HSEARCH-2468 method getShardIdentifiersForDeletion in ShardIdentifierProviderTemplate should not be final
Commit: b8cd379ddb69920526b9411f75f9ed145c59b587
https://github.com/hibernate/hibernate-search/commit/b8cd379ddb69920526b9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/ElasticsearchEnvironment.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/JestClient.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/HostCanBeConfiguredIT.java
Log Message:
-----------
HSEARCH-2235 Added the ability to configure multiple Elasticsearch hosts
Commit: 8bbc2d9c8f99d215c55ffef87a8c47a3f8c28d0d
https://github.com/hibernate/hibernate-search/commit/8bbc2d9c8f99d215c55f...
Author: Yoann Rodière <yrodiere(a)redhat.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
Log Message:
-----------
HSEARCH-2260 Fixed an issue with index creation timing out
When the index name contained some special character that should be url-encoded (such as '$'), it was not url-encoded.
As a result, we waited for the creation of an index that was never created in the first place, so we were reaching the timeout and considered the index creation had failed, whereas it had not.
Commit: 3e2d98008f1eca4d0cc9958651cecc05b58094dd
https://github.com/hibernate/hibernate-search/commit/3e2d98008f1eca4d0cc9...
Author: Yoann Rodière <yrodiere(a)redhat.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/ElasticsearchEnvironment.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/JestClient.java
Log Message:
-----------
HSEARCH-2260 Added public defaults for some ES client properties
This will ease up connections to the server from test code.
Commit: addb7c389187364fc441801005be2ef7fc4c447c
https://github.com/hibernate/hibernate-search/commit/addb7c389187364fc441...
Author: Yoann Rodière <yrodiere(a)redhat.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A engine/src/test/java/org/hibernate/search/test/util/impl/ExceptionMatcherBuilder.java
Log Message:
-----------
HSEARCH-2260 Added tools for precise exception mapping
Commit: d3b0417d6959f94dd4d2f85b4c3f58001d6f429d
https://github.com/hibernate/hibernate-search/commit/d3b0417d6959f94dd4d2...
Author: Yoann Rodière <yrodiere(a)redhat.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/testutil/TestElasticsearchClient.java
Log Message:
-----------
HSEARCH-2260 Added tools for controlling an ES instance without Hibernate Search (for tests)
Commit: be75279344d3e005da8fb7fdce3d380887bc6b8f
https://github.com/hibernate/hibernate-search/commit/be75279344d3e005da8f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/DefaultGsonService.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticSearchIndexNullAsHelper.java
R elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchFieldType.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchMappingBuilder.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/GsonService.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/DataType.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/DynamicType.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/ElasticsearchFormatJsonAdapter.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/IndexMetadata.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/IndexType.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/PropertyMapping.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/TypeMapping.java
Log Message:
-----------
HSEARCH-2260 Introduced a typed Elasticsearch schema model
This will help when validating data, because reading from JsonObject is
really not practical. If we use a strongly typed model instead, code
will be much more readable.
Commit: ed5bb1475a84f72e9ac25ac20dfcb651ba85dc0d
https://github.com/hibernate/hibernate-search/commit/ed5bb1475a84f72e9ac2...
Author: Yoann Rodière <yrodiere(a)redhat.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/IndexSchemaManagementStrategy.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaValidator.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaValidationException.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaValidator.java
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaValidationIT.java
Log Message:
-----------
HSEARCH-2260 Added the VALIDATE index management strategy.
Commit: 561b2781e358c761498cbd2b4989161b68830936
https://github.com/hibernate/hibernate-search/commit/561b2781e358c761498c...
Author: Yoann Rodière <yrodiere(a)redhat.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
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/DefaultElasticsearchSchemaValidator.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaValidationIT.java
Log Message:
-----------
HSEARCH-2260 Added some leniency to ES mapping validation
Commit: 9b4e974728e92d6535c2c089915ac7779d7e65b0
https://github.com/hibernate/hibernate-search/commit/9b4e974728e92d6535c2...
Author: Yoann Rodière <yrodiere(a)redhat.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
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
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
R elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/FieldHelper.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ToElasticsearch.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/util/impl/FieldHelper.java
Log Message:
-----------
HSEARCH-2260 Made FieldHelper publicly accesible to enable further refactoring
FieldHelper is still in an impl package, though, so it should not be used outside of this maven artifact.
Commit: 4f795c64b02ad6a945ac2b3f5c90b8a437c2d6c6
https://github.com/hibernate/hibernate-search/commit/4f795c64b02ad6a945ac...
Author: Yoann Rodière <yrodiere(a)redhat.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/ElasticsearchIndexStatus.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaCreator.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaDropper.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaMigrator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaValidator.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaAccessor.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaCreator.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaDropper.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaMigrator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaValidator.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ExecutionOptions.java
A elasticsearch/src/main/resources/META-INF/services/org.hibernate.search.elasticsearch.schema.impl.ElasticsearchSchemaAccessor
A elasticsearch/src/main/resources/META-INF/services/org.hibernate.search.elasticsearch.schema.impl.ElasticsearchSchemaCreator
A elasticsearch/src/main/resources/META-INF/services/org.hibernate.search.elasticsearch.schema.impl.ElasticsearchSchemaDropper
A elasticsearch/src/main/resources/META-INF/services/org.hibernate.search.elasticsearch.schema.impl.ElasticsearchSchemaMigrator
A elasticsearch/src/main/resources/META-INF/services/org.hibernate.search.elasticsearch.schema.impl.ElasticsearchSchemaValidator
Log Message:
-----------
HSEARCH-2260 Moved all schema management code out of ESIndexManager
This cleans up the code and lays the groundwork for (later) introducing the schema export tools.
Commit: ef7c96d4f4f7aae9d81862ad878fe6e9a3a03200
https://github.com/hibernate/hibernate-search/commit/ef7c96d4f4f7aae9d818...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
R elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticSearchIndexNullAsHelper.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
R elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchMappingBuilder.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonAccessorBuilder.java
R elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/PathComponentExtractor.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaTranslator.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticSearchIndexNullAsHelper.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchMappingBuilder.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaTranslator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ExecutionOptions.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/util/impl/PathComponentExtractor.java
A elasticsearch/src/main/resources/META-INF/services/org.hibernate.search.elasticsearch.schema.impl.ElasticsearchSchemaTranslator
Log Message:
-----------
HSEARCH-2260 Moved schema translation code outside of IndexManager
This cleans up the code and lays the groundwork for (later) introducing the schema export tools.
Commit: 92548283f8869ad7b0c82f08cbc792b14730963c
https://github.com/hibernate/hibernate-search/commit/92548283f8869ad7b0c8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaAccessor.java
Log Message:
-----------
HSEARCH-2260 Optimized Elasticsearch mappings retrieval
... by only retrieving the mappings for the one index we're interested in.
Commit: de8aae9bb4938969e7b1ad95fdd4316bd69f19c5
https://github.com/hibernate/hibernate-search/commit/de8aae9bb4938969e7b1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
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/DefaultElasticsearchSchemaMigrator.java
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaMigrationIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/testutil/TestElasticsearchClient.java
Log Message:
-----------
HSEARCH-2260 Added tests for the MERGE index schema management strategy
Commit: bb369b1e5732da2f7aa7a938e142b587f8903e31
https://github.com/hibernate/hibernate-search/commit/bb369b1e5732da2f7aa7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaAccessor.java
Log Message:
-----------
HSEARCH-2260 Documented MERGE and VALIDATE
... Elasticsearch index schema management strategies.
Commit: 5237166940bb4d98d276dc727a2d0a2e4409c6d7
https://github.com/hibernate/hibernate-search/commit/5237166940bb4d98d276...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
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/DefaultElasticsearchSchemaValidator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaAccessor.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchValidationMessages.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ValidationContext.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ValidationErrorCollector.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaMigrationIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaValidationIT.java
M pom.xml
Log Message:
-----------
HSEARCH-2260 Show all known errors when ES mapping validation fails
Commit: 1140b9bafa8086027cf08f6cf2c60f46185505cc
https://github.com/hibernate/hibernate-search/commit/1140b9bafa8086027cf0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaValidationIT.java
M engine/src/main/java/org/hibernate/search/indexes/impl/IndexManagerHolder.java
M engine/src/test/java/org/hibernate/search/test/util/impl/ExceptionMatcherBuilder.java
Log Message:
-----------
HSEARCH-2260 Make sure to include all failing IndexManagers in the resulting exception
We continue to initialize other IndexManagers even if the first one
fails, adding the possible other exceptions to the first one using
Throwable.addSuppressed.
That way, once the exception is printed, every failing index manager
will show up.
Commit: 3919f04b3a5faa736ec356f6192a7c1b331df690
https://github.com/hibernate/hibernate-search/commit/3919f04b3a5faa736ec3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/BackendRequest.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/BackendRequestProcessor.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/BackendRequestSuccessReporter.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/BulkRequest.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/BulkRequestFailedException.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/JestClient.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/SingleRequest.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/DocumentAddedBackendRequestSuccessReporter.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/NoopBackendRequestSuccessHandler.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
Log Message:
-----------
HSEARCH-2400 Support IndexingMonitor for the Elasticsearch backend
Commit: bd972e7f177b25c78980e0d83e6b75018ff35acd
https://github.com/hibernate/hibernate-search/commit/bd972e7f177b25c78980...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
Log Message:
-----------
Removed dead code
Commit: 7228d1608e269fa56c207e1a58b4b78e3890e1e9
https://github.com/hibernate/hibernate-search/commit/7228d1608e269fa56c20...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-2483 Fixed obsolete comments in the parent pom
Commit: ce6cd60169044ad03ffc404cf16d41e26f838572
https://github.com/hibernate/hibernate-search/commit/ce6cd60169044ad03ffc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-2483 Upgraded the Elasticsearch version used for tests to 2.4.2
Commit: ab617373081fe450b279975701e4c00a2ee10537
https://github.com/hibernate/hibernate-search/commit/ab617373081fe450b279...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
HSEARCH-2483 Documented the fix for HSEARCH-2414 (upgrade Elasticsearch)
Commit: 4055bdcf1c16922469c4c3b704a3c81f5c0301e2
https://github.com/hibernate/hibernate-search/commit/4055bdcf1c16922469c4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaTranslator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/util/impl/FieldHelper.java
M engine/src/main/java/org/hibernate/search/engine/impl/DocumentBuilderHelper.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/BridgeDefinedField.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/DocumentFieldMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FacetMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FieldMetadataBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/PropertyMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/SortableFieldMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M engine/src/main/java/org/hibernate/search/metadata/impl/FieldDescriptorImpl.java
M engine/src/main/java/org/hibernate/search/query/dsl/impl/ConnectedMoreLikeThisQueryBuilder.java
M engine/src/main/java/org/hibernate/search/query/engine/impl/SortConfigurations.java
M engine/src/test/java/org/hibernate/search/test/configuration/TypeMetadataTest.java
M engine/src/test/java/org/hibernate/search/test/metadata/DocumentFieldMetadataTest.java
Log Message:
-----------
HSEARCH-2457 Renamed getFieldName/getName to getAbsoluteName
... in internal metadata, so as to prevent confusions between relative
field name, absolute field name and property name.
We could have used the term "path", but it would have made less clear
that those strings are used as field names in Lucene "Fields", and would
have created weird pieces of code about everywhere, where we would do
something like "String fieldName = metadata.getPath()".
So this should prevent most confusions in the future while still making
sense in existing code.
Commit: 66dc36df660e076685f944822b0c324ff0c70f2f
https://github.com/hibernate/hibernate-search/commit/66dc36df660e076685f9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/ByTermDeleteWorkExecutor.java
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/ByTermUpdateWorkExecutor.java
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/DeleteExtWorkExecutor.java
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/DeleteWorkExecutor.java
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/works/UpdateExtWorkExecutor.java
M engine/src/main/java/org/hibernate/search/engine/impl/DocumentBuilderHelper.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M engine/src/main/java/org/hibernate/search/indexes/serialization/impl/LuceneWorkHydrator.java
M engine/src/main/java/org/hibernate/search/query/dsl/impl/FieldContext.java
M engine/src/main/java/org/hibernate/search/query/dsl/impl/MoreLikeThisBuilder.java
M engine/src/main/java/org/hibernate/search/query/engine/impl/LuceneHSQuery.java
M orm/src/main/java/org/hibernate/search/batchindexing/impl/BatchIndexingWorkspace.java
M orm/src/main/java/org/hibernate/search/batchindexing/impl/IdentifierConsumerDocumentProducer.java
M orm/src/main/java/org/hibernate/search/query/hibernate/impl/CriteriaObjectInitializer.java
Log Message:
-----------
HSEARCH-2457 Clarified ID-related getters in DocumentBuilderIndexedEntity
Commit: 77b373f09fda28cb55e534e543c94ac68ca8ef35
https://github.com/hibernate/hibernate-search/commit/77b373f09fda28cb55e5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FieldMetadataBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
Log Message:
-----------
HSEARCH-2457 Clarified FieldMetadataBuilderImpl getters
Commit: 6037e19c1ba8329c2077068f3e1935ad264fed97
https://github.com/hibernate/hibernate-search/commit/6037e19c1ba8329c2077...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/bridge/spi/ConversionContext.java
M engine/src/main/java/org/hibernate/search/bridge/util/impl/ContextualExceptionBridgeHelper.java
M engine/src/main/java/org/hibernate/search/engine/impl/DocumentBuilderHelper.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M orm/src/main/java/org/hibernate/search/batchindexing/impl/IdentifierConsumerDocumentProducer.java
M orm/src/test/java/org/hibernate/search/test/bridge/BridgeConversionErrorTest.java
Log Message:
-----------
HSEARCH-2457 Fixed confusions between property name and absolute/relative field name
Commit: 0cc2f00328dc20058186c161fe86aa965abcf9e6
https://github.com/hibernate/hibernate-search/commit/0cc2f00328dc20058186...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/bridge/util/impl/ContextualExceptionBridgeHelper.java
M orm/src/test/java/org/hibernate/search/test/bridge/BridgeConversionErrorTest.java
Log Message:
-----------
HSEARCH-2457 Make sure ContextualExceptionBridgeHelper provides as much information as possible in exception messages
We must do with whatever info we already have in this class, and can't
add externally provided information, because the implemented interface,
ConversionContext, is SPI, and we don't want to break that.
Commit: 8e04a12fa5fcdc69faf725a3a62cf9e822ce0d1a
https://github.com/hibernate/hibernate-search/commit/8e04a12fa5fcdc69faf7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/SortableFieldMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
M engine/src/test/java/org/hibernate/search/test/sorting/ManagedMultiReaderTest.java
Log Message:
-----------
HSEARCH-2457 Made SortableFieldMetadata.Builder consistent with other builders
... by passing all the required data through constructor parameters.
It makes it obvious that a builder wasn't really necessary, but it was
probably added for consistency with other metadata.
Commit: 52cc16c024e9cbd4f60e0a6a1cdd892a448c99c6
https://github.com/hibernate/hibernate-search/commit/52cc16c024e9cbd4f60e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
Log Message:
-----------
HSEARCH-2457 Fixed a case sensitivity issue introduced in 3b2927a8cdbfb07945d25313c1b9dedc95482d6c
Commit: 6bca7e48d9b65c91e4c375d60ae5771aadad1b55
https://github.com/hibernate/hibernate-search/commit/6bca7e48d9b65c91e4c3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
Log Message:
-----------
Typo (missing word in a comment)
Commit: d90ab974b6ccd06eef2921f5933e1d571ca26809
https://github.com/hibernate/hibernate-search/commit/d90ab974b6ccd06eef29...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/DocumentFieldMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FacetMetadata.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M engine/src/test/java/org/hibernate/search/test/bridge/builtin/TikaBridgeTest.java
Log Message:
-----------
HSEARCH-2451 Add relative field names to the internal metadata
Preliminary work for HSEARCH-2451.
Commit: f078820e6f62eb440512c98f42d436cc709630c1
https://github.com/hibernate/hibernate-search/commit/f078820e6f62eb440512...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/impl/nullencoding/NumericNullEncodersHelper.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/BridgeDefinedField.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/DocumentFieldMetadata.java
A engine/src/main/java/org/hibernate/search/engine/metadata/impl/DocumentFieldPath.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FacetMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/NumericFieldsConfiguration.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/ParseContext.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/PathsContext.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/SortableFieldMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
M engine/src/main/java/org/hibernate/search/engine/spi/DocumentBuilderIndexedEntity.java
M engine/src/test/java/org/hibernate/search/test/bridge/builtin/TikaBridgeTest.java
Log Message:
-----------
HSEARCH-2451 Introduced DocumentFieldPath
This class encloses all field path related data: the prefix, the
relative name, and the absolute name.
Commit: b6fb45c51f4cec45c96687cb208f95bfc0f9b0b7
https://github.com/hibernate/hibernate-search/commit/b6fb45c51f4cec45c966...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FacetMetadata.java
Log Message:
-----------
HSEARCH-2451 Added the "source" field to FacetMetadata
Preliminary work for HSEARCH-2451.
Commit: 4c3ce36920e4605ac8a88bb21033a72761244fd3
https://github.com/hibernate/hibernate-search/commit/4c3ce36920e4605ac8a8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
Log Message:
-----------
HSEARCH-2451 Added getters for FacetMetadata to TypeMetadata
Preliminary work for HSEARCH-2451.
Commit: 9ef5a0c3a044b124e45e8f9725cd3cb3f791c19b
https://github.com/hibernate/hibernate-search/commit/9ef5a0c3a044b124e45e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ToElasticsearch.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaTranslator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaValidator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchValidationMessages.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ValidationContext.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ValidationErrorCollector.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/PropertyMapping.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaValidationIT.java
M orm/src/test/java/org/hibernate/search/test/query/facet/StringFacetingTest.java
Log Message:
-----------
HSEARCH-2451 Use Elasticsearch "fields" feature to implement faceting
Commit: de73c4fdfc6e62b3222636bb42e25610f0d93d82
https://github.com/hibernate/hibernate-search/commit/de73c4fdfc6e62b32226...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaTranslator.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FacetMetadata.java
Log Message:
-----------
HSEARCH-2451 ES: Use the same datatype for facet fields as for source field when asked for automatic encoding resolution
Commit: 57f2d295ae6825c076a2b1727209b6b25b45edda
https://github.com/hibernate/hibernate-search/commit/57f2d295ae6825c076a2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/spatial.asciidoc
M engine/src/main/java/org/hibernate/search/spatial/impl/DistanceCollector.java
M engine/src/main/java/org/hibernate/search/spatial/impl/DistanceComparator.java
M engine/src/main/java/org/hibernate/search/spatial/impl/DistanceFilter.java
M orm/src/test/java/org/hibernate/search/test/jpa/SpatialQueryingJPATest.java
Log Message:
-----------
HSEARCH-2324 Use Double.MAX_VALUE as the default distance (when missing the latitude and/or longitude) in spatial queries
Commit: fafadf96ddcba60666d566b3f83b4c25760aeeed
https://github.com/hibernate/hibernate-search/commit/fafadf96ddcba60666d5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M engine/src/main/java/org/hibernate/search/spatial/impl/DistanceCollector.java
M engine/src/main/java/org/hibernate/search/spatial/impl/DistanceComparator.java
Log Message:
-----------
HSEARCH-2324 Fixed Elasticsearch's behavior when computing distance with missing coordinates
It used to throw an NPE, though only when computing distance explicitly
through our groovy script. Everything was fine when retrieving the value
from the sort.
Commit: 22ef752aa2b75092acae888f0b1f240694d837ba
https://github.com/hibernate/hibernate-search/commit/22ef752aa2b75092acae...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/spatial.asciidoc
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M engine/src/main/java/org/hibernate/search/query/engine/impl/QueryHits.java
M engine/src/main/java/org/hibernate/search/spatial/impl/DistanceCollector.java
M orm/src/test/java/org/hibernate/search/test/jpa/SpatialQueryingJPATest.java
Log Message:
-----------
HSEARCH-2324 Make projection result null on spatial fields for entities with missing coordinates
Commit: bf08be5c4986022342d8faec6325cb304d807990
https://github.com/hibernate/hibernate-search/commit/bf08be5c4986022342d8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
Log Message:
-----------
HSEARCH-2451 follow-up: removed an unused variable.
It shouldn't have been added in commit f82dd6294cebb6a115d6c4e465c9f809b632ddbf
Commit: 5d5df07a066f125d8bf40a455b8f907819a5987a
https://github.com/hibernate/hibernate-search/commit/5d5df07a066f125d8bf4...
Author: gustavonalle <gustavonalle(a)gmail.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/IndexWriterHolder.java
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/LuceneBackendQueueTask.java
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/LuceneBackendResources.java
M engine/src/main/java/org/hibernate/search/exception/ErrorContext.java
M engine/src/main/java/org/hibernate/search/exception/impl/ErrorContextBuilder.java
M engine/src/main/java/org/hibernate/search/exception/impl/ErrorContextImpl.java
M orm/src/test/java/org/hibernate/search/test/errorhandling/LuceneErrorHandlingTest.java
M orm/src/test/java/org/hibernate/search/test/errorhandling/MockErrorHandler.java
Log Message:
-----------
HSEARCH-2445 Expose IndexManager in the ErrorContext
Commit: 7a3af67f6d99a9c34ec6f4cd972cb09a5ccb7079
https://github.com/hibernate/hibernate-search/commit/7a3af67f6d99a9c34ec6...
Author: gustavonalle <gustavonalle(a)gmail.com>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A engine/src/main/java/org/hibernate/search/spi/ErrorHandlerFactory.java
M engine/src/main/java/org/hibernate/search/spi/SearchIntegratorBuilder.java
Log Message:
-----------
HSEARCH-2445 Expose ErrorHandler creation at SPI level
Commit: f294d047dc431e70972cd9ab59aedb7552e876d2
https://github.com/hibernate/hibernate-search/commit/f294d047dc431e70972c...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/spi/ErrorHandlerFactory.java
M engine/src/main/java/org/hibernate/search/spi/SearchIntegratorBuilder.java
Log Message:
-----------
HSEARCH-2445 Morph the new ErrorHandlerFactory into an utility class to only expose static methods
Commit: 908f0bdb2e039c1c4d74f2220fc689787aac8148
https://github.com/hibernate/hibernate-search/commit/908f0bdb2e039c1c4d74...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
Log Message:
-----------
HSEARCH-2360 Use source filtering in Elasticsearch queries
To achieve that, we need to inspect the metadata for each projected
field before querying. Since the code was very similar to the one
executed when extracting query results, I chose to build a "projection
metamodel" during the preliminary inspection projected field metadata.
That removes the need of inspecting metadata when extracting query hits.
Commit: 357199d16e9afc130769f339e0654a58f1c13460
https://github.com/hibernate/hibernate-search/commit/357199d16e9afc130769...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
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/AbstractHSQuery.java
Log Message:
-----------
HSEARCH-2360 In HSQuery impls, make sure to clear cached results when the projection changes.
Commit: 278204b950824a66393cb9472d101d7f962d5d2c
https://github.com/hibernate/hibernate-search/commit/278204b950824a66393c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
Log Message:
-----------
HSEARCH-2360 Don't use an exact copy of the Elasticsearch search payload when calling the explain API
Commit: fab76f0f7a10a8723902c381c2cb961f4e650248
https://github.com/hibernate/hibernate-search/commit/fab76f0f7a10a8723902...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
Log Message:
-----------
HSEARCH-2360 Renamed the "completeQuery" in ElasticsearchHSQueryImpl to "payload" to avoid confusion with the actual query
Commit: d700b8b72e9f058fbd19581a50fc27892bac454d
https://github.com/hibernate/hibernate-search/commit/d700b8b72e9f058fbd19...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchClassBridgeIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/testutil/TestElasticsearchClient.java
Log Message:
-----------
HSEARCH-2471 Added support for projections on unmapped fields with Elasticsearch
That's probably what was originally intended with the current code
handling projections of one-way bridged fields.
Commit: 2e0c176786c475e5447c029c152214a68f5d9726
https://github.com/hibernate/hibernate-search/commit/2e0c176786c475e5447c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/impl/DocumentBuilderHelper.java
M engine/src/main/java/org/hibernate/search/util/logging/impl/Log.java
M engine/src/test/java/org/hibernate/search/test/projection/ProjectionConversionTest.java
Log Message:
-----------
HSEARCH-2470 Test the lack of support for projection on one-way field bridges
Commit: b22b89411915cb1614857ef5f81d1029da59a30e
https://github.com/hibernate/hibernate-search/commit/b22b89411915cb161485...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/AgeBridge.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchClassBridgeIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchIndexMappingIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/NameConcatenationBridge.java
Log Message:
-----------
HSEARCH-2470 Dropped support for projection on fields with a one-way bridge in Elasticsearch
Commit: b6eca9a7f0112a7f95fc4a4e8af0b3ea237e5c69
https://github.com/hibernate/hibernate-search/commit/b6eca9a7f0112a7f95fc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/util/impl/FieldHelper.java
Log Message:
-----------
HSEARCH-2470 Made sure overriding the default field type in MetadataProvidingFieldBridge works with projections.
Follow-up on 3278599c0ae43b801897f96f1e1c2b3d30ca43ac, which was
incomplete.
Projections used to work in existing tests, but only because we
leveraged the "one-way field bridge" projections. Those are not
supported anymore, thus
org.hibernate.search.elasticsearch.test.ElasticsearchClassBridgeIT.testProjectionOfClassBridgeField()
started failing. Turning AgeBridge into a MetadataProvidingFieldBridge
and overriding the field type didn't work, though, and this commit aims
at fixing just that.
Commit: bfb2b89f79a5b1b5efc5219cdc9d0e48efeebadb
https://github.com/hibernate/hibernate-search/commit/bfb2b89f79a5b1b5efc5...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M README.md
Log Message:
-----------
HSEARCH-2239 Update project tagline and project description in the README
Commit: 1f750a8b73aa2b540d7467915809d5fbf4a439aa
https://github.com/hibernate/hibernate-search/commit/1f750a8b73aa2b540d74...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/AsyncWorkProcessor.java
A engine/src/main/java/org/hibernate/search/backend/impl/lucene/LazyExecutorHolder.java
M engine/src/main/java/org/hibernate/search/backend/impl/lucene/LuceneBackendResources.java
Log Message:
-----------
HSEARCH-2442 Async backend executor needs thredsafe lifecycle management
Commit: a9206c8e99d0e450692d8d6c3ab855656497108d
https://github.com/hibernate/hibernate-search/commit/a9206c8e99d0e450692d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/spi/ElasticsearchIndexManagerType.java
M engine/src/main/java/org/hibernate/search/analyzer/impl/RemoteAnalyzerProvider.java
M engine/src/main/java/org/hibernate/search/engine/impl/ConfigContext.java
M engine/src/main/java/org/hibernate/search/indexes/impl/IndexManagerHolder.java
M engine/src/main/java/org/hibernate/search/query/dsl/impl/ConnectedMultiFieldsRangeQueryBuilder.java
Log Message:
-----------
HSEARCH-2426 Enabled analyzer initialization even when IndexManager are not created during bootstrap (e.g. when using dynamic sharding)
This required to move the RemoteAnalyzerProvider implementation from
IndexManager to IndexManagerType.
Commit: 5eb3d1050814f4981a025fd982ce1d2d2bef9358
https://github.com/hibernate/hibernate-search/commit/5eb3d1050814f4981a02...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M orm/src/test/java/org/hibernate/search/test/shards/DirectoryProviderForQueryTest.java
Log Message:
-----------
HSEARCH-2426 Re-enable tests for dynamic sharding with Elasticsearch
Commit: 04343bb84533fcdb8c3c5624cb59f32fef1071b6
https://github.com/hibernate/hibernate-search/commit/04343bb84533fcdb8c3c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-2392 Enable BridgeProviderTest for Elasticsearch
This requires altering slightly the way we build test-jars. We used to
exclude everything in META-INF following HSEARCH-1946: there seemingly
was an issue with persistence.xml. Since we need to include
META-INF/services for some tests to work, we now only exclude
META-INF/persistence.xml.
Commit: ebaf8c6d667d7bd1e09af7ba52f3c732da75072d
https://github.com/hibernate/hibernate-search/commit/ebaf8c6d667d7bd1e09a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/testutil/ImportedTestRunner.java
R elasticsearch/src/test/java/org/hibernate/search/elasticsearch/testutil/OrmTestRunner.java
Log Message:
-----------
HSEARCH-2406 Run -engine tests when building the Elasticsearch module
Commit: 36379e707c56e01445c4bbee43210543bddb6c3e
https://github.com/hibernate/hibernate-search/commit/36379e707c56e01445c4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchImplicitProvidedIdIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchMultitenancyIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchScrollingIT.java
M elasticsearch/src/test/resources/hibernate.properties
A elasticsearch/src/test/resources/test-defaults.properties
M engine/src/test/java/org/hibernate/search/testsupport/junit/SearchFactoryHolder.java
M engine/src/test/java/org/hibernate/search/testsupport/setup/SearchConfigurationForTest.java
A engine/src/test/java/org/hibernate/search/testsupport/setup/TestDefaults.java
A engine/src/test/resources/test-defaults.properties
Log Message:
-----------
HSEARCH-2406 Use the ES index manager by default in SearchFactoryHolder for tests run in the Elasticsearch module
Commit: 6a845ac462fe230123b76b87a636d20b769ec14e
https://github.com/hibernate/hibernate-search/commit/6a845ac462fe230123b7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/backend/lucene/ResourcesClosedInOrderTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/indexedembedded/IndexedEmbeddedWithAbstractClassTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/sharding/ShardingConfigurationTest.java
M engine/src/test/java/org/hibernate/search/testsupport/BytemanHelper.java
R engine/src/test/java/org/hibernate/search/testsupport/BytemanHelperStateCleanup.java
M orm/src/test/java/org/hibernate/search/test/configuration/field/TokenizationTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/integration/HibernateSearchSessionFactoryObserverTest.java
M orm/src/test/java/org/hibernate/search/test/query/initandlookup/CriteriaObjectInitializerAndHierarchyInheritanceTest.java
M orm/src/test/java/org/hibernate/search/test/query/initandlookup/ObjectLookupAndDatabaseRetrievalConfigurationTest.java
M orm/src/test/java/org/hibernate/search/test/query/objectloading/ObjectLoaderHelperTest.java
Log Message:
-----------
HSEARCH-2406 Made sure tests using byteman won't leak context again
Tests requiring access to byteman-set data are now forced to use a JUnit
rule that will cleanup the context.
Previously, using that rule wasn't mandatory.
Commit: 34cef58f619a9d6d515b3f548f72c0aab6d5658a
https://github.com/hibernate/hibernate-search/commit/34cef58f619a9d6d515b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/elasticsearchconfiguration/elasticsearch.yml
M engine/src/test/java/org/hibernate/search/test/sorting/SortingTest.java
Log Message:
-----------
HSEARCH-2406 Fixed analyzer issues when running -engine tests in the -elasticsearch module
Commit: 3d44bb9fab2505ff2d94a15c8d5455c8d31980ef
https://github.com/hibernate/hibernate-search/commit/3d44bb9fab2505ff2d94...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/testsupport/concurrency/ConcurrentRunner.java
Log Message:
-----------
HSEARCH-2406 Improved the stack trace when ConcurrentRunner fails
This was needed to diagnose an issue with ProjectionConversionTest.
Commit: 01f5118d2b77d38a6163e63c27da944b10336d80
https://github.com/hibernate/hibernate-search/commit/01f5118d2b77d38a6163...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/backend/lucene/AsyncBackendFlushTest.java
M engine/src/test/java/org/hibernate/search/test/backend/lucene/ResourcesClosedInOrderTest.java
M engine/src/test/java/org/hibernate/search/test/backend/lucene/SharedReleasesLocksTest.java
M engine/src/test/java/org/hibernate/search/test/backend/lucene/SyncWorkProcessorShutDownTest.java
M engine/src/test/java/org/hibernate/search/test/bridge/TwoWayFieldBridgeTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/DeleteByTermEnforcementTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/IndexManagerFactoryCustomizationTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/IndexMetadataCompleteConfiguredTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/IndexWriterTuningAppliedTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/OptimizerStrategyLoadTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/commitpolicy/CommitPolicyConfigurationTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/sharding/ShardingConfigurationTest.java
M engine/src/test/java/org/hibernate/search/test/dsl/EmptyQueryExceptionTest.java
M engine/src/test/java/org/hibernate/search/test/fileleaks/AllFilesClosedTest.java
M engine/src/test/java/org/hibernate/search/test/filters/FreshReadersProvidedTest.java
M engine/src/test/java/org/hibernate/search/test/id/providedId/ProvidedIdTest.java
A engine/src/test/java/org/hibernate/search/test/indexmanager/DirectoryBasedIndexManagerTest.java
R engine/src/test/java/org/hibernate/search/test/indexmanager/IndexManagerTest.java
M engine/src/test/java/org/hibernate/search/test/sorting/ManagedMultiReaderTest.java
M engine/src/test/java/org/hibernate/search/test/sorting/SortingTest.java
Log Message:
-----------
HSEARCH-2406 Disabled lucene-specific -engine tests in the -elasticsearch module
Commit: 9dd67a7a6368d82a0dd6e4e1e1bfa3731ed66f73
https://github.com/hibernate/hibernate-search/commit/9dd67a7a6368d82a0dd6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/pom.xml
M engine/src/test/java/org/hibernate/search/test/bridge/PropertiesExampleBridgeTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
M engine/src/test/java/org/hibernate/search/test/dsl/SortDSLTest.java
M engine/src/test/java/org/hibernate/search/test/projection/ProjectionConversionTest.java
M engine/src/test/java/org/hibernate/search/test/query/serialization/QuerySerializationTest.java
M engine/src/test/java/org/hibernate/search/test/sharding/LogRotationExampleTest.java
Log Message:
-----------
HSEARCH-2406 Ignore tests that fail due to bugs for now
Commit: 9e8d6207b62c38e66bfa3e9b788881c727ededc1
https://github.com/hibernate/hibernate-search/commit/9e8d6207b62c38e66bfa...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/util/impl/ExpectedLog4jLog.java
Log Message:
-----------
HSEARCH-2406 Added a way to check for the absence of logs to ExpectedLog4jLog.
Commit: 5fc0aaab9f0ac7ef9c8e84af99f6e1fefdd3a746
https://github.com/hibernate/hibernate-search/commit/5fc0aaab9f0ac7ef9c8e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/util/impl/ExpectedLog4jLog.java
Log Message:
-----------
HSEARCH-2406 Don't execute the ExpectedLog4jLog rule when it's not necessary
Commit: b8eb5e425747507ea3795ff92bff1fc5de7a0e12
https://github.com/hibernate/hibernate-search/commit/b8eb5e425747507ea379...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/indexedembedded/IndexedEmbeddedWithAbstractClassTest.java
M engine/src/test/java/org/hibernate/search/test/configuration/sharding/ShardingConfigurationTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/field/TokenizationTest.java
Log Message:
-----------
HSEARCH-2406 Fixed tests relying on ByteMan rules in the -elasticsearch module
The ByteMan rules don't seem to work when run from the -elasticsearch
module for some reason. I didn't investigate, since there was a solution
that didn't involve ByteMan.
Commit: 2217b4b272baa4343ccb4935e8abc05efb4d4569
https://github.com/hibernate/hibernate-search/commit/2217b4b272baa4343ccb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/dsl/NumericTypeGuessedTest.java
Log Message:
-----------
HSEARCH-2406 Fixed -engine tests using custom field bridges for Elasticsearch
Those bridges should implement MetadataProvidingFieldBridge to work
properly.
Commit: 4c864411c80acfb90dda62ee71723579118fba71
https://github.com/hibernate/hibernate-search/commit/4c864411c80acfb90dda...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
Log Message:
-----------
HSEARCH-2406 Made sure MutableFactoryTest reports errors as originally intended
It seems the fix from af1cb0e95198985593f9b5411393da0a7f80ecd4 didn't
to address the issue of failing threads: it bypassed the code
responsible for detecting thread failures (by initializing the runnable's
"failure" attribute to a non-null value) and left that code in place.
Commit: 462324ea1081551528633d86463281c75133e690
https://github.com/hibernate/hibernate-search/commit/462324ea108155152863...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
Log Message:
-----------
HSEARCH-2406 Removed dependencies to Lucene in MutableFactoryTest
Commit: ab038a91ac1caa4c12e314941f2257e04cf89f97
https://github.com/hibernate/hibernate-search/commit/ab038a91ac1caa4c12e3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
Log Message:
-----------
HSEARCH-2406 Improved error reporting in MutableFactoryTest#testMultiThreadedAddClasses
Commit: 59d5aa0eb52167e770233a0bca2eeed4f2549873
https://github.com/hibernate/hibernate-search/commit/59d5aa0eb52167e77023...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
Log Message:
-----------
HSEARCH-2406 Made sure MutableFactoryTest.testMultiThreadedAddClasses() doesn't time out with an Elasticsearch index manager
Commit: 973bd1e7315d37715657549fba927b71dbd4f2ae
https://github.com/hibernate/hibernate-search/commit/973bd1e7315d37715657...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/bridge/builtin/TikaBridgeTest.java
Log Message:
-----------
HSEARCH-2406 Made sure TikaBridgeTest will work when run in a test-jar
Commit: da1a5da6cc25a6f58badf58304a09b001a84c6e6
https://github.com/hibernate/hibernate-search/commit/da1a5da6cc25a6f58bad...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/dsl/NumericTypeGuessedTest.java
M engine/src/test/java/org/hibernate/search/test/query/serialization/QuerySerializationTest.java
Log Message:
-----------
HSEARCH-2406 Fixed incorrect test names that probably resulted from copy-paste
Commit: 92c48fd7c02721fbb3fa3cefe13a6a70d0e3340a
https://github.com/hibernate/hibernate-search/commit/92c48fd7c02721fbb3fa...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/query/facet/FacetIndexingFailureTest.java
Log Message:
-----------
HSEARCH-2406 Made FacetIndexingFailureTest work with the Elasticsearch indexing service
Commit: 097f374ff36f3605512843a80dbf945e4e7c3a91
https://github.com/hibernate/hibernate-search/commit/097f374ff36f36055128...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/filters/FreshReadersProvidedTest.java
Log Message:
-----------
HSEARCH-2406 Fixed an infinite recursion in FreshReadersProvidedTest.RecordingFilter#toString(String)
Commit: ce79f1f48e50c0650c893a451eff2a84629e2383
https://github.com/hibernate/hibernate-search/commit/ce79f1f48e50c0650c89...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/DefinitionsOnHotRebootTest.java
Log Message:
-----------
HSEARCH-2406 Made DefinitionsOnHotRebootTest work with the Elasticsearch indexing service
Commit: 8c301877d57577e5dc7b24663d0df2669e79e0a2
https://github.com/hibernate/hibernate-search/commit/8c301877d57577e5dc7b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M orm/src/test/java/org/hibernate/search/test/batchindexing/MassIndexerErrorReportingTest.java
M orm/src/test/java/org/hibernate/search/test/configuration/integration/HibernateSearchSessionFactoryObserverTest.java
M orm/src/test/java/org/hibernate/search/test/errorhandling/ErrorHandlingDuringDocumentCreationTest.java
M orm/src/test/java/org/hibernate/search/test/query/facet/FacetIndexingFailureTest.java
M orm/src/test/java/org/hibernate/search/test/query/initandlookup/CriteriaObjectInitializerAndHierarchyInheritanceTest.java
M orm/src/test/java/org/hibernate/search/test/query/initandlookup/ObjectLookupAndDatabaseRetrievalConfigurationTest.java
M orm/src/test/java/org/hibernate/search/test/query/objectloading/ObjectLoaderHelperTest.java
Log Message:
-----------
HSEARCH-2406 Disabled -orm and -engine tests relying on Byteman in Elasticsearch due to HSEARCH-2481
Commit: 2dfcd481d1fe85c83a43e9cfc49e939129d2f363
https://github.com/hibernate/hibernate-search/commit/2dfcd481d1fe85c83a43...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ToElasticsearch.java
M engine/src/test/java/org/hibernate/search/test/dsl/SortDSLTest.java
Log Message:
-----------
HSEARCH-2474 Support for missing values on sorts with Elasticsearch
Commit: 765c8adedaf8919c64619cd65fe033dd244565bc
https://github.com/hibernate/hibernate-search/commit/765c8adedaf8919c6461...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ToElasticsearch.java
M engine/src/test/java/org/hibernate/search/test/dsl/SortDSLTest.java
Log Message:
-----------
HSEARCH-2475 Properly support score sort order with Elasticsearch
The order used to be reversed.
Commit: 8b97e78e26206f51a4ea138492c5852d8606d719
https://github.com/hibernate/hibernate-search/commit/8b97e78e26206f51a4ea...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchHSQueryImpl.java
M engine/src/test/java/org/hibernate/search/test/dsl/SortDSLTest.java
Log Message:
-----------
HSEARCH-2482 Added test to demonstrate the Sort DSL doesn't work for numeric non-double missing values
I took this opportunity to refactor the test and make it a bit clearer.
Commit: d3b21583f621112ac0d17ee68bf73afb6378ad00
https://github.com/hibernate/hibernate-search/commit/d3b21583f621112ac0d1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/query/dsl/sort/impl/SortFieldStates.java
Log Message:
-----------
HSEARCH-2482 Fixed ClassCastException when using sortLast/sortFirst in the Sort DSL
Commit: 4d5f3458b34810c5d5917e643fb235802680391a
https://github.com/hibernate/hibernate-search/commit/4d5f3458b34810c5d591...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaTranslator.java
Log Message:
-----------
HSEARCH-2448 Fix an inconsistency in how tenant ID fields are added to the mapping
Commit: a2344f677196ca579e88af71d208d50e82879bbd
https://github.com/hibernate/hibernate-search/commit/a2344f677196ca579e88...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/DocumentFieldMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FieldMetadataBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/NumericFieldsConfiguration.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/ParseContext.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/PathsContext.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/PropertyMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
Log Message:
-----------
HSEARCH-2448 Make metadata order as stable as possible
It helps when debugging and writing tests.
By using LinkedHashSet/LinkedHashMap instead of HashSet/HashMap, we have
at least the guarantee that the metadata order will match the order in
which they were processed by the annotation processor. It does not mean
the order is fully predictable, since we process class fields/methods in
the same order they are returned by the JVM (which is undefined), but at
least we can rely on some properties of the annotation processor, such
as the fact that methods are handled before fields.
Commit: 4764d45ed8deff9d0ef11f85c4f731d4f7b32c53
https://github.com/hibernate/hibernate-search/commit/4764d45ed8deff9d0ef1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/util/impl/ExceptionMatcherBuilder.java
Log Message:
-----------
HSEARCH-2448 Solve issues with generic type bounds within ExceptionMatcherBuilder
The bounds made it difficult to make build() return Matcher<? super Throwable>,
which made it difficult to pass created matchers to CoreMatchers.hasItem.
Thus I removed the bounds: they serve no purpose anyway, since Matcher<T>
has no method that uses T. The type T is simply used internally for
reflection magic in TypeSafeMatcher.
Commit: 8ce0740d1aeeb3073072f6347eb961551506950a
https://github.com/hibernate/hibernate-search/commit/8ce0740d1aeeb3073072...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaNamingConflictIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/testutil/TestElasticsearchClient.java
M orm/src/test/java/org/hibernate/search/test/SearchInitializationTestBase.java
Log Message:
-----------
HSEARCH-2448 Test behavior for field naming conflicts in mapping generation when one field is composite and the other isn't
Commit: 7e099bcb84f408447efd6b06656036b771b70e6f
https://github.com/hibernate/hibernate-search/commit/7e099bcb84f408447efd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchMappingBuilder.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/DataType.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/util/impl/PathComponentExtractor.java
Log Message:
-----------
HSEARCH-2448 Detect structural field naming conflicts in Elasticsearch mapping generation
I.e. detect when one of the conflicting fields is composite and the other isn't.
Commit: 946b2bd22c026cba1a2ce5ade73a8e3d99295f9a
https://github.com/hibernate/hibernate-search/commit/946b2bd22c026cba1a2c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonAccessor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonElementType.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/UnexpectedJsonElementTypeException.java
Log Message:
-----------
HSEARCH-2448 Detect structural field naming conflicts during Elasticsearch indexation
I.e. detect when one of the conflicting fields is composite and the other isn't.
Commit: dd6f4810041436f1a520c28ebdf9567cb7defe66
https://github.com/hibernate/hibernate-search/commit/dd6f4810041436f1a520...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeNullEmbeddedTest.java
A orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeNullEmbeddedTestEntity.java
M orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeTestEntity.java
A orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeNullEmbeddedTest.java
A orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeNullEmbeddedTestEntity.java
M orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeTestEntity.java
A orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeNullEmbeddedTest.java
A orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeNullEmbeddedTestEntity.java
M orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeTestEntity.java
Log Message:
-----------
HSEARCH-2419 Split container bridges tests to test null-embedded naming conflicts separately
This is necessary because such conflicts trigger a totally different
behavior with Elasticsearch (following HSEARCH-2448), preventing the
search factory to build.
Commit: 98c9cc7b929168639d2dc2b40a5649861146ff97
https://github.com/hibernate/hibernate-search/commit/98c9cc7b929168639d2d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/GolfPlayer.java
M orm/src/test/java/org/hibernate/search/test/event/autoindexembeddable/EmbeddableCategories.java
Log Message:
-----------
HSEARCH-2419 Fix occurrences of properties with both @Field and @IndexedeEmbedded in tests
Commit: 82c2b207f6e7b42aec7210fd713aa55f4929675f
https://github.com/hibernate/hibernate-search/commit/82c2b207f6e7b42aec72...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/bridge/impl/BridgeFactory.java
Log Message:
-----------
HSEARCH-2419 Do not require @IndexedEmbedded to make use of built-in container bridges
Commit: d5ad93a093b3ab83ccaa1696bb4d853b59ab1894
https://github.com/hibernate/hibernate-search/commit/d5ad93a093b3ab83ccaa...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/sorting/SortingTest.java
Log Message:
-----------
HSEARCH-2419 SortingTest requires to be updated to the new mapping
Commit: 9259cca91b3b71187cbec04451803d8a2def8083
https://github.com/hibernate/hibernate-search/commit/9259cca91b3b71187cbe...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
M engine/src/test/java/org/hibernate/search/testsupport/concurrency/ConcurrentRunner.java
Log Message:
-----------
HSEARCH-2480 Simplified MutableFactoryTest by using ConcurrentRunner
Commit: 3b57fa1534a1930490b2b54493201a811d7d641f
https://github.com/hibernate/hibernate-search/commit/3b57fa1534a1930490b2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
Fixed a typo in the Elasticsearch documentation
Commit: 57e5cf713f926e69bb1bc31b97fc670d9d706b9b
https://github.com/hibernate/hibernate-search/commit/57e5cf713f926e69bb1b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/IndexSchemaManagementStrategy.java
Log Message:
-----------
HSEARCH-2480 Made index schema management strategy documentation more precise
Commit: 9ad54771fc53b59189ee06c99ec2638603789f6d
https://github.com/hibernate/hibernate-search/commit/9ad54771fc53b59189ee...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/IndexSchemaManagementStrategy.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaCreator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaMigrator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaCreator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaMigrator.java
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
Log Message:
-----------
HSEARCH-2480 Made Elasticsearch index initialization work when the search factory changes
To that end, the initialization code had to change slightly: when simply
adding classes, we do not want to drop and recreate indexes even when
using the RECREATE* strategies, since we already have a guarantee that
indexes have been created with correct mappings (during the first
initialization).
Another reason for not wanting to drop the indexes is that it would mean
losing all information in the index whenever a new entity is added to
the search factory...
Commit: 4bb2fbb09221020459f93c42d47aabcb0ce504b2
https://github.com/hibernate/hibernate-search/commit/4bb2fbb09221020459f9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
Log Message:
-----------
HSEARCH-2480 Restored pre-elasticsearch parameters for MutableFactoryTest.testMultiThreadedAddClasses
The number of tasks and threads had been lowered because of timeouts
that I thought were due to Elasticsearch being too slow for the test to
work, but it appears that it was related to the bug we just fixed.
Thus we can raise the number of tasks and threads again.
Commit: ccd54f8be79697a213d42ac69899e8fc1a54bd57
https://github.com/hibernate/hibernate-search/commit/ccd54f8be79697a213d4...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/UnexpectedJsonElementTypeException.java
Log Message:
-----------
HSEARCH-2493 Generics usage needs to be stricter to make the Java9 compiler happy
Compare: https://github.com/hibernate/hibernate-search/compare/cbba3de01c8c...ccd5...
8 years
[hibernate/hibernate-search] b65362: HSEARCH-2480 Simplified MutableFactoryTest by usin...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: b65362a2fc50666a79fb5c123886d126b39b580a
https://github.com/hibernate/hibernate-search/commit/b65362a2fc50666a79fb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
M engine/src/test/java/org/hibernate/search/testsupport/concurrency/ConcurrentRunner.java
Log Message:
-----------
HSEARCH-2480 Simplified MutableFactoryTest by using ConcurrentRunner
Commit: ec573605ade234dcdfe85fa295c6c78591a0332f
https://github.com/hibernate/hibernate-search/commit/ec573605ade234dcdfe8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
Log Message:
-----------
Fixed a typo in the Elasticsearch documentation
Commit: 0be8debb6ed015732db8964a5d8c1a286f8c75fd
https://github.com/hibernate/hibernate-search/commit/0be8debb6ed015732db8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/IndexSchemaManagementStrategy.java
Log Message:
-----------
HSEARCH-2480 Made index schema management strategy documentation more precise
Commit: f6655fbd2649e5d6aac254870b39c58e584c5cce
https://github.com/hibernate/hibernate-search/commit/f6655fbd2649e5d6aac2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/IndexSchemaManagementStrategy.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexManager.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaCreator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaMigrator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaCreator.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchSchemaMigrator.java
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
Log Message:
-----------
HSEARCH-2480 Made Elasticsearch index initialization work when the search factory changes
To that end, the initialization code had to change slightly: when simply
adding classes, we do not want to drop and recreate indexes even when
using the RECREATE* strategies, since we already have a guarantee that
indexes have been created with correct mappings (during the first
initialization).
Another reason for not wanting to drop the indexes is that it would mean
losing all information in the index whenever a new entity is added to
the search factory...
Commit: bd50be352e4bf5cef0542e451178f925af6563f8
https://github.com/hibernate/hibernate-search/commit/bd50be352e4bf5cef054...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/configuration/mutablefactory/MutableFactoryTest.java
Log Message:
-----------
HSEARCH-2480 Restored pre-elasticsearch parameters for MutableFactoryTest.testMultiThreadedAddClasses
The number of tasks and threads had been lowered because of timeouts
that I thought were due to Elasticsearch being too slow for the test to
work, but it appears that it was related to the bug we just fixed.
Thus we can raise the number of tasks and threads again.
Compare: https://github.com/hibernate/hibernate-search/compare/efd2830bb838...bd50...
8 years
[hibernate/hibernate-search] 1f3c35: HSEARCH-2448 Fix an inconsistency in how tenant ID...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 1f3c35d3c6c383a86acfb3fa723ecd0d5baeada9
https://github.com/hibernate/hibernate-search/commit/1f3c35d3c6c383a86acf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/DefaultElasticsearchSchemaTranslator.java
Log Message:
-----------
HSEARCH-2448 Fix an inconsistency in how tenant ID fields are added to the mapping
Commit: 133c54294cd6cc0c07101ca357478cbb39f8781f
https://github.com/hibernate/hibernate-search/commit/133c54294cd6cc0c0710...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/DocumentFieldMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/FieldMetadataBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/NumericFieldsConfiguration.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/ParseContext.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/PathsContext.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/PropertyMetadata.java
M engine/src/main/java/org/hibernate/search/engine/metadata/impl/TypeMetadata.java
Log Message:
-----------
HSEARCH-2448 Make metadata order as stable as possible
It helps when debugging and writing tests.
By using LinkedHashSet/LinkedHashMap instead of HashSet/HashMap, we have
at least the guarantee that the metadata order will match the order in
which they were processed by the annotation processor. It does not mean
the order is fully predictable, since we process class fields/methods in
the same order they are returned by the JVM (which is undefined), but at
least we can rely on some properties of the annotation processor, such
as the fact that methods are handled before fields.
Commit: 04be292d57ef483be5ccbb49eac6d8f1134128f1
https://github.com/hibernate/hibernate-search/commit/04be292d57ef483be5cc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/test/java/org/hibernate/search/test/util/impl/ExceptionMatcherBuilder.java
Log Message:
-----------
HSEARCH-2448 Solve issues with generic type bounds within ExceptionMatcherBuilder
The bounds made it difficult to make build() return Matcher<? super Throwable>,
which made it difficult to pass created matchers to CoreMatchers.hasItem.
Thus I removed the bounds: they serve no purpose anyway, since Matcher<T>
has no method that uses T. The type T is simply used internally for
reflection magic in TypeSafeMatcher.
Commit: 36cee0230910c124192c983b5e68e4215bb71ffd
https://github.com/hibernate/hibernate-search/commit/36cee0230910c124192c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
A elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaNamingConflictIT.java
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/testutil/TestElasticsearchClient.java
M orm/src/test/java/org/hibernate/search/test/SearchInitializationTestBase.java
Log Message:
-----------
HSEARCH-2448 Test behavior for field naming conflicts in mapping generation when one field is composite and the other isn't
Commit: 9a70f2577b8c40701ca06141d04da27da088ba1b
https://github.com/hibernate/hibernate-search/commit/9a70f2577b8c40701ca0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/ElasticsearchMappingBuilder.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/schema/impl/model/DataType.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/util/impl/PathComponentExtractor.java
Log Message:
-----------
HSEARCH-2448 Detect structural field naming conflicts in Elasticsearch mapping generation
I.e. detect when one of the conflicting fields is composite and the other isn't.
Commit: e5382aaced0d9d9e4ba0361e3473a58428f88936
https://github.com/hibernate/hibernate-search/commit/e5382aaced0d9d9e4ba0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/ElasticsearchIndexWorkVisitor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonAccessor.java
M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/JsonElementType.java
A elasticsearch/src/main/java/org/hibernate/search/elasticsearch/impl/UnexpectedJsonElementTypeException.java
Log Message:
-----------
HSEARCH-2448 Detect structural field naming conflicts during Elasticsearch indexation
I.e. detect when one of the conflicting fields is composite and the other isn't.
Commit: c051bfe2ed8981482275ff63fbec3a5ea99d4cb3
https://github.com/hibernate/hibernate-search/commit/c051bfe2ed8981482275...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
A orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeNullEmbeddedTest.java
A orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeNullEmbeddedTestEntity.java
M orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/ArrayBridgeTestEntity.java
A orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeNullEmbeddedTest.java
A orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeNullEmbeddedTestEntity.java
M orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/IterableBridgeTestEntity.java
A orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeNullEmbeddedTest.java
A orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeNullEmbeddedTestEntity.java
M orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeTest.java
M orm/src/test/java/org/hibernate/search/test/bridge/MapBridgeTestEntity.java
Log Message:
-----------
HSEARCH-2419 Split container bridges tests to test null-embedded naming conflicts separately
This is necessary because such conflicts trigger a totally different
behavior with Elasticsearch (following HSEARCH-2448), preventing the
search factory to build.
Commit: f916ca94afc261eba62bfb310f7034f7fb0dca3c
https://github.com/hibernate/hibernate-search/commit/f916ca94afc261eba62b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/GolfPlayer.java
M orm/src/test/java/org/hibernate/search/test/event/autoindexembeddable/EmbeddableCategories.java
Log Message:
-----------
HSEARCH-2419 Fix occurrences of properties with both @Field and @IndexedeEmbedded in tests
Commit: 8d7597ae23a5d146feabfd1af29e7b0da8dce114
https://github.com/hibernate/hibernate-search/commit/8d7597ae23a5d146feab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M engine/src/main/java/org/hibernate/search/bridge/impl/BridgeFactory.java
Log Message:
-----------
HSEARCH-2419 Do not require @IndexedEmbedded to make use of built-in container bridges
Compare: https://github.com/hibernate/hibernate-search/compare/1598454311af...8d75...
8 years