Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: 86ff9e86d31079cb803c9bb76510b0c104fdad88
https://github.com/hibernate/hibernate-search/commit/86ff9e86d31079cb803c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-23 (Thu, 23 May 2019)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterHolder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessor.java
M
backend/lucene/src/test/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessorTest.java
Log Message:
-----------
HSEARCH-3118 Use a delegate method on the indexWriterHolder to call indexWriter.commit
Commit: 94dcc57739445b756e325f774a2482255b9ad5f8
https://github.com/hibernate/hibernate-search/commit/94dcc57739445b756e32...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-23 (Thu, 23 May 2019)
Changed paths:
M
backend/lucene/src/test/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessorTest.java
Log Message:
-----------
HSEARCH-3118 Do not use PowerMock in LuceneWriteWorkProcessorTest
Commit: 71e17a4dda6db87cd1494892acabaa783820ddef
https://github.com/hibernate/hibernate-search/commit/71e17a4dda6db87cd149...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-23 (Thu, 23 May 2019)
Changed paths:
M integrationtest/showcase/library/pom.xml
M pom.xml
M util/internal/test/pom.xml
R
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/powermock/PowerMockSupport.java
Log Message:
-----------
HSEARCH-3118 Remove dependency on PowerMock
It does not work well in JDK11+, so let's avoid it if we can.
Commit: 867a33ffdd9cef6254009148fce38f05ddc3575a
https://github.com/hibernate/hibernate-search/commit/867a33ffdd9cef625400...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-23 (Thu, 23 May 2019)
Changed paths:
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexingBackendContext.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerBuilder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerImpl.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/index/impl/IndexAccessor.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterDelegator.java
A
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterDelegatorImpl.java
R
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterHolder.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkExecutionContextImpl.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessor.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/AbstractLuceneDeleteAllEntriesWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/AbstractLuceneDeleteEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/AbstractLuceneUpdateEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneAddEntryWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneDeleteAllEntriesWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneFlushWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneOptimizeWork.java
M
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneQueryBasedDeleteAllEntriesWork.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/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
backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneWriteWorkExecutionContext.java
M
backend/lucene/src/test/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneWriteWorkProcessorTest.java
Log Message:
-----------
HSEARCH-3118 Reintroduce the concept of IndexWriterDelegator (IndexWriterDelegate in
Search 5)
Mainly to clean up the code.
Now we have:
* IndexAccessor which gives access to readers or to the index writer
delegator. This class is mainly used from the index manager.
* IndexWriterDelegator which gives access to write operations on the
index. This class is mainly used from the work processor and from works
themselves.
Compare:
https://github.com/hibernate/hibernate-search/compare/e8ac81230112...867a...