[hibernate/hibernate-search] b174b0: HSEARCH-2192 Add basic highlight dsl interfaces
by Marko Bekhta
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: b174b070f763c5357dbaaac4bb73631fa020e96f
https://github.com/hibernate/hibernate-search/commit/b174b070f763c5357dba...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/mapping/impl/DiscriminatorTypeNameMapping.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchSearchIndexScopeImpl.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/highlighter/impl/ElasticsearchSearchHighlighter.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/highlighter/impl/ElasticsearchSearchHighlighterFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/highlighter/impl/ElasticsearchSearchHighlighterImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchDistanceToFieldProjection.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldHighlightProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchRootContextProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/FieldProjectionRequestContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionExtractContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionRequestContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionRequestRootContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/dsl/impl/ElasticsearchSearchQueryOptionsStepImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryRequestContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchStringIndexFieldTypeOptionsStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/scope/model/impl/LuceneSearchIndexScopeImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/LuceneSearchHighlighterFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/dsl/impl/LuceneSearchQueryOptionsStepImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryIndexScope.java
M engine/src/main/java/org/hibernate/search/engine/mapper/scope/impl/MappedIndexScopeImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/scope/spi/MappedIndexScope.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/SearchHighlighter.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerLocaleOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerTypeFastVectorHighlighterOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerTypeOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterEncoder.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterFastVectorHighlighterOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterFinalStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterFragmenter.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterPlainOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterTagSchema.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterUnifiedOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/SearchHighlighterFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/impl/HighlighterFastVectorHighlighterOptionsStepImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/impl/HighlighterOptionsStepImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/impl/HighlighterPlainOptionsStepImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/impl/HighlighterUnifiedOptionsStepImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/spi/AbstractSearchHighlighterFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/spi/BoundaryScannerType.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/spi/SearchHighlighterBuilder.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/spi/SearchHighlighterType.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/HighlightProjectionFinalStep.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/HighlightProjectionOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/SearchProjectionFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/impl/HighlightProjectionOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/spi/AbstractSearchProjectionFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/spi/HighlightProjectionBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ProjectionTypeKeys.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/SearchQueryOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/impl/DefaultSearchQueryOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/spi/AbstractSearchQueryOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryIndexScope.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/FieldHighlightIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/scope/SearchScope.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/scope/impl/SearchScopeImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/impl/PojoScopeDelegateImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/scope/spi/PojoScopeDelegate.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/scope/SearchScope.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/scope/impl/SearchScopeImpl.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/common/impl/StubSearchIndexScope.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/query/impl/StubSearchQueryBuilder.java
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/GenericStubMappingScope.java
Log Message:
-----------
HSEARCH-2192 Add basic highlight dsl interfaces
Commit: ff30c765370bfdde10b19996250baa0032bcb276
https://github.com/hibernate/hibernate-search/commit/ff30c765370bfdde10b1...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/highlighter/impl/ElasticsearchSearchHighlighterImpl.java
M backend/lucene/pom.xml
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/scope/model/impl/LuceneSearchIndexScopeImpl.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/LuceneSearchHighlighterFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneSearchHighlighter.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneSearchHighlighterFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldHighlightProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ProjectionRequestContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/dsl/impl/LuceneSearchQueryOptionsStepImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryIndexScope.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexFieldTypeOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/impl/HighlighterFastVectorHighlighterOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/impl/HighlighterUnifiedOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/spi/SearchHighlighterBuilder.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/FieldHighlightIT.java
M pom.xml
Log Message:
-----------
HSEARCH-2192 Add Lucene support
Commit: 906276d17c3c32060d684840f5c4d810a011eb07
https://github.com/hibernate/hibernate-search/commit/906276d17c3c32060d68...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/LuceneTckBackendFeatures.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/FieldHighlightIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlightProjectionBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterFastVectorIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterPlainIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterUnifiedIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-2192 Add highlight tests
Commit: 4b76dd655700b0093f7f97377f8e3bfe9461704c
https://github.com/hibernate/hibernate-search/commit/4b76dd655700b0093f7f...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldHighlightProjection.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/SearchHighlighter.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerLocaleOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerTypeFastVectorHighlighterOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerTypeOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterEncoder.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterFastVectorHighlighterOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterFinalStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterFragmenter.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterPlainOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterTagSchema.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterUnifiedOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/SearchHighlighterFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/spi/BoundaryScannerType.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/spi/SearchHighlighterType.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/dsl/HighlightProjectionOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/SearchQueryOptionsStep.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/scope/SearchScope.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/scope/SearchScope.java
Log Message:
-----------
HSEARCH-2192 Add missing javadocs
Commit: bb5aed4a5b88003fb8de8e5d23ba6c068c62aecf
https://github.com/hibernate/hibernate-search/commit/bb5aed4a5b88003fb8de...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
Log Message:
-----------
HSEARCH-2192 Add checks for names of named highlighters
Commit: cdb882f67d96579109d4ddec8753db306a4408c2
https://github.com/hibernate/hibernate-search/commit/cdb882f67d96579109d4...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/AbstractMultiIndexSearchIndexNodeContext.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/SearchIndexSchemaElementContextHelper.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
Log Message:
-----------
HSEARCH-2192 Use a different message for attempt to highlight a non-analyzed text field
Commit: 15baa39c043b319c92640cb7a593ef1428508e3d
https://github.com/hibernate/hibernate-search/commit/15baa39c043b319c9264...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerFastVectorHighlighterOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerFinalStep.java
R engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerLocaleOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerOptionsStep.java
R engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerTypeFastVectorHighlighterOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerTypeFastVectorHighlighterStep.java
R engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerTypeOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerTypeStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterFastVectorHighlighterOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterUnifiedOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/impl/HighlighterFastVectorHighlighterOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/impl/HighlighterUnifiedOptionsStepImpl.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterFastVectorIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterUnifiedIT.java
Log Message:
-----------
HSEARCH-2192 Change boundary scanner DSL
Commit: ce8cc8d0290b739bd6bedc453be3cf61f4605149
https://github.com/hibernate/hibernate-search/commit/ce8cc8d0290b739bd6be...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/reporting/impl/ElasticsearchBackendHints.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchSearchIndexScopeImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/reporting/impl/LuceneBackendHints.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/scope/model/impl/LuceneSearchIndexScopeImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexFieldTypeOptionsStep.java
A engine/src/main/java/org/hibernate/search/engine/backend/reporting/spi/BackendHints.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/AbstractMultiIndexSearchIndexNodeContext.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/SearchIndexSchemaElementContextHelper.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/SearchIndexScope.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/LuceneTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/common/impl/StubSearchIndexScope.java
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/StubMappingHints.java
Log Message:
-----------
HSEARCH-2192 Only allow highlighting for stored fields in case of Lucene
Commit: 68e846b3d738b999d1a03fd4e7fcbae44cc2f383
https://github.com/hibernate/hibernate-search/commit/68e846b3d738b999d1a0...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/LimitTokenOffsetAnalyzer.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneAbstractSearchHighlighter.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneFastVectorSearchHighlighter.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LucenePlainSearchHighlighter.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneSearchHighlighterFactory.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneUnifiedSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldHighlightProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ProjectionRequestContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ListProjectionAccumulator.java
M engine/src/main/java/org/hibernate/search/engine/search/projection/spi/ProjectionAccumulator.java
Log Message:
-----------
HSEARCH-2192 Make highlighters use nesting aware accumulating values
Commit: 922283ba71d8e6ff173674bd64e371b15676a383
https://github.com/hibernate/hibernate-search/commit/922283ba71d8e6ff1736...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneFastVectorSearchHighlighter.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterFastVectorIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-2192 Make no match size pick first available value for multivalued fields
Commit: f7e3707f77e3b0d4958ff50df16e6dcbf7d5620f
https://github.com/hibernate/hibernate-search/commit/f7e3707f77e3b0d4958f...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/highlighter/impl/ElasticsearchSearchHighlighter.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/highlighter/impl/ElasticsearchSearchHighlighterImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldHighlightProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ProjectionRequestRootContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryRequestContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchStringIndexFieldTypeOptionsStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/common/impl/LuceneMultiIndexSearchIndexValueFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneAbstractSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneFastVectorSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LucenePlainSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneUnifiedSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldHighlightProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexFieldTypeOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/backend/types/spi/AbstractIndexValueFieldType.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/AbstractMultiIndexSearchIndexValueFieldContext.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/SearchIndexValueFieldTypeContext.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterFastVectorIT.java
Log Message:
-----------
HSEARCH-4815 Check field compatibility with highlighter type being applied
Commit: 5416e85932ebe2d9898f2210989ebb7131e2e22e
https://github.com/hibernate/hibernate-search/commit/5416e85932ebe2d9898f...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/reporting/impl/ElasticsearchBackendHints.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/scope/model/impl/ElasticsearchSearchIndexScopeImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldHighlightProjection.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchStringIndexFieldTypeOptionsStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/reporting/impl/LuceneBackendHints.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/scope/model/impl/LuceneSearchIndexScopeImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/common/impl/LuceneMultiIndexSearchIndexValueFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexFieldTypeOptionsStep.java
R engine/src/main/java/org/hibernate/search/engine/backend/reporting/spi/BackendHints.java
A engine/src/main/java/org/hibernate/search/engine/backend/types/Highlightable.java
M engine/src/main/java/org/hibernate/search/engine/backend/types/dsl/StringIndexFieldTypeOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/backend/types/spi/AbstractIndexValueFieldType.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/AbstractMultiIndexSearchIndexNodeContext.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/SearchIndexSchemaElementContextHelper.java
M engine/src/main/java/org/hibernate/search/engine/search/common/spi/SearchIndexScope.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/testsupport/util/LuceneTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/aggregation/SingleFieldAggregationTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlightProjectionBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlightableCombinationsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterFastVectorIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/IncompatibleCombinationHighlighterIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/AbstractPredicateSearchableIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/DistanceProjectionTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/projection/FieldProjectionTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/DistanceSortTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/sort/FieldSortTypeCheckingAndConversionIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/spatial/DistanceSearchableSortableIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/test/projection/ProjectionConversionTest.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/FullTextField.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/processing/impl/FullTextFieldProcessor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/PropertyMappingFullTextFieldOptionsStep.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/PropertyMappingFullTextFieldOptionsStepImpl.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/StubIndexSchemaDataNode.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/common/impl/StubSearchIndexScope.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/types/dsl/impl/StubStringIndexFieldTypeOptionsStep.java
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/StubMappingHints.java
Log Message:
-----------
HSEARCH-4822 Add highlightable option to full text fields
Commit: 578ca56deb06d72da49a2b50d9cb0da437c192ed
https://github.com/hibernate/hibernate-search/commit/578ca56deb06d72da49a...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/TopDocsDataCollectorExecutionContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ExtractionRequirements.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneFastVectorSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LucenePlainSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneUnifiedSearchHighlighter.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
Log Message:
-----------
HSEARCH-2192 Use original Lucene query instead of executed one
- using executed query means we are using overridden query which leads to highlighting not working correctly since it cannot extract/transform the query in its internals leading to "noting to highlight" results
Commit: ef3c8365b04a74aa0b542b61f4e2b2655212afd7
https://github.com/hibernate/hibernate-search/commit/ef3c8365b04a74aa0b54...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/common/impl/LuceneMultiIndexSearchIndexValueFieldContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/common/impl/LuceneSearchIndexValueFieldTypeContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneAbstractSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneUnifiedSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldHighlightProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexFieldTypeOptionsStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/impl/LuceneIndexValueFieldType.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterUnifiedIT.java
Log Message:
-----------
HSEARCH-2192 Either log warning or throw errors for unsupported settings
Commit: dde3aeb4ae61f9d5e713ed6010899c9df840dbdd
https://github.com/hibernate/hibernate-search/commit/dde3aeb4ae61f9d5e713...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlightProjectionTypeIndependentIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlightProjectionUnsupportedTypesIT.java
Log Message:
-----------
HSEARCH-2192 Add a few more highlight tests
Commit: 79f56e147ee2d2c36ae46d38112869aa1bf52826
https://github.com/hibernate/hibernate-search/commit/79f56e147ee2d2c36ae4...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LucenePlainSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldHighlightProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneObjectProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneRootContextProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/ProjectionRequestContext.java
Log Message:
-----------
HSEARCH-2192 Track nested field path in request context
Commit: 5a13d4ce29e3aa6b9606cfd3b626ca9090d45133
https://github.com/hibernate/hibernate-search/commit/5a13d4ce29e3aa6b9606...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/projection/impl/ElasticsearchFieldHighlightProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneFieldHighlightProjection.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/AbstractHighlighterIT.java
R integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlightProjectionBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlightProjectionTypeIndependentIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-2192 Don't allow highlights within nested projections
Commit: a15e5116c075d91565ac1627d0a27458f9f57539
https://github.com/hibernate/hibernate-search/commit/a15e5116c075d91565ac...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M documentation/src/main/asciidoc/reference/mapping-directfieldmapping.asciidoc
Log Message:
-----------
HSEARCH-2192 Add missing links to default analyzer configuration
Commit: bbfef64afa8be87295129c8ac157861cc272f3fc
https://github.com/hibernate/hibernate-search/commit/bbfef64afa8be8729512...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M documentation/src/main/asciidoc/reference/mapping-directfieldmapping.asciidoc
A documentation/src/main/asciidoc/reference/search-dsl-highlighting.asciidoc
M documentation/src/main/asciidoc/reference/search-dsl.asciidoc
A documentation/src/test/java/org/hibernate/search/documentation/search/highlighting/Book.java
A documentation/src/test/java/org/hibernate/search/documentation/search/highlighting/HighlightingDslIT.java
Log Message:
-----------
HSEARCH-2192 Add a section on highlighters to ref documentation
Commit: 3485004581e8b01fc665eb0c70078cee40efa357
https://github.com/hibernate/hibernate-search/commit/3485004581e8b01fc665...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M documentation/src/main/asciidoc/reference/mapping-directfieldmapping.asciidoc
M documentation/src/main/asciidoc/reference/search-dsl-highlighting.asciidoc
M documentation/src/main/asciidoc/reference/search-dsl-projection.asciidoc
A documentation/src/test/java/org/hibernate/search/documentation/search/highlighting/BookWithHighlights.java
M documentation/src/test/java/org/hibernate/search/documentation/search/highlighting/HighlightingDslIT.java
M documentation/src/test/java/org/hibernate/search/documentation/search/projection/Author.java
M documentation/src/test/java/org/hibernate/search/documentation/search/projection/Book.java
M documentation/src/test/java/org/hibernate/search/documentation/search/projection/ProjectionDslIT.java
M engine/src/main/java/org/hibernate/search/engine/backend/types/Highlightable.java
Log Message:
-----------
HSEARCH-2192 Update the ref documentation
to fixup
Compare: https://github.com/hibernate/hibernate-search/compare/50f27053753e...3485...
1 year, 8 months
[hibernate/hibernate-orm] f998bc: HHH-15833 Disable named parameters for jConnect JD...
by Christian Beikov
Branch: refs/heads/6.2
Home: https://github.com/hibernate/hibernate-orm
Commit: f998bc80b5e296d844e3c704cf58fe41095c69db
https://github.com/hibernate/hibernate-orm/commit/f998bc80b5e296d844e3c70...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseASELegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
A hibernate-core/src/main/java/org/hibernate/dialect/SybaseDriverKind.java
M hibernate-core/src/main/java/org/hibernate/procedure/internal/JTDSCallableStatementSupport.java
A hibernate-core/src/main/java/org/hibernate/procedure/internal/SybaseCallableStatementSupport.java
A hibernate-core/src/test/java/org/hibernate/orm/test/procedure/SybaseStoredProcedureTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
Log Message:
-----------
HHH-15833 Disable named parameters for jConnect JDBC driver
Commit: db3c73f302d1c9222043e880837f72da3c3505f8
https://github.com/hibernate/hibernate-orm/commit/db3c73f302d1c9222043e88...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2023-04-28 (Fri, 28 Apr 2023)
Changed paths:
M gradle/databases.gradle
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/CommentGenerationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/tool/schema/scripts/StatementsWithoutTerminalCharsImportFileTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
Log Message:
-----------
HHH-16528 Revert SybaseDialect NameQualifierSupport to CATALOG only and fix ansinull option for jconnect
Compare: https://github.com/hibernate/hibernate-orm/compare/ea87b4a2abde...db3c73f...
1 year, 8 months