[hibernate/hibernate-search] 77524d: HSEARCH-2360 Use source filtering in Elasticsearch...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 77524de4a5b57df860a8a8c25ef8f9dfb539092c
https://github.com/hibernate/hibernate-search/commit/77524de4a5b57df860a8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: ce61560ad6ff3c9f1f964a4626bc6e2895b77182
https://github.com/hibernate/hibernate-search/commit/ce61560ad6ff3c9f1f96...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 26dd4c8ecd51e777424b248b68b254d78cbaca1c
https://github.com/hibernate/hibernate-search/commit/26dd4c8ecd51e777424b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: b8494018203ffb9b9ba13aef1de6a6ed51599b5a
https://github.com/hibernate/hibernate-search/commit/b8494018203ffb9b9ba1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 73a8d51be7d3655419b2bef745b84e71f1cdd2fc
https://github.com/hibernate/hibernate-search/commit/73a8d51be7d3655419b2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: ff2a9d49dc0c964e52a899583fcfc59952ec66de
https://github.com/hibernate/hibernate-search/commit/ff2a9d49dc0c964e52a8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 2cd2a454f8bd0a4257ca3a5f9191543d3b5ea9a1
https://github.com/hibernate/hibernate-search/commit/2cd2a454f8bd0a4257ca...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 86636e0776431b8194fc3d6709ea0c97096152d4
https://github.com/hibernate/hibernate-search/commit/86636e0776431b8194fc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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.
Compare: https://github.com/hibernate/hibernate-search/compare/523505a16517...8663...
8 years, 1 month
[hibernate/hibernate-search] c59083: HSEARCH-2445 Expose IndexManager in the ErrorConte...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: c590830bf900cf09eb5450d6d3ce383b631e052b
https://github.com/hibernate/hibernate-search/commit/c590830bf900cf09eb54...
Author: gustavonalle <gustavonalle(a)gmail.com>
Date: 2016-11-23 (Wed, 23 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: bedbcd5400da4280053a27a829cd8f427e758b83
https://github.com/hibernate/hibernate-search/commit/bedbcd5400da4280053a...
Author: gustavonalle <gustavonalle(a)gmail.com>
Date: 2016-11-23 (Wed, 23 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: 523505a165172cbde6d4841cb7e09da0646308e3
https://github.com/hibernate/hibernate-search/commit/523505a165172cbde6d4...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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
Compare: https://github.com/hibernate/hibernate-search/compare/aadcea87b8f0...5235...
8 years, 1 month
[hibernate/hibernate-search] a208de: HSEARCH-2324 Use Double.MAX_VALUE as the default d...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: a208dec107c1567ecec451231a9c3c9a6cd2b6d8
https://github.com/hibernate/hibernate-search/commit/a208dec107c1567ecec4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 6b9eb41ca478ae1b25d9a902cc11cd4e0be90b63
https://github.com/hibernate/hibernate-search/commit/6b9eb41ca478ae1b25d9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 1fd53c1415f53bd7f6358b72c2618da785148bde
https://github.com/hibernate/hibernate-search/commit/1fd53c1415f53bd7f635...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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
Compare: https://github.com/hibernate/hibernate-search/compare/76f4d3efb8e3...1fd5...
8 years, 1 month
[hibernate/hibernate-search] 0c32e8: HSEARCH-2457 Renamed getFieldName/getName to getAb...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 0c32e80e5490657006ec25983f4b022a7355aecd
https://github.com/hibernate/hibernate-search/commit/0c32e80e5490657006ec...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 3c679183d7bfba0c02a10fb6a24ae693a631c4e4
https://github.com/hibernate/hibernate-search/commit/3c679183d7bfba0c02a1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 277072167f111327b0bf6ebd4ec6f1b9068447e3
https://github.com/hibernate/hibernate-search/commit/277072167f111327b0bf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 242712f4f2d233d546d3e85a393366c801d31bfd
https://github.com/hibernate/hibernate-search/commit/242712f4f2d233d546d3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 73ca2cabb422c4eb4617f7e9caf20787b4b5d8a0
https://github.com/hibernate/hibernate-search/commit/73ca2cabb422c4eb4617...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 415a2c3028b81964f1f0832bccf1988a4489aadf
https://github.com/hibernate/hibernate-search/commit/415a2c3028b81964f1f0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: dd6632636efc093f9fdf1aa1920c65bd7e6f0ec7
https://github.com/hibernate/hibernate-search/commit/dd6632636efc093f9fdf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: aaa9e6b5507dbd5f6aa5c07d4b736c6982588535
https://github.com/hibernate/hibernate-search/commit/aaa9e6b5507dbd5f6aa5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: cce869fa13264e954b15a9a0bac79d17d96e60a1
https://github.com/hibernate/hibernate-search/commit/cce869fa13264e954b15...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 34e093d14d70aa323fd0d6eb5358694562a86954
https://github.com/hibernate/hibernate-search/commit/34e093d14d70aa323fd0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 862bacea2ac26f3995f978f25ec814354f42d6db
https://github.com/hibernate/hibernate-search/commit/862bacea2ac26f3995f9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 2e6f0fb5ae21ed614144f9fb6eb231e82be3cc55
https://github.com/hibernate/hibernate-search/commit/2e6f0fb5ae21ed614144...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: f82dd6294cebb6a115d6c4e465c9f809b632ddbf
https://github.com/hibernate/hibernate-search/commit/f82dd6294cebb6a115d6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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: 76f4d3efb8e30e9b48cd236261e735df5c5cb744
https://github.com/hibernate/hibernate-search/commit/76f4d3efb8e30e9b48cd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2016-11-23 (Wed, 23 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
Compare: https://github.com/hibernate/hibernate-search/compare/516a89523a0e...76f4...
8 years, 1 month