Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: 7e19d632ce5514dba8b3fc97d278d3a86b7f471a
https://github.com/hibernate/hibernate-search/commit/7e19d632ce5514dba8b3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/analysis/impl/ScopedAnalyzer.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneNonFlattenedDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneNestedObjectDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneRootDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/common/impl/AnalyzerConstants.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/common/impl/LuceneFields.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/GeoPointDistanceDocValues.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/LuceneReplaceMissingSortedDocValues.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/NumericDoubleValues.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/SingleFloatValues.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/SingletonSortedNumericDoubleValues.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/SortableLongBitsToNumericDoubleValues.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/SortedNumericDoubleValues.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/facet/impl/FacetCountsUtils.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/FieldContextSimpleQueryParser.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/FuzzyQueryBuilder.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/LuceneQueries.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/sort/impl/OnTheFlyNestedSorter.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterDelegatorImpl.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/DocumentReferenceCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/HibernateSearchDocumentIdToLuceneDocIdMapCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/impl/LuceneNestedQueries.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/impl/LuceneQueries.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneMatchIdPredicateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneNestedPredicateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSimpleQueryStringPredicateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneChildrenCollector.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/types/codec/impl/AbstractLuceneNumericFieldCodec.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneGeoPointFieldCodec.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneStringFieldCodec.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/FacetCountsUtils.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/GeoPointDistanceDocValues.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneDoubleDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneFloatDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneIntegerDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneLongDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneNumericDomain.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/NestedDocsProvider.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/NumericDoubleValues.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/OnTheFlyNestedSorter.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/SingleFloatValues.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/SingletonSortedNumericDoubleValues.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/SortableLongBitsToNumericDoubleValues.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/SortedNumericDoubleValues.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneSimpleQueryStringPredicateBuilderFieldState.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextMatchPredicateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextPhrasePredicateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneFieldComparatorSource.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneGeoPointDistanceComparatorSource.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneReplaceMissingSortedDocValues.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneTextFieldComparatorSource.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/util/impl/AnalyzerConstants.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/util/impl/FieldContextSimpleQueryParser.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/util/impl/FuzzyQueryBuilder.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/util/impl/LuceneFields.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneExplainWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneQueryBasedDeleteEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneQueryBasedDeleteWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneQueryBasedUpdateEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneTermBasedDeleteEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneTermBasedUpdateEntryWork.java
M
integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
Log Message:
-----------
HSEARCH-3797 Move various low-level Lucene-related classes to the "lowlevel"
package
So that they can be used from other packages without introducing
circular dependencies between packages.
We will need this in the following commits, though we will only
use a few of these classes.
The new location makes sense regardless of this ticket, because these
classes really do provide low-level operations, and NestedDocsProvider
is not strictly related to field types.
Commit: e8b58b107ff2d940ef098fd98a26098be934ab0e
https://github.com/hibernate/hibernate-search/commit/e8b58b107ff2d940ef09...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/DistanceCollector.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/DocumentReferenceCollector.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/HibernateSearchDocumentIdToLuceneDocIdMapCollector.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneChildrenCollector.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneCollectorExecutionContext.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneCollectorExtractContext.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneCollectorFactory.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneCollectorKey.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/TimeoutCountCollector.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/TimeoutCountCollectorManager.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/AggregationExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/AggregationRequestContext.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/DistanceCollector.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/DocumentReferenceCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ExtractionRequirements.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/HibernateSearchDocumentIdToLuceneDocIdMapCollector.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectorExecutionContext.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectorExtractContext.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectorFactory.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectorKey.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/TimeoutCountCollector.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/TimeoutCountCollectorManager.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/LuceneDocumentReferenceProjection.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityProjection.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityReferenceProjection.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionRequestContext.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneChildrenCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcherImpl.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/aggregation/impl/AbstractLuceneFacetsBasedTermsAggregation.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/aggregation/impl/LuceneNumericRangeAggregation.java
Log Message:
-----------
HSEARCH-3797 Move collector implementations to the "lowlevel" package
So that they can be used from other packages without introducing
circular dependencies between packages.
We will need this in the following commits, though we will only
use a few of these classes.
Commit: 596b4badcc3f77a9884751e12b8b3f8dce990b5f
https://github.com/hibernate/hibernate-search/commit/596b4badcc3f77a98847...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/AbstractLuceneNonFlattenedDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneNestedObjectDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/impl/LuceneRootDocumentBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaObjectFieldNodeBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaObjectNode.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/ChildrenCollector.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExecutionContext.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExtractContext.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorFactory.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorKey.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/DistanceCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/DocumentReferenceCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/HibernateSearchDocumentIdToLuceneDocIdMapCollector.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneChildrenCollector.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneCollectorExecutionContext.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneCollectorExtractContext.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneCollectorFactory.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/LuceneCollectorKey.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/common/impl/LuceneFields.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/common/impl/MetadataFields.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/LuceneReplaceMissingSortedDocValues.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/ReplaceMissingSortedDocValues.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/LuceneQueries.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/Queries.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/multitenancy/impl/DiscriminatorMultiTenancyStrategy.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/AggregationExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/AggregationRequestContext.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/predicate/impl/LuceneMatchIdPredicateBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneNestedPredicateBuilder.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/SearchProjectionExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionRequestContext.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/types/aggregation/impl/AbstractLuceneFacetsBasedTermsAggregation.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/aggregation/impl/LuceneNumericRangeAggregation.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/AbstractLuceneNumericFieldCodec.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneGeoPointFieldCodec.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneStringFieldCodec.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneTextFieldComparatorSource.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneExplainWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneQueryBasedDeleteEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneQueryBasedDeleteWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneQueryBasedUpdateEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneTermBasedDeleteEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneTermBasedUpdateEntryWork.java
M
integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/LuceneExtensionIT.java
Log Message:
-----------
HSEARCH-3797 Remove unnecessary "Lucene" prefix in the name of classes in the
"lowlevel" package
Commit: 7f27244c49c16c88cf1800106707f6990b81d3b3
https://github.com/hibernate/hibernate-search/commit/7f27244c49c16c88cf18...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/DocValuesJoin.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/sort/impl/OnTheFlyNestedSorter.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneDoubleDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneFloatDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneIntegerDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneLongDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneGeoPointDistanceComparatorSource.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneTextFieldComparatorSource.java
Log Message:
-----------
HSEARCH-3797 Rename OnTheFlyNestedSorter to DocValuesJoin
This class is not about sorts at all, it's about joining docvalues of
parent and child documents together in a single DocValues object.
Commit: 74490441d6856e295f568ebf5dda52514f347ead
https://github.com/hibernate/hibernate-search/commit/74490441d6856e295f56...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneExplanationProjection.java
Log Message:
-----------
HSEARCH-3797 Fix a bug in LuceneExplanationProjection that caused stored documents to be
extracted unnecessarily
Commit: 1b7eb3b1c6e6f579f58fa75c9a11b39d5ea91827
https://github.com/hibernate/hibernate-search/commit/1b7eb3b1c6e6f579f58f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneFieldCodec.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneGeoPointFieldCodec.java
Log Message:
-----------
HSEARCH-3797 Remove dead code in LuceneFieldCodec
Commit: ee5a4b0b9838b3b5e5a41c9a697eba2ebf0b960d
https://github.com/hibernate/hibernate-search/commit/ee5a4b0b9838b3b5e5a4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/DistanceCollector.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/GeoPointDistanceCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
Log Message:
-----------
HSEARCH-3797 Rename DistanceCollector to GeoPointDistanceCollector
For consistency with GeoPointDistanceDocValues
Commit: f85a76ecd9437746d1b6a112142866391ad5a945
https://github.com/hibernate/hibernate-search/commit/f85a76ecd9437746d1b6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/DocValuesJoin.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneDoubleDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneFloatDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneIntegerDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/lowlevel/impl/LuceneLongDomain.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneGeoPointDistanceComparatorSource.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/sort/comparatorsource/impl/LuceneTextFieldComparatorSource.java
Log Message:
-----------
HSEARCH-3797 Move code related to docvalues to package
"lowlevel.docvalues.impl"
Commit: 3ae0709ac050ac4d0886652ab1ba9a222667c8c8
https://github.com/hibernate/hibernate-search/commit/3ae0709ac050ac4d0886...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcherImpl.java
Log Message:
-----------
HSEARCH-3797 Remove an obsolete comment
Commit: 0d3e2835a98542976b3c52af066436f9fd6977d5
https://github.com/hibernate/hibernate-search/commit/0d3e2835a98542976b3c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExecutionContext.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorFactory.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/GeoPointDistanceCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/docvalues/impl/DocValuesJoin.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/projection/impl/LuceneDistanceToFieldProjection.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcherImpl.java
Log Message:
-----------
HSEARCH-3797 Implement the join logic inside collectors instead of relying on a map
containing the result of joins
This will be necessary if we want to switch to a two-phase collection
(and not a three-phase collection) for projections.
Commit: 8a7b016035f0faf1c75f6a1d6204543104b903ca
https://github.com/hibernate/hibernate-search/commit/8a7b016035f0faf1c75f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
Log Message:
-----------
HSEARCH-3797 Fix a bug in LuceneDistanceToFieldProjection that caused stored documents
to be extracted unnecessarily
Commit: b10995326b98411149274c6b57527bd7fc54a1b3
https://github.com/hibernate/hibernate-search/commit/b10995326b9841114927...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
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/projection/impl/LuceneDocumentProjection.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneExplanationProjection.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/SearchProjectionRequestContext.java
Log Message:
-----------
HSEARCH-3797 Always require topdocs when searching
Since the count operation is separate, it does not make sense to make
topdocs retrieval optional anymore, except when the fetch limit is set
to 0.
Commit: 638091de45ae59d18d2bd82e88cba080d30c3ea7
https://github.com/hibernate/hibernate-search/commit/638091de45ae59d18d2b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
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/lowlevel/collector/impl/ChildrenCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorKey.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/HibernateSearchDocumentIdToLuceneDocIdMapCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/join/impl/NestedDocsProvider.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/query/impl/LuceneSearcherImpl.java
Log Message:
-----------
HSEARCH-3786 Simplify the collection of child documents in the Lucene backend
We still have the same problem as before (explained in HSEARCH-3786):
children are collected for all matching documents, not just topdocs,
which is ridiculously inefficient.
However, we will be fixing this problem in the next commits for
HSEARCH-3797 by differentiating collectors that must be applied to
all matching documents and collectors that must be applied to topdocs
only.
Commit: a604807bd2bf916c10525e23417f64d61c6f6dce
https://github.com/hibernate/hibernate-search/commit/a604807bd2bf916c1052...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/AggregationExtractContext.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/CollectorSet.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/projection/impl/SearchProjectionExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcherImpl.java
Log Message:
-----------
HSEARCH-3797 Introduce CollectorSet to simplify passing around multiple collectors
Commit: b5b04729a500d1cf624cee30baf86f5c66c43c16
https://github.com/hibernate/hibernate-search/commit/b5b04729a500d1cf624c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/ExplicitDocIdSetIterator.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/ExplicitDocIdsQuery.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/Queries.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/aggregation/impl/AggregationRequestContext.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/projection/impl/SearchProjectionExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionRequestContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryExtractContext.java
Log Message:
-----------
HSEARCH-3797 Split collection of Lucene results in two phases
So that we do not apply the distance collector, for example, to all
matching docs even though we only need to collect distances for the top
docs.
Commit: 6ecb49871b821c4a8f4b267304bcf4e12e435e1f
https://github.com/hibernate/hibernate-search/commit/6ecb49871b821c4a8f4b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/ChildrenCollector.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorKey.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/StoredFieldsCollector.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/projection/impl/SearchProjectionExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryExtractContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcherImpl.java
Log Message:
-----------
HSEARCH-3797 Collect stored fields in a collector
It's generally not recommended, because collectors are applied to all
matching documents, but in our case we make sure to apply them only to
top documents, so this should be fine.
Commit: 31a610dc5fed5ae8f936c7647aa0e17e0efc9b4b
https://github.com/hibernate/hibernate-search/commit/31a610dc5fed5ae8f936...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorFactory.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/DocumentReferenceCollector.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/FacetsCollectorFactory.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/projection/impl/LuceneDistanceToFieldProjection.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDocumentReferenceProjection.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityProjection.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneEntityReferenceProjection.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/aggregation/impl/AbstractLuceneFacetsBasedTermsAggregation.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/aggregation/impl/LuceneNumericRangeAggregation.java
Log Message:
-----------
HSEARCH-3797 Separate the concept of CollectorKey from CollectorFactory
To address a few code smells reported by Sonar, but also to allow the
following changes.
Commit: dd79ef797b70a291e7f5248e2012e5374a3d3aa6
https://github.com/hibernate/hibernate-search/commit/dd79ef797b70a291e7f5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExecutionContext.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/projection/impl/LuceneDistanceToFieldProjection.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/SearchProjectionRequestContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneFieldCodec.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/codec/impl/LuceneGeoPointFieldCodec.java
Log Message:
-----------
HSEARCH-3797 Separate nested document collection for stored fields and other
collectors
There was a mix-up that could cause stored fields to be inspected
unnecessarily when using both stored field projection and distance
projection.
Commit: 971db54f9ae149f633c99b1300cf21da5fea1ade
https://github.com/hibernate/hibernate-search/commit/971db54f9ae149f633c9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorExecutionContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorFactory.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/CollectorKey.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/StoredFieldsCollector.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/query/impl/LuceneSearcherImpl.java
Log Message:
-----------
HSEARCH-3797 Simplify the creation of the StoredFieldCollector
To make the following changes easier.
Commit: 8c81c2419c4dd7c57b01c8e6c70b6166cf4dabaf
https://github.com/hibernate/hibernate-search/commit/8c81c2419c4dd7c57b01...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/CollectorSet.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/query/impl/LuceneSearcherImpl.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/TimeoutManager.java
Log Message:
-----------
HSEARCH-3797 Simplify the creation of CollectorSets
To make the following changes easier.
Commit: 4aeb28445976016a5107fc13cf480b37eefdd3c9
https://github.com/hibernate/hibernate-search/commit/4aeb28445976016a5107...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryExtractContext.java
Log Message:
-----------
HSEARCH-3797 Remove some dead code in LuceneSearchQueryExtractContext
Commit: 5185afdc66c7e01238d27afe778063e40561e1cc
https://github.com/hibernate/hibernate-search/commit/5185afdc66c7e01238d2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
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/query/impl/LuceneSearchQueryExtractContext.java
Log Message:
-----------
HSEARCH-3797 Only join nested documents for the top documents during top docs
collection
We used to join nested documents for all documents matching the lucene
Query, which might be sub-optimal in some cases.
Commit: 3d84714e6cce5deccdefaca66d851831135d696f
https://github.com/hibernate/hibernate-search/commit/3d84714e6cce5deccdef...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-01-06 (Mon, 06 Jan 2020)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
Log Message:
-----------
HSEARCH-3797 Remove unnecessary copy-pasted code from LuceneCollectors
Compare:
https://github.com/hibernate/hibernate-search/compare/8c65c30840f5...3d84...