[hibernate/hibernate-search] 4c9a6f: [Jenkins release job] README.md updated by release...
by GitHub
Branch: refs/heads/5.6
Home: https://github.com/hibernate/hibernate-search
Commit: 4c9a6f11ac4f57af70ef0e508e21dcbff9fc15be
https://github.com/hibernate/hibernate-search/commit/4c9a6f11ac4f57af70ef...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M README.md
Log Message:
-----------
[Jenkins release job] README.md updated by release build 5.6.4.Final
Commit: ec51b2dd8ec8a412b756064a72c37569cba7cc85
https://github.com/hibernate/hibernate-search/commit/ec51b2dd8ec8a412b756...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M changelog.txt
Log Message:
-----------
[Jenkins release job] changelog.txt updated by release build 5.6.4.Final
Commit: 0a67caed69e6076052b78e7c06260d555b8e39f2
https://github.com/hibernate/hibernate-search/commit/0a67caed69e6076052b7...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M backends/jgroups/pom.xml
M backends/jms/pom.xml
M build-config/pom.xml
M distribution/pom.xml
M documentation/pom.xml
M elasticsearch/pom.xml
M engine/pom.xml
M infinispan/pom.xml
M integrationtest/engine-performance/pom.xml
M integrationtest/jms/pom.xml
M integrationtest/narayana/pom.xml
M integrationtest/osgi/karaf-features/pom.xml
M integrationtest/osgi/karaf-it/pom.xml
M integrationtest/performance/pom.xml
M integrationtest/sandbox/pom.xml
M integrationtest/spring/pom.xml
M integrationtest/wildfly/pom.xml
M legacy/pom.xml
M modules/pom.xml
M orm/pom.xml
M pom.xml
M serialization/avro/pom.xml
M sharedtestresources/pom.xml
M testing/pom.xml
Log Message:
-----------
[Jenkins release job] Preparing release 5.6.4.Final
Commit: 616b2012ef7b3e0da61bac05829f164c02234f10
https://github.com/hibernate/hibernate-search/commit/616b2012ef7b3e0da61b...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M backends/jgroups/pom.xml
M backends/jms/pom.xml
M build-config/pom.xml
M distribution/pom.xml
M documentation/pom.xml
M elasticsearch/pom.xml
M engine/pom.xml
M infinispan/pom.xml
M integrationtest/engine-performance/pom.xml
M integrationtest/jms/pom.xml
M integrationtest/narayana/pom.xml
M integrationtest/osgi/karaf-features/pom.xml
M integrationtest/osgi/karaf-it/pom.xml
M integrationtest/performance/pom.xml
M integrationtest/sandbox/pom.xml
M integrationtest/spring/pom.xml
M integrationtest/wildfly/pom.xml
M legacy/pom.xml
M modules/pom.xml
M orm/pom.xml
M pom.xml
M serialization/avro/pom.xml
M sharedtestresources/pom.xml
M testing/pom.xml
Log Message:
-----------
[Jenkins release job] Preparing next development iteration
Compare: https://github.com/hibernate/hibernate-search/compare/e9d26ed18260...616b...
7 years, 1 month
[hibernate/hibernate-search] c925ec: HSEARCH-2594 Initial commit for JSR-352 integratio...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: c925ec373017aade1923a92583163f2961b119f9
https://github.com/hibernate/hibernate-search/commit/c925ec373017aade1923...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
A jsr352/README.md
Log Message:
-----------
HSEARCH-2594 Initial commit for JSR-352 integration
Commit: f1fd8eeb9fb943d23f2241e238cad3192718a7ed
https://github.com/hibernate/hibernate-search/commit/f1fd8eeb9fb943d23f22...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/README.md
A jsr352/core/pom.xml
A jsr352/core/src/main/java/org/hibernate/search/jsr352/MassIndexer.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/MassIndexerImpl.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/AfterIndexDecider.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/AfterPurgeDecider.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchItemProcessor.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchItemReader.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchItemWriter.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/EntityPartitionMapper.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/IdProducerBatchlet.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/IndexPurgerBatchlet.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/IndexingContext.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionAnalyzer.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionCollector.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionMapper.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionReducer.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/OptimizerBatchlet.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/PurgeDecider.java
A jsr352/core/src/main/resources/META-INF/batch-jobs/mass-index.xml
A jsr352/core/src/main/resources/META-INF/beans.xml
A jsr352/core/src/test/java/org/hibernate/search/jsr352/MassIndexerTest.java
A jsr352/integrationtest/javaee-wildfly/pom.xml
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/MassIndexerIT.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Address.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Company.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/CompanyManager.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Stock.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/util/BatchTestHelper.java
A jsr352/integrationtest/javaee-wildfly/src/test/resources/META-INF/persistence.xml
A jsr352/integrationtest/javaee-wildfly/src/test/resources/arquillian.xml
A jsr352/integrationtest/javaee-wildfly/src/wildflyConfig/standalone/configuration/application-roles.properties
A jsr352/integrationtest/javaee-wildfly/src/wildflyConfig/standalone/configuration/application-users.properties
A jsr352/integrationtest/javaee-wildfly/src/wildflyConfig/standalone/configuration/standalone-full-testqueues.xml
A jsr352/integrationtest/javase/pom.xml
A jsr352/integrationtest/javase/src/test/java/org/hibernate/search/jsr352/se/JobFactory.java
A jsr352/integrationtest/javase/src/test/java/org/hibernate/search/jsr352/se/MassIndexerIT.java
A jsr352/integrationtest/javase/src/test/java/org/hibernate/search/jsr352/se/RestartChunkIT.java
A jsr352/integrationtest/javase/src/test/java/org/hibernate/search/jsr352/se/test/Company.java
A jsr352/integrationtest/javase/src/test/resources/META-INF/persistence.xml
A jsr352/pom.xml
Log Message:
-----------
HSEARCH-2594 Initial work on JSR-352 integration
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
135a190ce6349f4ee53a2e28822f0a95b3a1b2cc to f9d171672ca0309daa174293edbe60aae2307382
(see git log below).
commit f9d171672ca0309daa174293edbe60aae2307382
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jul 5 02:14:30 2016 +0200
#40 add IT for checkpoint: RestartChunkIT
commit 5e5e177939c773c26f550c6f4b394e0c0ee82f72
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 4 16:38:27 2016 +0200
#81 correct spelling error
commit d442d06aeebf8fa912e7942efea8255faada0156
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 4 09:27:40 2016 +0200
#74 change unit test MassIndexerTest
commit 236e1d84e8abc3c2af26acec922a4b373532c2ec
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 4 09:21:42 2016 +0200
#74 add method `MassIndexer#addRootEntities(Class<?>... rootEntities)`
commit 58f8f3280065e4f57f6614e6822529a4b1a960ae
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 4 09:07:54 2016 +0200
#81 clean up gitignore, parent pom, mysql module in WF
commit 9d569b170f41ded9875cda6b60e590cc47c9cd1e
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 3 23:47:24 2016 +0200
#81 clean up IT in Java SE
- properties are not used locally
commit e9e1574620a2671881d2906058f9489a70eb8b8b
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 3 23:43:44 2016 +0200
#81 clean up IT in Java EE
In pom.xml
- Properties are not used. Properties should be provided by parent module or core module.
- JBeret SE dependencies are useless.
- We don't use absolute path here
- There's not webapp to package. Arquillian create war archive with its own dependencies.
- Exclude surefire because there's no unit test here.
In persistence.xml
- It should be placed in the META-INF folder as the standard.
In MassIndexerIT
- Change persistence.xml's location
commit 5027a33cc994e37a0bbb8f100caeea20ba1ad735
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 3 23:08:19 2016 +0200
#81 clean up core/pom.xml
- The exclusion of dom4j is not necessary because hibernate search arm is in scope provide. So there's no conflict.
- Servlet was used for the web app, but the project becomes a framework now. There's no servlet any more.
- Same principal for JSTL.
- Test resources were set for integration test. But now, ITs have been moved to independent modules.
- Plugin for dependency path is not used since there isn't any absolute path in the project
- Plugin for WAR is not used. Same reason as Servlet, not wabapp any more.
- Unit test (surefire) does not need any additional requirement for instant
- No IT in core module, so no failsafe, no WF unpack, no resources copy
commit 32f6b3b8a05365137e0c44ca34d8fa030d4b13e5
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 3 20:47:57 2016 +0200
#63 add value assertions in Java SE integration test
commit e6a569996286663321e4d66beaf4c72f1de89e1e
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 3 16:32:24 2016 +0200
#63 deny JobOperator construction inside the MassIndexerImpl
pass it through the setter method.
commit 25adb827126e5a1e9640a6c9e3ebc7f9cd7e218c
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 3 12:32:38 2016 +0200
#63 fix JobOperator instantiation issue
In the previous version, the job operator cannot be instantiated and show the below error :
java.util.ServiceConfigurationError: javax.batch.operations.JobOperator: Provider org.jberet.operations.JobOperatorImpl could not be instantiated
at org.jboss.weld.environment.se.WeldContainer.initialize(WeldContainer.java:136)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:589)
at org.jberet.se.SEArtifactFactory.<init>(SEArtifactFactory.java:29)
at org.jberet.se.BatchSEEnvironment.getArtifactFactory(BatchSEEnvironment.java:118)
at org.jberet.operations.JobOperatorImpl.<init>(JobOperatorImpl.java:93)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at javax.batch.runtime.BatchRuntime.getJobOperator(BatchRuntime.java:57)
at org.hibernate.search.jsr352.se.MassIndexerIT.setup(MassIndexerIT.java:41)
And I found out that if there's only one @Test annotation in the integration test, the problem get fixed.
I don't know why and it is very weird.
commit 5a99766bf8a616fdc2f827de9a6620804cf54b66
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 2 19:14:15 2016 +0200
#80 LuceneWork execution should be asynchronous
commit 75bcf3e5768e35c4453aaff0d0229e13974e22c0
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 2 19:11:35 2016 +0200
#73 change ref assignment for EntityManager inside the job
commit bd0fe3a641f785aaaaa2ccfee29805aee3520912
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 1 19:14:12 2016 +0200
#63 replace entity `Address`, `Stock` by `Company`
commit 36f8ce1bc0ad894fdbfd3467426d7cd793118185
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 1 06:35:57 2016 +0200
#76 update README
commit 5ac099c6d02d6954444c048e62537393e7a109ca
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 1 06:31:33 2016 +0200
#69 leave mysql and use only h2
commit cd6289f87627f583d7dcf152f0397dc317fcc674
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 29 23:42:18 2016 +0200
#69 code enhancement
commit 18e296502c6e4ee247907e4add2302680587661f
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 29 23:36:49 2016 +0200
#69 change addEntityCount to Synchronized mode
commit ad3b5b9f6638495f2d7046ea0c0429b320cf90da
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 29 23:16:44 2016 +0200
#67 extend timeout value
the default timeout in JSR352 is 180 seconds according to v1.0 final release chapter §9.7 Transactionality
commit accf7e1660feaa1b1d49dce383b95f77b85c2ab0
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 29 22:20:24 2016 +0200
#69 code enhancement
commit 215174295aca27c776ef8698c2888ba1dce3ffae
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 28 07:51:54 2016 +0200
#63 try to use my own MassIndexer (failed)
revert to Gunnar's one in MassIndexerIT.java
However, there're still some more dependencies added
commit 1fc14a7170b49efad8d61ac7d1619a450e03f95e
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 28 00:01:34 2016 +0200
#63 replace official indexer by my own indexer (Java SE)
but this is not the finished version
commit 889e78291241d740c9923b74499b7330fdfd14e2
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 27 21:29:30 2016 +0200
#68 use embedded H2 database for Java SE testing
commit 7e49180cc951f40cd44dea9813d11048cf69b107
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 27 12:56:35 2016 +0200
#63 separate core module and integration tests modules
and remove useless resources files, e.g. sql & csv
commit 51e2636744c92983b019104cbd70f40a77f73bb6
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 27 11:45:11 2016 +0200
#63 create core module
commit ed557c036f7f20c6b47af837c73eb6522cb723db
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 27 10:42:29 2016 +0200
#63 configure pom file for Java SE IT module
commit 6ddbb7cc02d955257675def01053cdc43573b656
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 26 23:54:12 2016 +0200
#63 start module hibernate-search-integrationtest-javase
commit 931ca09e71264a0481c007f33192c7a64118d2bd
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 25 16:02:37 2016 +0200
#69 add batch status check
commit 3a89e11e676577c61f5a2a59f40df1a1faae79dc
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 25 11:52:48 2016 +0200
#71 move persistence.xml to src/test/resources
commit 64727ba61000254865282c545e1b2ba84f10245f
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 25 10:51:02 2016 +0200
#69 write count test
commit ab9df583aaa7133578c3e8a946f719cbe53aa84a
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 25 10:50:16 2016 +0200
#70 IdProducerBatchlet produces less IDs than expected
commit 917a011e208317ee3949d46f57e70ad9676f9aee
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 25 10:49:17 2016 +0200
#43 add lucene files to .gitignore
commit 9d8214c139e6369d82553d32f3134ac0f67b8065
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 25 10:06:38 2016 +0200
#69 read count test
commit 7b61a5d3146823cafbc90231520da13043e3eb9a
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 25 10:05:36 2016 +0200
#69 add BatchTestHelper, copied from javaee7-samples
commit 4a3941fdf60ff589c89ffa3b2fad227086e70f25
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 25 10:04:22 2016 +0200
#49 change logger level
commit 47aec792e74bf195efc3f8502c7d138747fd0a2c
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jun 23 23:40:32 2016 +0200
#60 some mixed enhancement
commit be25a49c250e7ce642f1441a4cef1aa8d8a9bbf5
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jun 23 23:37:42 2016 +0200
#65 fix entity type usage
use IndexingContext instead of batch properties
commit 2f40c3c4d1dc9fc57dac18390d233ecf8b6d7789
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jun 23 23:34:56 2016 +0200
#49 change log level
commit 1ff59ad602ca651278f64eb6abae7070244604e2
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jun 23 23:30:19 2016 +0200
#46 Rename package into org.hibernate.search.jsr352
commit 254d44fd7f815c5ebda50fc7955b2619ac135056
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jun 23 23:28:45 2016 +0200
#66 use remote mysql server
commit 1d4be37f7ebaf4ab140977ed5bdfc66d102ad79c
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 22 00:12:10 2016 +0200
#60 add JBoss Deployment Structure File
for class loading
commit 29e5a249c215e1b319c0bb8d2f460f68041c8a6a
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 22 00:11:23 2016 +0200
#60 add shrink-wrap resolver dependency
for war archive creation
commit 655e1ff3c9af0e58106f0da8a233cde41f66325b
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 22 00:09:19 2016 +0200
#60 change WF to debug mode
commit 73decd1ffa291d713b57f1eafeba2136024ca774
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 22 00:06:36 2016 +0200
#60 fix PU naming error
commit 8a0438e8603da9b7f8aefd4ae819e7fc84a50d09
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 22 00:05:23 2016 +0200
#60 move src/main/webapp to test/main/webapp
commit e9c858c0aa72607fe5a0f002437ad89e68d7b1f1
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 22 00:04:18 2016 +0200
#60 remove wrong placed persistence.xml
commit cd9aca821c5db5d995f931c80373bdb5deabdcae
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 21 19:01:26 2016 +0200
#64 disable IT log redirection
commit 5426048568ada68167390a91248cc91352615e06
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 20 23:17:32 2016 +0200
#59 remove ds.xml and include mysql jar file
commit f8d292cb81d439b95d18bbeb03e02f6301af7936
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 20 22:15:47 2016 +0200
#59 add mysql resources to src/wildflyConfig
commit 00d45bc78b7201f55cb60bd5a6840b81bae3cf25
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 20 11:17:46 2016 +0200
#58 add datasource for MySQL
commit 64a1b5cbac22a8a43cc1f9ec41066f48f7fa2a47
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 20 09:46:27 2016 +0200
#57 clarify unit test and integration test
- rename DeploymentTest.java to DeploymentIT.java
- change pom.xml configuration
commit 9a95b249156587fbd0ed6504752f03931a1a427d
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 19 20:33:03 2016 +0200
#49 use Logger instead of System.out.println
commit 04493884534a03ca9165e78261ea7c42d9cab8c7
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 19 19:38:25 2016 +0200
#28 change README content
The previous demos have been deleted. The current README should only focus on 3 points :
1. What's new using JSR352 implementation ?
2. How to run it ?
3. Why we need it ?
commit 7c6662cb37e637440c761faccfd0e4667c9a7c53
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 19 17:09:57 2016 +0200
#50 delete MANIFEST.MF
commit 95690a9373e8cfaadaa027644e89ea4dd6c1da40
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 19 15:42:14 2016 +0200
#54 add unit test for mass indexer
commit 522f178166fa29c589610840b8a3761efe9ad33d
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 19 15:40:46 2016 +0200
#48 separate interface and implementation
commit 38c4f54d2f1ef1268f0d44b198d0095b707e9b15
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 19 09:09:33 2016 +0200
#52 add deprecated class manually during war creation
commit 31610a7d31065bcefc1460e7d58e7b0e47125b54
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 19 08:37:59 2016 +0200
#52 delete commented static configuration
commit 4884f46fa8ddff2bf39c64de2d4cded2003b59bc
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 18 21:47:54 2016 +0200
#52 :hankey: only god knows why it works :sweat_drops: :sweat_drops: :sweat_drops:
- pom.xml
- add arquillian protocol support (not sure if necessary)
- change WF from embedded to managed
- add tag <testResources> to enable arquillian xml file lookup
- add bit strings to find the absolute path to dependencies (not sure if necessary)
- add detailed configuration to unit test plugin surefire (copied from HSEARCH)
- add failsafe (not sure if necessary)
- add WF runtime in a better way... (Actually, I've not idea how it works. Maybe it just download a target WF version from maven central and past it to the target output directory)
- add resources plugin to transfer the defined WF config from src to test directory
- DeploymentTest
- disable the recursive package lookup because the deprecated class "org.hibernate.search.store.IndexShardingStrategy" is not found
- arquillian.xml
- disable the "javaVmArguments", otherwise the server cannot start
- wildflyCondif/*
- config for WF container
commit 675c319421c396325bf36d1ec2058b9326c8fad6
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jun 16 23:21:50 2016 +0200
#52 add Arquillian feature (failed)
- add JUnit as a maven dependency
- add arquillian components as maven dependencies (not finished, don't know exactly what to add)
- add wildfly-arquillian-container-embedded, but not sure how it works
- add class DeploymentTest
commit 68082d7643424f56fce848f20b89788de46dd05c
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 15 21:31:09 2016 +0200
#48 split of public API and internal implementation packages
commit d339328cc1a172b327137756c73a49498b78ce0c
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 15 20:48:51 2016 +0200
#37 move test classes from src/main/java to src/test/java
- entities
- sessions
- servlets (should be deleted soon)
- META-INF (except batch XML file mass-index.xml)
commit a67ff0d3ece1751a191edac6b834493276cc0259
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 15 20:07:30 2016 +0200
#45 Fetch WildFly for testing via maven-dependency-plugin
There're other minor modifications for fixing warnings during the build.
commit 47f2895fd1dc0678d324cffa4ca96a4aea4baf8a
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 14 23:20:33 2016 +0200
#14 add dependency and modify artifact info
commit 522f1ac1c3e4f5086d1c9d17631cafd54bf0a5a0
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 14 22:45:03 2016 +0200
#41 Move content of folder jsr352 to the root folder
commit 5c46ff1e1cbd54f3554d2c985c32ba879220159e
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 14 22:13:57 2016 +0200
#41 remove jse-chunk and zoo-jpa
commit 7fd6cd2bbed309a20cdacf2318abe774c640fbb1
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 14 02:27:58 2016 +0200
#35 update project name in pom.xml
commit ac276b936bd01d021d7349f6dda83dcb229b6f12
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 14 02:26:28 2016 +0200
#42 change Deployment Assembly settings
commit a7a3e9358a85298525010ae78f21e2ce043c7f4e
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 14 02:24:05 2016 +0200
#41 add SQL script for importing CSV files
commit d6024c63b0e76a3b4a2e91a3a7afd0a64d73fa5a
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 21:49:46 2016 +0200
#41 add SQL script for importing yahoo-finance-rht.csv
commit c8f6634e51a11c0fe66ac8a4eaaffbe392cea665
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 21:44:51 2016 +0200
#41 change yahoo finance stock CSV file for redhat to lowercase
commit 7ed42232093c7016b92d96e7de19bb7d6c6e9106
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 21:36:58 2016 +0200
#41 provide MySQL dump script for creating tables (without data)
commit 917b64a48c9981dd9413db6da1a281f9a59ea3ff
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 21:13:09 2016 +0200
#36 Move "./WebContents" to "./src/main/webapp"
commit 81adb41158ca50c30313dd6a754298adf4ff8afb
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 21:10:18 2016 +0200
#14 update pom.xml
- add dependencies
- rename artifactId (issue #35)
- change folder location from ./WebContent to ./src/main/webapp (issue #36)
commit b258cf41f693dbbdb7b9081aea544e6f7e700ecc
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 19:45:57 2016 +0200
#35 rename "us-address" to "jsr352"
commit 6f80618d08e8a80ffc23b9c86ff88f5c68661b22
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 17:46:02 2016 +0200
#28 change diagram for mass-indexer (overview)
Prepare for the first tag. This image should have smaller width and all components up to date.
commit fa1e12c16e93a560758c687ceb1bab17b1a63355
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 17:21:27 2016 +0200
#41 update javadoc and enhance code
commit 1fb8ae6e30ceabf5f345361c03440b5527cf1afa
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 16:26:46 2016 +0200
#41 update javadoc for chunk-step "produceLuceneDoc"
Reader / Processor / Writer
commit a8f7aaa2e9c4b6835693f92c95239f681276da5a
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 15:47:00 2016 +0200
#41 clean code for IdProducerBatchlet
commit 9820a4645c2cd02149f9fc7335a274bd9394d77c
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 14:32:45 2016 +0200
#34 use IndexingContext for entity row count
commit 430ea9e1bf24188e73ad8be169ac279de88d27bb
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 01:12:27 2016 +0200
#33 change job to use dynamic configuration of partition plan
commit e733a7f0323a0f801036a484376cac1163832e9a
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 13 01:06:09 2016 +0200
#22 use generic type in BatchItemProcessor
commit 0b28f46feff142422597a6489d2c8204da65abd3
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 11 21:55:24 2016 +0200
#32 add EntityPartitionMapper
commit 518b035e680b1b1b6a14e4ee4b8d11a60973ee6f
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 11 20:45:06 2016 +0200
#31 get class type Class<?> from String
commit b734016294a10ff25c0db7f57e6271aef1d913f5
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 11 16:08:47 2016 +0200
#30 add table `stock`, provided by yahoo finance
commit 61b5406083ed2105d48c8445a9943545a9b73845
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 11 15:13:42 2016 +0200
#24 #25 add <decision> tags in job "mass-index" work flow
commit 69673517c72746f947925bece5f022fecfcaecc6
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 11 15:08:57 2016 +0200
#28 change diagram for mass indexer (overview)
The image provided in the commit is generated by the JBoss tool in Eclipse,
so it helps to standardize the progress display
commit c65f41d3633c4e9a18ebb4fcb4f114b6a7ed5940
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 8 20:07:03 2016 +0200
#24 change decision id in job xml
commit d127e1e3a9a46db2856be7a4698e934ee641fc06
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 7 23:42:49 2016 +0200
#28 add diagram for mass indexer (chunk)
commit 2f314a12167dc64e6c74221a4cce4a7f992fa16a
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 7 23:28:31 2016 +0200
#28 resize image
commit e43b4cee609983d181945d99e04241511b889d6f
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jun 7 22:59:02 2016 +0200
#28 add diagram for mass indexer (overview)
commit 36440bed8486f7040bb04fa2d194a425990a1be2
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 6 21:46:24 2016 +0200
#24 add decider and purger batchlet before the doc production chunk
Decider and purger batchlet provide a before-production enhancement. User can now have possibility to purge all index before started. However, this commit provides only the working model, method inside the batchlet is not implemented yet.
commit 55f01375d11c8ab7c5940484050812a1714583c3
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 6 19:52:29 2016 +0200
#26 delete IdReaderBatchlet
This class belongs to the previous demo and it was not used since a moment. Delete it to avoid confusion.
commit 7d2b5b586178f47f3d0ae4763d5d7672e3815098
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 6 19:47:28 2016 +0200
#26 delete previous demo's chunk classes
AddressReader + AddressProcessor + AddressWriter + Job XML
commit 447412586c2f49455c0f95704cbe0c0976439fc8
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 6 17:26:53 2016 +0200
#23 replace LinkedList by ConcurrentLinkedQueue for idChunkQueue
commit e4c9f048c081562376921b9d06f434d786f5b456
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 6 12:27:42 2016 +0200
#22 Use generic type in BatchItemProcessor
Now the method buildAddLuceneWorks(List, Class<T>) is generic. This implementation done thanks to Stack Overflow. I've asked a question this morning : How to use generic type in a map? [duplicate] <http://stackoverflow.com/questions/37654228/how-to-use-generic-type-in-a-map>
commit 2a67c6669355e8d4f94d1d71f844693a271870ca
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 6 10:55:21 2016 +0200
#4 performance test for indexing 1M entities
10:51:58,187 INFO [stdout] (Batch Thread - 1) #analyzeCollectorData(): 1000000 works processed (100.0%).
10:51:58,187 INFO [stdout] (Batch Thread - 1) #analyzeStatus(...) called.
10:51:58,187 INFO [stdout] (Batch Thread - 1) #beforePartitionedStepCompletion() called.
10:51:58,188 INFO [stdout] (Batch Thread - 1) #afterPartitionedStepCompletion(...) called.
10:51:58,466 INFO [stdout] (EJB default - 1) 52 rounds, delta T = 64441 ms.
commit 9ccde4fa838eb434fa0681fd2189978ca560f5a1
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jun 6 10:45:32 2016 +0200
#21 modify variable naming and javadoc to clarify the analyzer
commit 911990fde529500b58a3f927f4fe69b1fa5b681f
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 5 21:36:27 2016 +0200
#21 show mass index progress using PartitionAnalyzer
commit 7072f6f102431847ecaac86700e72362a8d06db1
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 5 18:59:08 2016 +0200
#19 decrease item-count to avoid OutOfMemory exception
commit 392a40bce8e140e5a194caa15e947bafb794714f
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 5 18:58:06 2016 +0200
#17 pass IndexShardingStrategy through IndexingContext
commit de93ad6e98eabe59c5f57b01f82a6d7d2760e51d
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 5 18:56:33 2016 +0200
#21 Collect and analyse items processed from different partitions
Previously, items processed in different partitions were shown in separate monitor. Now, by using the StepContext + PartitionCollector + PartitionAnalyzer, these data are unionned together. So, we can see the total progress of this step. However, the monitor is not integrated yet.
commit 6d2ae3fa2e1382e94a35ac42582a7fcd992b00ef
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jun 5 17:59:34 2016 +0200
#20 disable the cache in a session
commit 9b8faa8a81d1748f367ad8069dacd6c025fe2bfb
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jun 4 19:07:22 2016 +0200
#13 add AddLuceneWork execution in job "mass-index"
The BatchItemWriter can now execute AddLuceneWork and a simple monitor has been added to monitoring the index progress.
The BatchItemProcessor had a problem about the IndexShardingStrategy (issue #17). Now it is fixed using a customized context class for context-value-transfer.
commit 81891b9a8e7e3eb4aedc46f4d57df62f6ad9f843
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jun 2 20:54:21 2016 +0200
#13 change BatchItemWriter to do lucene work.
The processor build AddLuceneWork using the entities obtained from JPA entity manager. The code has been separated into logical modules and different functions.
commit 6d70db122d298051151a82364af596b8e3c20827
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jun 1 23:33:05 2016 +0200
#15 fix unaware how to convert value
commit c6e8fe1e0ec18d4b279c774a333903e15733dc76
Author: mincong <mincong.h(a)gmail.com>
Date: Mon May 30 23:48:06 2016 +0200
#13 add javadoc
commit 4e7fcdcc13d262ef035c8dd1a4a2b0167ecae3a9
Author: mincong <mincong.h(a)gmail.com>
Date: Mon May 30 21:50:44 2016 +0200
#13 add documentation for reader
commit 0ec55aa867b3e512782ac9c2ee27494b21b6633b
Author: mincong <mincong.h(a)gmail.com>
Date: Mon May 30 21:50:12 2016 +0200
#13 change processor's role and add documentation
commit e63636855113e99101bde685fd0f686a5aa940f6
Author: mincong <mincong.h(a)gmail.com>
Date: Mon May 30 13:43:45 2016 +0200
#13 mass indexer using JSR 352 - id production
commit 382fe8c6e4cd4154a11b3d2a6b603b0bf84e1d61
Author: mincong <mincong.h(a)gmail.com>
Date: Sun May 29 20:38:25 2016 +0200
#7 Parallel processing for IdReaderBatchlet
commit 941c3b0dfd37a5cc0199543732d263242632c699
Author: mincong <mincong.h(a)gmail.com>
Date: Sat May 28 22:51:08 2016 +0200
#10 Use customized context to pass properties between steps
commit c361d22694c93230da1e0fcb03adeaf2328ce0b8
Author: mincong <mincong.h(a)gmail.com>
Date: Sat May 28 21:25:37 2016 +0200
#8 change data structure from ArrayList to Array (4.0% faster)
commit 5739a13c38d451fc1530a1d1c341fcad773bcda6
Author: mincong <mincong.h(a)gmail.com>
Date: Sat May 28 12:00:02 2016 +0200
#9 Set batchlet properties via job xml
Now the batchlet properties are defined through the Job XML, with Job XML substitution support described in §8.8 of JSR 352 v1.0 final release.
commit 14a638a75db57f83bb763cbd1aa02cca995e8620
Author: mincong <mincong.h(a)gmail.com>
Date: Fri May 27 18:29:37 2016 +0200
load ids v2
Now the class IdProducerBatchlet can load all entities' ids and print to terminal.
commit 25c20141a78f7a632b27cc1568f8ad4767fd1dad
Author: mincong <mincong.h(a)gmail.com>
Date: Fri May 27 00:38:56 2016 +0200
add id producer batchlet (not finished)
This batchlet is similar to org.hibernate.search.batchindexing.impl.IdentifierProducer
commit eadadae1cc605fe14735ed2998d5490753ff38be
Author: mincong <mincong.h(a)gmail.com>
Date: Sun May 22 22:36:51 2016 +0200
execute LuceneWork in AddressProcessor
commit 53881cd9264097fca97c1e03b0b4c8f9d4de1029
Author: mincong <mincong.h(a)gmail.com>
Date: Sun May 22 20:15:21 2016 +0200
#1 move operations related to session from processor to reader
commit aaf0441998c2bb4b955ce7b95d222f839899c262
Author: mincong <mincong.h(a)gmail.com>
Date: Sat May 21 16:28:22 2016 +0200
change batch job from a print demo to lucene demo
commit b72158bac525c8d459da5a29526538103deeba41
Author: mincong <mincong.h(a)gmail.com>
Date: Mon May 16 00:40:24 2016 +0200
add demo batch job `print-addresses-job`
commit 539c2445ca6cd26102692e1799798916e20cbef0
Author: mincong <mincong.h(a)gmail.com>
Date: Sat May 14 15:21:23 2016 +0200
building demo jse-chunk
commit a5db45120b6139a1eb250f3e2d878c6cd7beb194
Author: mincong <mincong.h(a)gmail.com>
Date: Thu May 5 21:50:33 2016 +0200
add different types of query
- keyword
- fuzzy
- wildcard
commit dcde70e8a12c8c334c42946a7fceea6296db03af
Author: mincong <mincong.h(a)gmail.com>
Date: Thu May 5 17:48:13 2016 +0200
add basic search feature (keyword query)
commit 4a103d19d4133e0359f35ae5a82eb119948e5bda
Author: mincong <mincong.h(a)gmail.com>
Date: Sun May 1 15:45:48 2016 +0200
optimise mass indexer settings
https://docs.jboss.org/hibernate/search/5.6/reference/en-US/html_single/#...
commit 2b2ac86731e3653c427048f9a944937e6ec7a0c5
Author: mincong <mincong.h(a)gmail.com>
Date: Sun May 1 14:21:29 2016 +0200
change hibernate search method `index()` into async mode
commit 322c58a717f89d5d4c56ea130a6e474a7eeba646
Author: mincong <mincong.h(a)gmail.com>
Date: Sun May 1 09:50:00 2016 +0200
add Hibernate Search feature into `us-address`
commit 05b0ee16802cab782bbfd839d172b5d3a326b758
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Apr 30 11:08:25 2016 +0200
add JPA example `us-address`
The Twilio/Wigle.net Street Vector data set provides a complete database of US street names and address ranges mapped to zip codes and latitude/longitude ranges, with DTMF key mappings for all street names. This application `us-address` is a Java EE demo for JPA 2.1. It will be extended to Hibernate Search feature later.
commit 135a190ce6349f4ee53a2e28822f0a95b3a1b2cc
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Apr 16 17:03:37 2016 +0200
add example zoo-jpa
Commit: 6f22c54c5dc3096b2e1d7e27b215041c218947e2
https://github.com/hibernate/hibernate-search/commit/6f22c54c5dc3096b2e1d...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/pom.xml
M jsr352/core/src/main/java/org/hibernate/search/jsr352/MassIndexerImpl.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchItemProcessor.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchItemReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchItemWriter.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchJobContextSetupListener.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/EntityIndexingStepContextSetupListener.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/EntityIndexingStepData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/EntityPartitionMapper.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/FlushingBatchJobListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/IdProducerBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/IndexingContext.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionCollector.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionMapper.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/mass-index.xml
M jsr352/integrationtest/javaee-wildfly/pom.xml
M jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/MassIndexerIT.java
M jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/CompanyManager.java
M jsr352/integrationtest/javase/pom.xml
M jsr352/integrationtest/javase/src/test/java/org/hibernate/search/jsr352/se/MassIndexerIT.java
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2594 Adjustments on JSR-352 integration
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
f8c7156c589e501e970c01c6747921bf3f902133 to a1cd1a6e77a3029ba0401e400a856e8ae290091c
(see git log below).
commit a1cd1a6e77a3029ba0401e400a856e8ae290091c
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: Tue Jul 5 17:35:27 2016 +0200
#92 Exposing entities to index via batch job context
commit 257f8e6591a538f14429dc15b8d2f06a9a6ccb05
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: Tue Jul 5 12:35:15 2016 +0200
#93 Avoiding usage of Class#forName()
commit 2f0c4a04f1471414c4339b58dcd2839d2c747053
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: Tue Jul 5 12:33:15 2016 +0200
#91 Creating EntityIndexingStepData to share data within the entity indexing batch step;
* It's set up before the item reader runs via a listener
* Avoids concurrency issues of sharing the index sharding strategy via the IndexingContext
commit de0b0ca559271108de1a0e03051d7056a478d990
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: Tue Jul 5 10:28:57 2016 +0200
#88 Cleaning up Maven dependencies
commit f8c7156c589e501e970c01c6747921bf3f902133
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: Tue Jul 5 09:59:49 2016 +0200
#78 Flushing out pending index works after batch job has run
Commit: 8d0d91507954656c4126506d7a73c8b1e453f809
https://github.com/hibernate/hibernate-search/commit/8d0d91507954656c4126...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/README.md
A jsr352/build-config/pom.xml
A jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/CommentSuppressor.java
A jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheck.java
A jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/IllegalImport.java
A jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/MatchSuppressor.java
A jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/NeverSuppress.java
A jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/StringSuppressor.java
A jsr352/build-config/src/main/java/org/hibernate/checkstyle/filters/ExcludeTestPackages.java
A jsr352/build-config/src/main/resources/checkstyle.xml
A jsr352/build-config/src/main/resources/org/hibernate/checkstyle/checks/regexp/messages.properties
A jsr352/build-config/src/main/resources/suppressions.xml
A jsr352/build-config/src/test/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheckTest.java
A jsr352/build-config/src/test/java/org/hibernate/checkstyle/checks/regexp/StringSuppressorTest.java
M jsr352/core/pom.xml
M jsr352/core/src/main/java/org/hibernate/search/jsr352/MassIndexer.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/MassIndexerImpl.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/AfterIndexDecider.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/AfterPurgeDecider.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchContextData.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchItemProcessor.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchItemReader.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchItemWriter.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/BatchJobContextSetupListener.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/EntityIndexingStepContextSetupListener.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/EntityIndexingStepData.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/EntityPartitionMapper.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/FlushingBatchJobListener.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/IdProducerBatchlet.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/IndexPurgerBatchlet.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/IndexingContext.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/JobContextData.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/JobContextSetupListener.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionAnalyzer.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionCollector.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionMapper.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/LucenePartitionReducer.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/OptimizerBatchlet.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/PurgeDecider.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/se/JobSEEnvironment.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/afterChunk/AfterChunkBatchlet.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/beforeChunk/BeforeChunkBatchlet.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/CheckpointAlgorithm.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/EntityReader.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/LuceneDocProducer.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/LuceneDocWriter.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionMapper.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionProgress.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/ProgressAggregator.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/ProgressCollector.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/StepContextData.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/util/MassIndexerUtil.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/util/PartitionUnit.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/mass-index.xml
M jsr352/core/src/main/resources/META-INF/beans.xml
A jsr352/core/src/test/java/org/hibernate/search/jsr352/EntityReaderTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/JobFactory.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/MassIndexerIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/MassIndexerTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/PartitionMapperTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/RestartChunkIT.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/entity/Company.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/entity/Person.java
A jsr352/core/src/test/resources/META-INF/persistence.xml
A jsr352/documentation/pom.xml
A jsr352/documentation/src/main/asciidoc/developer-guide.asciidoc
A jsr352/documentation/src/main/asciidoc/index-docinfo.xml
A jsr352/documentation/src/main/asciidoc/index.asciidoc
A jsr352/documentation/src/main/asciidoc/preface.asciidoc
A jsr352/documentation/src/main/asciidoc/user-guide.asciidoc
M jsr352/integrationtest/javaee-wildfly/pom.xml
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/MassIndexerIT.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/PerformanceIT.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/RestartIT.java
M jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Address.java
M jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Company.java
M jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/CompanyManager.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/MyDate.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/MyDateManager.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/MyDatePK.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/MyDatePKBridge.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Person.java
A jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/PersonManager.java
M jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Stock.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/util/BatchTestHelper.java
A jsr352/integrationtest/javaee-wildfly/src/test/resources/JobInterruptor.btm
A jsr352/integrationtest/javaee-wildfly/src/test/resources/META-INF/MANIFEST.MF
M jsr352/integrationtest/javaee-wildfly/src/test/resources/META-INF/persistence.xml
M jsr352/integrationtest/javaee-wildfly/src/test/resources/arquillian.xml
M jsr352/integrationtest/javaee-wildfly/src/wildflyConfig/standalone/configuration/standalone-full-testqueues.xml
R jsr352/integrationtest/javase/pom.xml
R jsr352/integrationtest/javase/src/test/java/org/hibernate/search/jsr352/se/JobFactory.java
R jsr352/integrationtest/javase/src/test/java/org/hibernate/search/jsr352/se/MassIndexerIT.java
R jsr352/integrationtest/javase/src/test/java/org/hibernate/search/jsr352/se/RestartChunkIT.java
R jsr352/integrationtest/javase/src/test/java/org/hibernate/search/jsr352/se/test/Company.java
R jsr352/integrationtest/javase/src/test/resources/META-INF/persistence.xml
A jsr352/lgpl.txt
A jsr352/modules/pom.xml
A jsr352/modules/src/main/assembly/dist.xml
A jsr352/modules/src/main/modules/search/jsr352/module.xml
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2594 Initial work on JSR-352 - second part
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
691bced376a054e5bba464d6a7d4991703f97f51 to 4ee5027e3758a994f5bc64e82344f1aa8512b798
(see git log below).
Also, a binary file (image) was removed.
commit 4ee5027e3758a994f5bc64e82344f1aa8512b798
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Wed Aug 17 08:11:36 2016 +0200
#132 add module "modules" v1
commit 0da6342136e911440f533c9595452f4f88fe8d1f
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Mon Aug 15 23:37:03 2016 +0200
#122 update doc
- delete index-optimization doc
- rename massindexer352 to user-guide
- add developer-guide #130
commit 694f855db7b20acd56248013f1114a58464a2e4c
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Mon Aug 15 14:33:54 2016 +0200
#137 move the BM script to annotations
commit 8b446c0fccb46c0b597a1c2619e075b3aa77b5e4
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Mon Aug 15 13:59:13 2016 +0200
#135 Use more specific names for chunk classes
commit 7c5e4f1eec8a0a2d8210c6b0a8dd33976a5b9a47
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sun Aug 14 19:38:41 2016 +0200
#130 prove the indexed results
commit ed7d35d2ea10ec6f4a97073dec8ebf3de09a3592
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sun Aug 14 16:11:13 2016 +0200
#130 performance test
commit 7eeefb0fe09515b660ab3f65b1e3ff34d4724a4a
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sun Aug 14 11:11:45 2016 +0200
#113 add transaction timeout to avoid em warning
could not log warnings: java.sql.SQLException: IJ031070: Transaction cannot proceed: STATUS_COMMITTED
commit d380e1e118e7409809ac3b8c4beffca3bacd5b81
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 13 16:41:36 2016 +0200
#133 use purgeAll from FullTextEntityManager
commit 106071e725aca39e1e5ed7bed556d299edc6743b
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 13 14:20:23 2016 +0200
#128 enhance value assertion and util in test
commit a709c1089d501d93d8ca96f4f65c92ecb141d394
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 13 12:55:43 2016 +0200
#96 enable test RestartChunkIT
- #131 batch status test
- #123 use byteman to stop the job
commit 684814426c6c9035f80e408a02d1cc31ca7fd84b
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Fri Aug 12 22:16:24 2016 +0200
#131 enable batch status test
commit 91b52c3dfe8b429fbab3f99522e4cdcd8e9649c7
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Aug 11 23:23:55 2016 +0200
#133 clarification for emf and jobOperator under JavaSE
commit 3495eaa2aebcf914d30a4c4755612d3d5338a122
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Aug 11 19:52:29 2016 +0200
#133 merge mass indexer interface and impl
commit e76bd5ef4ea7596013b162a0ec8705312b8d2544
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Aug 11 19:34:18 2016 +0200
#133 rename analyzer and collector
commit 72a6211d685aaf857c65b2926194f1c912329bda
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Aug 11 19:06:38 2016 +0200
#133 update comments in PartitionAnalyzer
commit 6f556577dcac9af84a26592c6452960ed54471bd
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Aug 11 18:41:37 2016 +0200
#133 delete unused comparators
commit f57d08e96a0a12decc78c47b00cc61bfc5372dc7
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Aug 11 00:49:30 2016 +0200
#122 add persistence configuration
commit 76fdeacf6dba75e5195811ca6672e904a3f77eca
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Aug 9 08:55:19 2016 +0200
#127 prove the existence of root entities
commit 7ba54509972dd66264c02001455441b8bbca99e5
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Aug 9 07:48:23 2016 +0200
#127 use mock & avoid add getters / setters for tests
commit 0f42691b75a772a91f3ceee842325e93cd954c25
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Aug 8 21:11:34 2016 +0200
#125 attribute naming and position enhancement
- use full upper case for static final attributes
- rebase the order of different attributes in class scope : static final go first; final go second; annotations go third; classic attributes go last.
commit f091d19c660a4a5d917eb0d13752b64d90587153
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Aug 8 20:24:24 2016 +0200
#125 extends abstract class to decrease code complexity
commit 88e89f4504de654d615fb1797751a4e9039e4eb7
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Aug 7 15:51:09 2016 +0200
#119 unwrap session from emf directly
commit 251ff72c9b9cbf94b8593eafb5493818d17ddc8c
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Aug 7 15:43:16 2016 +0200
#125 separate obtention of ID name in an util class
commit 5777c32264dec3cb18bdd46a46de6667f770e2ae
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Aug 7 15:25:22 2016 +0200
#125 update javadoc and clean up code
commit 967db612ca4e80e22826641fd428632e86d1edae
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Aug 7 14:54:49 2016 +0200
#126 fix boundary setting error
commit 750b7f63a3ac50edc2cdea398bb37333e2437f37
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Aug 7 10:52:18 2016 +0200
#96 enable mass indexer under Java SE
commit 6a85592831a9ed29c52fd7798858c793881f0725
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Aug 6 18:50:25 2016 +0200
#125 migrate README content -> http://mincong-h.github.io/gsoc-hsearch
commit 35ff8f6535baf0beb76581ef823e4f7c3859de52
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Aug 6 18:10:11 2016 +0200
#21 rebuild the indexing monitor
commit fc70ac8ef4134fa38f3e280b9addece5e056ed31
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Aug 6 10:42:41 2016 +0200
#122 enhance documentation
- introduction
- example usage
- different configurations
commit 2bf1a505933a16a75f2f078d8f9dd3c9211a7067
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Aug 5 22:59:01 2016 +0200
#114 delete utility class referenced from other project
commit 896794d1efd39cbd4ee8f03448edd72a7953cfa7
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Aug 5 22:09:23 2016 +0200
#55 add unit test for ItemReader
commit 7e36592e1fab3c0b54ac5f76f5fde0689d0e6a5f
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Aug 5 20:58:36 2016 +0200
#125 rename attribute partitionCapacity -> rowsPerPartition
commit 4e0cb5af56c0cec8d21453f4f6a9c2031165b493
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Aug 5 20:30:07 2016 +0200
#74 accept single class type as entry for root entity(s) selection
commit 35c2c1f8aa69754ef9fbab6e4338445db4f00ac2
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Aug 5 20:20:43 2016 +0200
#125 fix typo
commit 66316bb8eed6a4c73c78524d4187a482953790ee
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Aug 5 20:07:52 2016 +0200
#125 add javadoc & license for PartitionMapperTest
commit dea58bdee5344bce9ddf6bd7223ede9665e4b98d
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Aug 4 23:45:05 2016 +0200
#121 mock for PartitionMapper
commit e29fa3318ed24fdf02d3e6f2ad5be5c71349f2b1
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Aug 4 23:43:53 2016 +0200
#125 add toString to test entity types
commit db2d44454319863bef2194476268dfe53bfb3c3e
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Aug 2 23:50:35 2016 +0200
#121 mock for PartitionMapper
not finished
commit 2c88280670274f377821ef6a52847a63f54cb9ab
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Aug 1 16:47:42 2016 +0200
#122 add documentation
commit 296f621509b53acef04ecfe7fb3c8cde022fb4d1
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 31 12:38:09 2016 +0200
#109 prove the entire dataset is indexed
using all context query
commit 949c2c5287e5c24491959e72bfcadb493c085b89
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 31 10:00:54 2016 +0200
#122 create document module
commit 61619e4aa064c3174c3c881d9ba0c18e3f12eacc
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 31 00:49:50 2016 +0200
#116 revert changes : use partitionCapacity again
commit 1f304b09defe5e9540d20820b5f90e9cd9dc734c
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 30 16:30:42 2016 +0200
#124 enhance code
commit de7a96d9fde799c10d4c919a9780ea9b87dde61b
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 30 12:25:11 2016 +0200
#120 #124 enhance the boundary logic
Currently, the boundary logic is not very clear. There're too many classes participating to the construction, which leads to a lack of abstraction. So here're some enhancements :
- move embedded class PartitionMapper._Unit to PartitionUnit
- embed PartitionBoundary class to PartitionUnit
- rename partitionIndex to partitionID
commit 0be59ab4af98b581d3d45b71a25f6e99d4bb8e0b
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 30 09:22:44 2016 +0200
#120 enhance the partition boundary concept
- cancel the "unique partition" concept, one entity type should have at least 2 partitions
- change the closed interval to Right-Closed interval
commit c64f4ec5a5d8a8dc9410c6096dc6194b3ea17b0f
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 30 00:05:35 2016 +0200
#108 several enhancements for partitioning
- add an additional partition at the end of each entity type to handle new inserted entities
- use N times more partitions than the user-defined partition (initial partition) in order to balance the thread computation charge
commit bb69ee055e9bc99a9fd747c4be61262ea7bf9d27
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 29 00:19:46 2016 +0200
#120 change R-closed interval to full closed interval
commit ad7b0778c6c69fdf921fcbf07ec44c0a98aa6051
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 28 23:56:29 2016 +0200
#120 replace firstID and lastID by divider
Different dividers provide a partition boundary mechanism.
commit a7ab1e3b69f0da8a22b9f1ff3020edc81c147804
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 28 00:23:21 2016 +0200
#109 prove the entire dataset is indexed in RestartIT
commit 701555eb39491ff924b2cac4aec773910fed3404
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jul 27 23:50:55 2016 +0200
#123 adapt MassIndexerIT to RestartIT
so that the restartability can be proved inside this class.
commit 818caa3651926e31ea79c410f6b82785b51d7815
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jul 27 23:49:33 2016 +0200
#123 fixe typo error for Byteman script in maven pom.xml
commit 5324146f0af27d8332f342cf1dbc54f981ee519c
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jul 27 23:48:09 2016 +0200
#124 delete unused method in Helper class
commit ffb8eddeddc1edd8271742c3bb48c9451df0fceb
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jul 27 23:47:21 2016 +0200
#89 fix typo error for "family"
commit 1aefe2a87851241e870955969c4d75bdd40cf2c2
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jul 27 19:40:56 2016 +0200
#123 change Byteman roles and enable job restart in IT
commit ec45c74ce141c6ccab56334db9988390426bfdd8
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jul 26 23:51:34 2016 +0200
#119 avoid using entity manager
SessionFactory can be unwrapped directly from EntityManagerFactory. Once factory is unwrapped, it can be used to create a session instance. Of course, Hibernate session need to be closed explicitly at the end of its usage.
commit deb268509cb5934927d2626994c761fa878bd130
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jul 26 20:14:24 2016 +0200
#117 add Java agent Byteman for arquillian integration test
commit 84a89099a6ee05465cd9076bd9064f2acba2282c
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 25 21:42:39 2016 +0200
#118 add "try catch finally" for all concerned classes
commit cbf94fafc363d427de5f59bbc79cba0ca378c53a
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 25 20:58:55 2016 +0200
#118 add "try catch finally" structure for PartitionMapper
commit 3462cb6f5648d205e5530fd43c08294fdfbefdfb
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 25 15:46:35 2016 +0200
#118 add try finally in mapper
commit 289cc96f68687f380c4f8fbec956807213e52255
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 25 14:21:44 2016 +0200
#115 add cacheable and fetchSize as batch property
commit d552c6b8e3a47dcb43576fb563b05d9af0dd895a
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 25 12:06:40 2016 +0200
#115 enable the entity MyDate.class in MassIndexerIT
commit 2556c8d33e5c1f1e207f3043a6b465190ea025d8
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 25 11:58:26 2016 +0200
#115 cleanup partition mapper, delegate map to job context data
commit 925963de059bd36f15c9b00e2a5787576fff733f
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 25 10:43:50 2016 +0200
#115 add toString() to entity type Person.class
commit 12f5a8f1c6c3732b88a7325f3b26dfb443c14a25
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 25 10:42:38 2016 +0200
#108 ID should be ordered before scrolling
commit 654aadf42aa570a61b15331e68f3ab6e39ce8af8
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 25 03:23:03 2016 +0200
#108 use range approach to define partition v1
available for String ID (still have problem for criteria expression in item reader)
commit 6063c2167b69f650897e2ff165912fa5781b055d
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 24 21:15:54 2016 +0200
#108 use range approach to define partition v1
available for integer ID
commit 13c8bd42bf303252bbe005ff0d9b144bdf9b86fe
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 24 14:36:43 2016 +0200
#107 add hashcode for entity and enable SQL
commit 981a371517aeb6b7aef77109a4c311ffee92367b
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 24 12:30:51 2016 +0200
#107 use the remainder approach for item reader
Currently only available for integer ID.
commit f30a4ed5c43efd09bf85cc9c2928f5f844cd37c9
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 24 10:44:20 2016 +0200
#115 format XML file to adapt Hibernate code style
commit 5d11e1c1f1bd0c226bc188be20f91db5a9eda8de
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 24 10:38:03 2016 +0200
#109 delete byteman config
For instance, the byteman does not work properly, so everything related to byteman is deleted for instance. The previous configuration had been stored at branch issue-117. I need more time to figure out how it works, with or without Emmanuel.
commit ceacc8ce9620f9f7eddb327aab270010d33d1fd4
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 24 01:07:50 2016 +0200
#117 add byteman to Java EE tests
commit b020c26f889b5978aa6b0c3c9310d73b0b135490
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 23 09:47:47 2016 +0200
#116 update javadoc and cleanup code
commit dc45ecedca790f2a6856bfaf170ae7d2a01b9869
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 22 23:51:53 2016 +0200
#116 enhancement for partitioning
code cleanup for better understanding
commit 3de0007d43570ea55c6f47b44429f782173817d5
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 21 23:50:10 2016 +0200
#116 define partitions instead of partitionCapacity in the job properties
commit 19c1a1c413fcd3df95a17b588c8ff639f6a08c14
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jul 20 18:35:39 2016 +0200
#112 revert useless clean up
commit 306c9224fc2dc2571e50c53d7e7df4a2753e9dec
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jul 19 23:59:15 2016 +0200
#112 clear em before it is closed
commit 2b3831e0769dbc2c959d2d5a90d89d61699d4796
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jul 19 23:44:37 2016 +0200
#112 inject emf instead of em to control the lifecycle
commit 4b7b77a7a0d56eafdb3654664d210b7b992448b0
Author: mincong <mincong.h(a)gmail.com>
Date: Tue Jul 19 20:26:36 2016 +0200
#115 add class description for JobContextSetupListener
commit ef9e2471e310cd6d96890592715a1dd013dd6d0b
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 18 13:00:22 2016 +0200
#106 enhance code & doc for internal classes
commit 3eba51088d0a1bd5022325b703abf73b045d5264
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 18 11:56:53 2016 +0200
#106 clean up for class MassIndexerImpl
commit 5b86bcdcf8b3e6e3fe37f409de3222275eb6bb34
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 18 11:45:21 2016 +0200
#106 add javadoc for interface MassIndexer
commit ff6005834750af72694832f2a2939cdac1096af2
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 23:11:16 2016 +0200
#106 update image URL
commit d3b4a0a8ae6d56259cc6db63efa05d716284f907
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 23:06:32 2016 +0200
#106 update description, add workflow diagram
commit fbf58e39b89b71179b3b1a90dd85eec0494cd1ff
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 22:31:40 2016 +0200
#106 delete PartitionReducer (we don't need it)
commit 3afd0799be4bb9292d7a887bba1d73cc1fb9fbdd
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 18:19:12 2016 +0200
#25 add the afterChunk enhancement
commit 960a8ad1d166572c857a48b6e63e936f692f17a2
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 17:52:02 2016 +0200
#24 rename package: purge -> beforeChunk
commit 02cb248d216c308a2d4018f5daabeae3eca57eaa
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 17:32:10 2016 +0200
#24 separate the beforeChunk enhancements from the chunk step
commit b7765a9c23ebddb06a6900a19aa081d658c8f437
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 15:56:26 2016 +0200
#106 cleanup maven
commit c74e78345c11b383fed1a52e9950fff327b948bd
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 13:10:14 2016 +0200
#89 add restart tests in MassIndexerIT under JavaEE
commit f9eef037cc2294f0b2dbecf5539adee42eb1fe46
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 10:33:20 2016 +0200
#106 clean up MassIndexerIT in Java EE
commit 340071866f73d93619c5314dddf23840ac6d1650
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 17 00:25:15 2016 +0200
#89 add entity type MyDate.class & test in IT (JEE)
commit 98e6e42b6cbf3406c0497c41de999ebc20cfad1d
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 16 12:44:17 2016 +0200
#24 purge at start enhancement
commit d49678ab8e77a50b03d0183ab23b6fa50e53f709
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 15 22:58:53 2016 +0200
#24 optimize after purge (applied on ItemReader#open(...)) + code cleanup
Enhancement before lucene work execution, according to https://github.com/hibernate/hibernate-search/blob/db0bd844315a26b0dcac1a...
commit b93b2b11e2af570ebc001569ac2e759199583404
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 15 21:59:38 2016 +0200
#84 change step context usage & cleanup job params
- change stepContext's persistent data methods to transient data, so that the data can be shared by reference in all classes in the same partition. Persistent data method will be used only on open (start) and close (end) to save as checkpoint.
- params "arrayCapacity" was used for bulk of IDs previously, but it isn't used anymore
- update related tests
commit b2e83775b581792426b61378f8d40f2de838942e
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 15 18:32:49 2016 +0200
#84 rename params inside the step context
"partitionNumber" -> "scrollOffset"
"partitionSize" -> "scrollInterval"
commit 905b8d77958f2ea6f61245d15db39d9edc171055
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 15 18:13:53 2016 +0200
#84 cleanup job params
commit 9940adc218002dd0629c06228d4f7f94bb6d0eeb
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 15 00:17:21 2016 +0200
#104 partitioning for multiple entity types
commit 21d91952fe87f16159f1f6f02b4935a717baa888
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 14 18:58:51 2016 +0200
#104 multiple partitions for one entity type using scroll mechanism
commit e8952206d73fd281ddc290d40296689a607f9fe4
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 14 12:56:59 2016 +0200
#105 change author info
commit 36ff3c13fbc5054b246b792e5e0173a5bf793afa
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 14 11:37:31 2016 +0200
#102 increase target entities' number from 100 to 1000
commit 8bfe36594815eeeb1651d157c05236171c83f6ae
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 14 11:29:03 2016 +0200
#67 increase TX in the customized config standalone-full-testqueues.xml
commit 3be9290ceaeb418c3e683f53b846991c47f1fc5d
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 14 10:28:56 2016 +0200
#102 Move creation of Lucene doc to ItemProcessor
commit 7154abb1132a2484219c0b2c8cd713c6f9bbd256
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jul 13 22:31:14 2016 +0200
#96 skip entity manager handling for Java SE + code clean up
rename PartitionedContextData to StepContextData so that it is easier for memorising.
The related part of the README file has been updated too.
commit 270527950b7995bf0dbdb1871ef5872f41ae6455
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jul 13 21:34:23 2016 +0200
#96 skip tests in Java SE
commit de6338ea97c37149babdcde17ad2364efdc05afc
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 11 21:45:27 2016 +0200
#86 avoid CDI injection before the job start
commit de9cb4664087480499fb23879e7fc8fc5bae601c
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 11 12:11:11 2016 +0200
#89 change Person's ID into more complex string expression
commit 020eb910909cde8193e0988004aad58744b0186a
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 11 12:07:41 2016 +0200
#97 add order in item reader
commit eb3eb0f9b6e712f214f9c8ceeb3d2f4731048bb3
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 11 11:39:04 2016 +0200
#89 add Person.class into Java SE integration test
commit 43e85576c52d6fc9ce7b76eb178f4d054ed0ada2
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 11 09:52:57 2016 +0200
#100 increase README readability
commit fcc55fefa1258f2fc1ba30083bf25b9a5c8ff468
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 11 01:41:02 2016 +0200
#100 update README composing
commit 74d909bb6c0e27863db258ac87b4c135ccc127fe
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 11 01:38:20 2016 +0200
#100 update README composing
commit 1bd3e5eb551d2291e04f96b76f79d29e82a4e3b3
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 11 01:29:30 2016 +0200
#100 explain project's mechanism in README
commit 28942f9b86475bd492a14db84e3b77bf73038bb0
Author: mincong <mincong.h(a)gmail.com>
Date: Mon Jul 11 00:10:15 2016 +0200
#92 rename BatchContextSetupListener to JobContextSetupListener
commit 09b7d0382dbd2941fb976a926c34598c027cbc55
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 10 23:54:16 2016 +0200
#89 add entity type Person.class
commit b14d304d4263a684a741f70a35f01cf39517bdf1
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 10 19:29:52 2016 +0200
#82 move Java SE based test to core module
commit 22d67b65e42589d55256ecd470e299233cef47d0
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 10 16:21:51 2016 +0200
#92 simply count process inside the transient / persistent data
commit bccdb05bc6a2264665fd1287ceea5dde83a398ba
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 10 07:31:09 2016 +0200
#99 delete ContextSetupListener
commit 864feeb749bb05aa37ae745a333f21cf8731e73d
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 10 01:17:50 2016 +0200
#92 cleanup StepContext
EntityType / EntityClazz will only be stored in JobContext using BatchContextData
commit 4711d5251ca659d84384448c4c4e37f414e98713
Author: mincong <mincong.h(a)gmail.com>
Date: Sun Jul 10 00:49:56 2016 +0200
#92 exclude entity-sharding-strategy from context data
The stuff is already done by Hibernate Search's class EntityIndexBinding. No need to do it again, just use the existing one.
commit 9f857d399b0dc6d9b27066324c722ec67c33c4a9
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 9 18:25:01 2016 +0200
#99 Disable AbstractItemReadListener
commit c1512d8d23ff33573c42d79d1f4eaa04051eacf9
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 9 14:17:18 2016 +0200
#98 use EntityName & EntityClazz
commit 3cda1aed500a99f44dc41f6319ab3a11a63bd79f
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 9 13:47:41 2016 +0200
#85 get ID using EntityIndexBinding
commit a3c4bed7ade064e7b0cccf1fc9c4eca57326ff02
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 9 11:03:05 2016 +0200
#81 clean up code in mass indexer
commit 08c06c015b399d078b7a4b4c2e7c8527d8c8d04b
Author: mincong <mincong.h(a)gmail.com>
Date: Sat Jul 9 10:27:38 2016 +0200
#90 enable customizable checkpoint algorithm
commit fb9c71e2c73a7fbdd6903fec0758956a4b047cd3
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 8 23:12:51 2016 +0200
#61 change project version to 5.5.4.Final
commit 37401bdfcc0dbd07e9d2e15c779b1c4e860c0784
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 8 23:03:09 2016 +0200
#87 add License LGPL
commit 19c0971eae2a4b9d7a9eb70f2094b6a46af3316a
Author: mincong <mincong.h(a)gmail.com>
Date: Fri Jul 8 22:34:46 2016 +0200
#87 Apply Hibernate code style
commit 856c89a1775249458bb32fad83ba1dac90d45e50
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 7 23:42:24 2016 +0200
#94 create dedicated sub-packages under internal.steps
one package per step
commit 7ec9e14f0a4d07024af4031841cb348514134428
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 7 23:05:55 2016 +0200
#97 finish chunk step redesign & tests associated
commit 21fe2ea907482590641e3c1da6b90f166881ecbc
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 7 21:10:25 2016 +0200
#97 add stateless session (still failed)
code updated following article "Kohei Nozaki • Chunk-oriented Processing with Hibernate's StatelessSession"
http://www.nailedtothex.org/roller/kyle/entry/articles-jbatch-hibernate
commit d31442e285c10a3a24a96ac5baeb13152a5b12e0
Author: mincong <mincong.h(a)gmail.com>
Date: Thu Jul 7 02:07:44 2016 +0200
#97 redesign the step execution "chunk"
commit 691bced376a054e5bba464d6a7d4991703f97f51
Author: mincong <mincong.h(a)gmail.com>
Date: Wed Jul 6 18:20:18 2016 +0200
#78 embed final flush into ItemWriter
So the FlushBatchJobListener can be deleted now. And the code complexity should be decrease thanks to this enhancement.
Commit: ecff781ec9911b1a0d0e9ddf0ae20a1c1f6f9bbf
https://github.com/hibernate/hibernate-search/commit/ecff781ec9911b1a0d0e...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/integrationtest/javaee-wildfly/pom.xml
M jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/PerformanceIT.java
R jsr352/integrationtest/javaee-wildfly/src/test/resources/META-INF/MANIFEST.MF
A jsr352/integrationtest/javaee-wildfly/src/test/resources/jboss-deployment-structure.xml
M jsr352/modules/src/main/assembly/dist.xml
M jsr352/modules/src/main/modules/search/jsr352/module.xml
Log Message:
-----------
HSEARCH-2594 Some improvements around module approach
Commit: fee3e4f8d370622571556c29cb60adf5f4c5e420
https://github.com/hibernate/hibernate-search/commit/fee3e4f8d37062257155...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
A jsr352/.travis.yml
A jsr352/LICENSE.txt
M jsr352/README.md
M jsr352/build-config/pom.xml
M jsr352/core/pom.xml
A jsr352/core/src/main/java/org/hibernate/search/jsr352/BatchIndexingJob.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/MassIndexer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/JobContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/se/JobSEEnvironment.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/afterChunk/AfterChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/beforeChunk/BeforeChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/CheckpointAlgorithm.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/LuceneDocWriter.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionProgress.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/ProgressAggregator.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/ProgressCollector.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/StepContextData.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/StepProgress.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/StepProgressSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/util/MassIndexerUtil.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/util/PartitionBound.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/util/PartitionUnit.java
A jsr352/core/src/main/resources/META-INF/batch-jobs/BatchIndexingJob.xml
R jsr352/core/src/main/resources/META-INF/batch-jobs/mass-index.xml
A jsr352/core/src/main/resources/META-INF/services/org.jberet.spi.JobXmlResolver
A jsr352/core/src/test/java/org/hibernate/search/jsr352/BatchIndexingJobIT.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/BatchIndexingJobTest.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/EntityReaderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/JobFactory.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/MassIndexerIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/MassIndexerTest.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/PartitionMapperTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/RestartChunkIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/entity/Company.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/entity/WhoAmI.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/internal/steps/lucene/EntityReaderTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionMapperTest.java
M jsr352/documentation/pom.xml
M jsr352/documentation/src/main/asciidoc/index.asciidoc
R jsr352/integrationtest/javaee-wildfly/pom.xml
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/PerformanceIT.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/RestartIT.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Address.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Company.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/CompanyManager.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/MyDate.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/MyDateManager.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/MyDatePK.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/MyDatePKBridge.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Person.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/PersonManager.java
R jsr352/integrationtest/javaee-wildfly/src/test/java/org/hibernate/search/jsr352/test/entity/Stock.java
R jsr352/integrationtest/javaee-wildfly/src/test/resources/JobInterruptor.btm
R jsr352/integrationtest/javaee-wildfly/src/test/resources/META-INF/persistence.xml
R jsr352/integrationtest/javaee-wildfly/src/test/resources/arquillian.xml
R jsr352/integrationtest/javaee-wildfly/src/test/resources/jboss-deployment-structure.xml
R jsr352/integrationtest/javaee-wildfly/src/wildflyConfig/standalone/configuration/application-roles.properties
R jsr352/integrationtest/javaee-wildfly/src/wildflyConfig/standalone/configuration/application-users.properties
R jsr352/integrationtest/javaee-wildfly/src/wildflyConfig/standalone/configuration/standalone-full-testqueues.xml
A jsr352/integrationtest/performance/pom.xml
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/PerformanceIT.java
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/test/entity/Company.java
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/test/entity/CompanyManager.java
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/test/entity/Person.java
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/test/entity/PersonManager.java
A jsr352/integrationtest/performance/src/test/resources/META-INF/batch-jobs/make-deployment-as-batch-app.xml
A jsr352/integrationtest/performance/src/test/resources/META-INF/persistence.xml
A jsr352/integrationtest/performance/src/test/resources/arquillian.xml
A jsr352/integrationtest/performance/src/test/resources/jboss-deployment-structure.xml
A jsr352/integrationtest/performance/src/wildflyConfig/standalone/configuration/application-roles.properties
A jsr352/integrationtest/performance/src/wildflyConfig/standalone/configuration/application-users.properties
A jsr352/integrationtest/performance/src/wildflyConfig/standalone/configuration/standalone-full-testqueues.xml
A jsr352/integrationtest/wildfly/pom.xml
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/RestartIT.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/test/Message.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/test/MessageManager.java
A jsr352/integrationtest/wildfly/src/test/resources/JobInterruptor.btm
A jsr352/integrationtest/wildfly/src/test/resources/META-INF/batch-jobs/make-deployment-as-batch-app.xml
A jsr352/integrationtest/wildfly/src/test/resources/META-INF/persistence.xml
A jsr352/integrationtest/wildfly/src/test/resources/arquillian.xml
A jsr352/integrationtest/wildfly/src/test/resources/jboss-deployment-structure.xml
A jsr352/integrationtest/wildfly/src/wildflyConfig/standalone/configuration/application-roles.properties
A jsr352/integrationtest/wildfly/src/wildflyConfig/standalone/configuration/application-users.properties
A jsr352/integrationtest/wildfly/src/wildflyConfig/standalone/configuration/standalone-full-testqueues.xml
R jsr352/lgpl.txt
M jsr352/modules/pom.xml
M jsr352/modules/src/main/assembly/dist.xml
M jsr352/modules/src/main/modules/search/jsr352/module.xml
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2594 Initial work on JSR-352 - third part
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f1058b5d0eb61a7fe4975fd4f5c635200fd28 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).
commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Jan 5 23:18:43 2017 +0100
#168 test batch job runnability over a poorly-formed entity
It has multiple ID-like fields, which make it difficult to identify the real identifier.
commit 3cd83d9b5d9c055ee133d66a5af7e9c027a572dc
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Jan 5 22:22:33 2017 +0100
#165 delete unused import
commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Jan 5 21:55:17 2017 +0100
#165 remove duplicate ID projection
commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Jan 5 21:49:01 2017 +0100
#165 avoid using toString() method
commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Tue Jan 3 22:34:49 2017 +0100
#165 use `Projections#id()`
instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.
commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Dec 8 21:40:45 2016 +0100
#162 refactor entitiyType
commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Dec 8 21:13:59 2016 +0100
#162 increase default itemCount to 200
commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Dec 8 20:27:12 2016 +0100
#162 rename ID to Id
commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Dec 8 20:13:51 2016 +0100
#162 rename entityClazz to entityType
commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Dec 8 17:10:03 2016 +0100
#162 rename PartitionUnit to PartitionBound
commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Dec 8 16:49:48 2016 +0100
#162 refactor job context data setup
commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Dec 8 15:56:51 2016 +0100
#162 format code according to hibernate-ide-codestyles
https://github.com/hibernate/hibernate-ide-codestyles
commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Dec 8 12:10:43 2016 +0100
#161 use getName() instead of toString()
commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Dec 8 11:15:29 2016 +0100
#134 rename StepContextData to PartitionContextData
to provide a better understanding
commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Tue Dec 6 17:37:12 2016 +0100
#134 persist indexing progress using `setPersistentData`
commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Tue Dec 6 12:48:42 2016 +0100
#134 fix indexing progress error: avoid storing increment
commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Tue Dec 6 12:10:29 2016 +0100
#134 delete unused attributes
`isRestarted` and `rowsToIndex`
commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Tue Dec 6 11:22:37 2016 +0100
#134 refactor process of indexing-progress-monitoring
commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Mon Dec 5 21:42:45 2016 +0100
#134 add class StepProgress, storing indexing progress at step level
commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Fri Dec 2 09:44:05 2016 +0100
#87 rename lgpl.txt to LICENSE.txt
commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Mon Nov 21 10:59:41 2016 +0100
#160 add Travis CI status
commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Mon Nov 21 10:50:47 2016 +0100
#160 set up Travis CI
commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Fri Sep 30 21:39:53 2016 +0200
#146 misc. enhance & use another test scenario for WF
which demonstrates the possibility to index recent inserted entities
commit 13bc769a101c8f4cfa53fbe46433abdae2047a98
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Sep 29 16:29:48 2016 +0200
#133 type and naming enhancement
commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Sep 29 15:44:26 2016 +0200
#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"
commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Sep 29 15:28:17 2016 +0200
#156 #159 refactor the MassIndexer -> BatchIndexingJob
- Make a second level Builder class Builder.
- Avoid using constructor of MassIndexer.
- Various arguments of type Class<?>, Class<?>... for builder to allow at least 1 argument.
- Rename MassIndexer to BatchIndexingJob
- Avoid a static reference to the EMF
- Update all the test cases according to the changes
commit 950106e036309e24560a599b9132644d3b328e74
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Wed Sep 28 13:26:39 2016 +0200
#133 the batch insertion counter need to be incremented
commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Tue Sep 27 16:59:52 2016 +0200
#133 require at least one element for MassIndexer#addRootEntities(...)
commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Tue Sep 27 10:50:42 2016 +0200
#146 Allow to select the entities through a HQL/JPQL query
commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sun Sep 25 22:10:50 2016 +0200
#150 add test for validating the job start/stop in CLI
commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sun Sep 25 17:37:00 2016 +0200
#133 rename the war using the class's name
commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Sep 22 17:29:13 2016 +0200
#136 refactor mocked tests
Use real EntityManagerFactory instead of mocked one. Batch properties are now passed using a protected args-constructor. After the refactoring, there's no need to use PowerMock anymore.
commit 217d560424171e83864dfe55f6d08d955baeb763
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sun Sep 18 21:23:13 2016 +0200
#158 store Object as job property, e.g. Hibernate criterion
enable selection of entities to be re-indexed through criteria
commit e3a097a7eec8057b9c105684c9ab473645d08d3e
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Fri Sep 16 16:58:44 2016 +0200
#154 banne caching option for PartitionMapper
commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Sep 15 18:36:22 2016 +0200
#153 avoid SNAPSHOT versions among the dependencies
commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Sep 15 18:09:03 2016 +0200
#152 use java.lang.String for all the batch properties
commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Fri Aug 26 21:46:36 2016 +0200
#132 remove dummy job xml
commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Fri Aug 26 21:41:38 2016 +0200
#132 enable the module approach
commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Wed Aug 24 23:47:53 2016 +0200
#132 enable arquillian-managed WF's debug
commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Aug 25 22:57:10 2016 +0200
#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app
commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Wed Aug 24 23:47:53 2016 +0200
#132 enable arquillian-managed WF's debug
commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Mon Aug 22 23:55:34 2016 +0200
#132 add org.jberet.jberet-core as a module dependency
to fix unsatisfied dependencies issue
commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 15:10:20 2016 +0200
#132 implement an SPI like this ?
commit c44d5f7733a0fa83358cce708af0194d6d8c1eaf
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 23:54:34 2016 +0200
#133 avoid dependence on the existing mass indexer
for batchlets
commit 5c4add3e04d8d0645ce776774ae665a3c08b1f4c
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 22:47:33 2016 +0200
#143 change log level to INFO
commit e1b822993d8e53d354eb7cf7af037cd253fbe336
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 22:47:06 2016 +0200
#143 maven cleanup
commit 3c111e5f2fe8c627c76eebe919eb400a4fe287d3
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 22:40:22 2016 +0200
#140 change project version to 1.0
commit 1070a6d9f6a61083d7d20985fe98fd9e80134b3d
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 22:08:44 2016 +0200
#143 add issue management
commit 5ae450898434d12f069c2b553f802a89f86e175f
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 22:03:48 2016 +0200
#143 maven clean up
commit e9bad75de6a01e9114734a1c3aa225f3fa4942c8
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 20:59:43 2016 +0200
#143 add license and developers info
commit 1b9f49179d6bc4a8ab74d2b97a8f7f6e9aecfbfb
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 20:41:07 2016 +0200
#139 separate simple integration test and performance test
commit 3a18b7bc07141f692249b6ef549bd9f423bf2772
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 18:43:59 2016 +0200
#143 delete profiles
commit 35d8ba7b3d8d5319ab294a74a69b87354d66e172
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 18:40:53 2016 +0200
#143 revert WF module installation approach
commit a78086fd4263e8727ac8d7102c8d885f080e788a
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sat Aug 20 17:27:29 2016 +0200
#143 rename maven module javaee-wildfly to wildfly
commit d9fadc8c877bd6942b7ba3f33978e9ce84c2e8b4
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Aug 18 21:15:00 2016 +0200
#132 import meta-inf from dependency
commit 50908f988511bf43eb838ad2ba6199d1bad8f9e7
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Aug 18 02:06:07 2016 +0200
#132 update for IT
commit 576f1058b5d0eb61a7fe4975fd4f5c635200fd28
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Wed Aug 17 23:50:36 2016 +0200
#132 package batch job as module for WildFly
commit ca098282fdf99e10524da0d4769ddd1d987fa477
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Thu Aug 18 02:06:07 2016 +0200
#132 update for IT
commit 69440de7c423b511bd4fe5b16c7006161d31b312
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Wed Aug 17 23:50:36 2016 +0200
#132 package batch job as module for WildFly
Commit: f44c75c0c39767256f80230ac828b332022c4028
https://github.com/hibernate/hibernate-search/commit/f44c75c0c39767256f80...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/.travis.yml
M jsr352/build-config/pom.xml
M jsr352/core/pom.xml
M jsr352/core/src/main/java/org/hibernate/search/jsr352/BatchIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/JobContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/afterChunk/AfterChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/beforeChunk/BeforeChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/LuceneDocWriter.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/StepProgressSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/util/MassIndexerUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/BatchIndexingJob.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/BatchIndexingJobIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/BatchIndexingJobTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/RestartChunkIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/internal/steps/lucene/EntityReaderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionMapperTest.java
M jsr352/documentation/pom.xml
M jsr352/integrationtest/performance/pom.xml
M jsr352/integrationtest/performance/src/test/resources/META-INF/persistence.xml
M jsr352/integrationtest/wildfly/pom.xml
M jsr352/integrationtest/wildfly/src/test/resources/META-INF/persistence.xml
M jsr352/modules/pom.xml
M jsr352/modules/src/main/modules/search/jsr352/module.xml
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2594 Adjustments on JSR-352 integration
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
94dc13e12b8477b357a4d6fcb3bff3008813e73a to 6a9df85c0d7351d83e05cc7062b9a18fbb6b3701
(see git log below).
commit 6a9df85c0d7351d83e05cc7062b9a18fbb6b3701
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Thu Jan 12 13:05:47 2017 +0100
Fix a NPE when the conversion from EntityManagerFactory to SessionFactory fails
commit 596454f6d6bdfe89cf99646033e5b6a2b38d5934
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 11 17:35:15 2017 +0100
Fix the dependencies in the WildFly module
commit f25e3a21327d301bae3f4f31a0062924a6f85f0a
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 11 17:31:41 2017 +0100
Align the project version on the Hibernate Search version
This avoids some weird issues with snippets of poms copied over
from Hibernate Search.
commit 4830e5cf19a33a267c8bf7927910e0c21cda3d1c
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 11 11:43:39 2017 +0100
Upgrade to Hibernate Search 5.7.0.Beta2 / Hibernate ORM 5.2.1.Final
This will make it easier to work with SessionFactory if we have to,
because starting from Hibernate ORM 5.2 SessionFactory extends
EntityManagerFactory.
commit c903608a10f3c3db7db34ffbc693edcf7499d6a6
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Tue Jan 10 10:14:39 2017 +0100
Reduce the use of JobSEEnvironment and @PersistenceUnit to a minimum
That's because:
* JobSEEnvironment will have to be replaced by something else, see #156 .
* Injected persistence units do not work when CDI is disabled, so we
might as well only use it where it is absolutely necessary.
commit 65aa7fec8d2a0e5c35f600cb5bad9ef822a08d45
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 11 14:48:46 2017 +0100
i178 Remove "jobContextData" from the job parameters
commit db591e1c02deb1295306c9fdb7fb0bcb7cc85945
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 11 16:18:48 2017 +0100
Add missing "static" keywords
commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 11 15:17:29 2017 +0100
Also run integration tests in travis
Commit: 0ad84ead5b8069a2a8ef6a0be8154867bbe6c77c
https://github.com/hibernate/hibernate-search/commit/0ad84ead5b8069a2a8ef...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/pom.xml
M jsr352/integrationtest/performance/pom.xml
M jsr352/integrationtest/wildfly/pom.xml
M jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/RestartIT.java
M jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/test/MessageManager.java
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2594 Adjustments on JSR-352 integration
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
dba44895fa898554ddf635329d271faaf1ec5429 to 11eae4c207eac61e5ae105264fc02693db5f7faa
(see git log below).
commit 11eae4c207eac61e5ae105264fc02693db5f7faa
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: Sun Jan 22 23:30:18 2017 +0100
#184 avoid using fixed order for test executions
commit dba44895fa898554ddf635329d271faaf1ec5429
Author: Mincong HUANG <mincong-h(a)users.noreply.github.com>
Date: Mon Jan 16 10:21:35 2017 +0100
#179 clean up provided dependencies
* #72 clean up dependencies
* Clean up dependencies
- "jboss-batch-api_1.0_spec" is replaced by "javax.batch-api"
- "javax.batch-api" has scope provided, implementation depends on user's choice / platform
- "javax.batch-api" version is managed in the parent POM
* i72 Manage the scope "provided" of APIs in the parent pom
* i72 Clean up some more dependencies
* Manage the "provided" scope of APIs in the parent pom
* Manage most dependency versions in the parent pom
* Remove unneeded explicit dependencies (hibernate-entitymanager not
needed since ORM 5.2, hibernate-jpa-2.1-api not needed since we
depend on hibernate-core)
I left the explicit versioning of jberet/byteman in -core for now.
Commit: 67159479123fbda865b03f1baa72e47980ebc9b1
https://github.com/hibernate/hibernate-search/commit/67159479123fbda865b0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/.travis.yml
R jsr352/build-config/pom.xml
R jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/CommentSuppressor.java
R jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheck.java
R jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/IllegalImport.java
R jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/MatchSuppressor.java
R jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/NeverSuppress.java
R jsr352/build-config/src/main/java/org/hibernate/checkstyle/checks/regexp/StringSuppressor.java
R jsr352/build-config/src/main/java/org/hibernate/checkstyle/filters/ExcludeTestPackages.java
R jsr352/build-config/src/main/resources/checkstyle.xml
R jsr352/build-config/src/main/resources/org/hibernate/checkstyle/checks/regexp/messages.properties
R jsr352/build-config/src/main/resources/suppressions.xml
R jsr352/build-config/src/test/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheckTest.java
R jsr352/build-config/src/test/java/org/hibernate/checkstyle/checks/regexp/StringSuppressorTest.java
A jsr352/cdi/pom.xml
A jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/context/jpa/impl/CDIEntityManagerFactoryRegistry.java
A jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/massindexing/impl/CDIJobContextSetupListener.java
A jsr352/cdi/src/main/resources/META-INF/beans.xml
M jsr352/core/pom.xml
R jsr352/core/src/main/java/org/hibernate/search/jsr352/BatchIndexingJob.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/EntityManagerFactoryRegistry.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/impl/ActiveSessionFactoryRegistry.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/impl/ActiveSessionFactoryRegistryUpdater.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/impl/MutableSessionFactoryRegistry.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/JobContextData.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/JobContextSetupListener.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/se/JobSEEnvironment.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/afterChunk/AfterChunkBatchlet.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/beforeChunk/BeforeChunkBatchlet.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/CheckpointAlgorithm.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/EntityReader.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/LuceneDocProducer.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/LuceneDocWriter.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionContextData.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionMapper.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionProgress.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/ProgressAggregator.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/ProgressCollector.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/StepProgress.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/steps/lucene/StepProgressSetupListener.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/util/MassIndexerUtil.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/internal/util/PartitionBound.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJob.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/JobContextSetupListener.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextData.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/afterchunk/AfterChunkBatchlet.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/CheckpointAlgorithm.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocProducer.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocWriter.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionContextData.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionProgress.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/ProgressAggregator.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/ProgressCollector.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgress.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgressSetupListener.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/MassIndexerUtil.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/PartitionBound.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/BatchIndexingJob.xml
R jsr352/core/src/main/resources/META-INF/beans.xml
A jsr352/core/src/main/resources/META-INF/services/org.hibernate.integrator.spi.Integrator
R jsr352/core/src/test/java/org/hibernate/search/jsr352/BatchIndexingJobIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/BatchIndexingJobTest.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/JobFactory.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/RestartChunkIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/entity/Company.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/entity/Person.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/entity/WhoAmI.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/internal/steps/lucene/EntityReaderTest.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/internal/steps/lucene/PartitionMapperTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapperTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/Company.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/Person.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/WhoAmI.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobFactory.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobTestUtil.java
A jsr352/core/src/test/resources/META-INF/batch.xml
M jsr352/core/src/test/resources/META-INF/persistence.xml
M jsr352/documentation/pom.xml
M jsr352/documentation/src/main/asciidoc/user-guide.asciidoc
M jsr352/integrationtest/performance/pom.xml
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/PerformanceIT.java
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/PerformanceIT.java
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/Company.java
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/CompanyManager.java
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/Person.java
A jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/PersonManager.java
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/test/entity/Company.java
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/test/entity/CompanyManager.java
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/test/entity/Person.java
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/test/entity/PersonManager.java
M jsr352/integrationtest/performance/src/test/resources/META-INF/persistence.xml
M jsr352/integrationtest/performance/src/test/resources/arquillian.xml
M jsr352/integrationtest/performance/src/test/resources/jboss-deployment-structure.xml
M jsr352/integrationtest/wildfly/pom.xml
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/RestartIT.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/MultipleEntityManagerFactoryBeansIT.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/MultiplePersistenceUnitsIT.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/RestartIT.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/common/Message.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/common/MessageManager.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/config/MultipleEntityManagerFactoriesProducer.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/config/SingleEntityManagerFactoryProducer.java
A jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/util/JobInterruptorUtil.java
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/test/Message.java
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/test/MessageManager.java
M jsr352/integrationtest/wildfly/src/test/resources/JobInterruptor.btm
M jsr352/integrationtest/wildfly/src/test/resources/META-INF/persistence.xml
A jsr352/integrationtest/wildfly/src/test/resources/META-INF/persistence_multiple.xml
M jsr352/integrationtest/wildfly/src/test/resources/arquillian.xml
M jsr352/integrationtest/wildfly/src/test/resources/jboss-deployment-structure.xml
A jsr352/jboss-snapshots-settings.xml
M jsr352/modules/pom.xml
M jsr352/modules/src/main/assembly/dist.xml
M jsr352/modules/src/main/modules/search/jsr352/module.xml
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2594 Rework of EntityManagerFactory access in JSR-352 integration + cleanup
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
bb23592e2712e05427b019d7194ebed22e3678e9 to 5417e3bbeab1f07184022290a88a4a9ebb0b8876
(see git log below).
commit 5417e3bbeab1f07184022290a88a4a9ebb0b8876
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Feb 8 16:01:01 2017 +0100
Remove unnecessary empty lines at the top of code blocks
commit b91226c5ea1e2e8ddc31dbba15b31a2b57a13163
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Feb 8 15:51:32 2017 +0100
i175 Clearly separate massindexing-specific code using a dedicated package
commit 37299a8f92f88416bb0c562032d315e2ccd74756
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Feb 8 15:39:45 2017 +0100
Remove useless <class> tags in persistence.xml
Hibernate auto-detects entities by default, so let's not worry about
those things: it's just tests, and fqcn in text files are a pain when
refactoring.
commit 5353e39129791e7ea0f127ce684b768bfceb91e9
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Feb 8 15:00:53 2017 +0100
i175 Rename packages to follow HSearch conventions
1. No capital letters in package naming (Java convention)
2. Implementation/internal packages are named "impl" (HSearch convention)
commit 3a8f030adabc46410297d18c507592a3f669675d
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Feb 8 12:27:07 2017 +0100
i175 Set the parent project to hibernate-search-parent and take advantage of this
This removes a bunch of dependency management entries, properties, etc.
because they are already provided in hibernate-search-parent.
Other changes:
* Some forbidden uses of locale-sensitive methods had to be adapted
* WildFly deployment structure files had to be adapted to support
Hibernate ORM 5.2.7
* The build-config project was removed (we use Hibernate Search's)
commit 0feac2208643844b4514febded855077595164a5
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Mon Jan 23 16:38:35 2017 +0100
i156 Improve documentation around JobContextListener and EMFRegistries
commit 3ec1537bcce0c14c769eae8b162683a9d3ca9ac6
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Mon Jan 23 15:02:32 2017 +0100
i156 Add a missing endline in an XML file
commit 84c617ad12bbf00c92454fa82ebcea4fd7e177bc
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Thu Jan 19 19:21:10 2017 +0100
i156 Update the documentation regarding the entity manager factory selection.
commit 82835fe28b963ce6ce54da9de4c7afd0917637ec
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Thu Jan 19 19:17:35 2017 +0100
Fix the syntax of code examples in the docs (this avoids issues with empty lines)
commit 387851570992bbb0a6dedffdbd11d56765c1d8c1
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Thu Jan 19 18:32:25 2017 +0100
i156 Tweak the scope concept for EntityManagerFactory retrieval so that defaults are easier to the user
Now when no scope is provided, we will try to retrieve an entity manager
factory by any means that make sense for the current context (CDI/non-CDI):
we won't be limited by the default scope. This means in particular that
users who created a single SessionFactory using the Hibernate APIs will
still be able to use this factory as a default (before this change, only
factories created through the JPA APIs would be be detected by default).
The main change is that there is now only one registry per context
(CDI/non-CDI), allowing this registry to use more methods to get the
default entity manager factory.
Incidentally, this means that it's no longer possible to use non-CDI
scopes in a CDI environment. It doesn't seem too bad, but if necessary
we can restore the old behavior easily anyway (by making the CDI
registry delegate to the non-CDI one).
commit e0ccbc1bea7631a41b7529ddead1e5e249f8c415
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Thu Jan 19 17:01:33 2017 +0100
Update some obviously outdated code examples in the docs.
commit 1c3ed1d9719a5f7ece08a456140a5a2b82c0947f
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Thu Jan 19 16:35:39 2017 +0100
When using CDI, retrieve the EntityManagerFactory using the @PersistenceUnit annotation if there is no EntityManagerFactory.
commit 67aebc648eda2c17f15df617f7a68c5350de0cfc
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Thu Jan 19 12:42:35 2017 +0100
i156 Fix the behavior of the CDI bean-name scope for EntityManagerFactory retrieval when asking for the default EMF
We used to have an annotated @PersistenceUnit field, but:
1. This is not consistent with the behavior when asking for a specific
factory, which requires an explicit configuration of entity manager
factories.
2. More importantly, this makes injection fail where there are multiple
persistence units... Which defeats the purpose of this scope.
Also, we now test the multiple entity manager factories case separately,
so that we can notice regressions on the single entity manager factory case.
commit f23cdf607a8a3b725b5a9eaf3d229a043fd84c68
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Thu Jan 19 10:35:23 2017 +0100
Remove duplicated copies of keepTestAlive and create a test util
commit 5bcde50c49a44012f25dcb68efff9e55515cc30c
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 18 17:36:30 2017 +0100
Fix an incorrect use of @PersistenceContext(name = "h2") instead of @PersistenceContext(unitName = "h2")
commit 8f8892b876dccff672c957695e74aee6d860e16c
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 18 17:07:27 2017 +0100
i156 When not using CDI, allow to reference the entity manager factory by its PU name and make this the default
commit da7bdd74625f2e697a5a5a405fd227f15f61b058
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 18 15:27:51 2017 +0100
i156 Use our own session factory registry and avoid using the internal Hibernate ORM registry
commit 1b44d36099f4ee69f95f6f88071af29535c12793
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 18 12:13:47 2017 +0100
i156 Introduce a notion of scope for entity manager factory registries
This will allow to provide multiple options to retrieve the entity
manager:
* by session factory name
* by persistence unit name
* by bean name
* etc.
commit deca536dc997838b7f359f58bdf570230b8625b2
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 18 11:14:27 2017 +0100
i156 Revert back to using the fully-qualified name as batch artifact name for org.hibernate.search.jsr352.JobContextSetupListener
We can't use the batch.xml to provide our own artifacts, because in
standard, JavaSE applications, the user may provide its own batch.xml,
which will erase our own and make the reference to the job context setup
listener undefined.
We work around this situation by using the fully-qualified class name as
a batch artifact name, and by naming our CDI bean with this exact name.
It's a bit strange to have a bean name be a fully-qualified class name,
but it works.
commit 78c5f79c01de1a8bb25d5227bedd9c02b67a9905
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 18 10:53:39 2017 +0100
i156 Move JobContextSetupListener to a public package
... since it's supposed to be extended.
commit b2f09f635ab00cb07c9b3feb7d1cf33888aac8bd
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 18 10:49:11 2017 +0100
i156 Pass the EntityManagerFactory to the job through a string parameter
* By default, we use the Hibernate registry to retrieve the entity
manager factory, using the entityManagerFactoryReference as its name
* When using CDI, the behavior is overridden. Either there is no
entityManagerFactoryReference parameter and then we use the default entity
manager factory (if any), or there is one and then we retrieve the bean
with this name (caution, it's different from the persistence unit name!)
commit bb23592e2712e05427b019d7194ebed22e3678e9
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: Wed Jan 18 10:46:57 2017 +0100
i86 Use fully-qualified class names for batch artifact references
This way we can avoid making dependency injection mandatory.
Commit: 6840ceac599921e0e42b06ef4fbdde8795352267
https://github.com/hibernate/hibernate-search/commit/6840ceac599921e0e42b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
R jsr352/integrationtest/performance/pom.xml
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/PerformanceIT.java
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/Company.java
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/CompanyManager.java
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/Person.java
R jsr352/integrationtest/performance/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/PersonManager.java
R jsr352/integrationtest/performance/src/test/resources/META-INF/batch-jobs/make-deployment-as-batch-app.xml
R jsr352/integrationtest/performance/src/test/resources/META-INF/persistence.xml
R jsr352/integrationtest/performance/src/test/resources/arquillian.xml
R jsr352/integrationtest/performance/src/test/resources/jboss-deployment-structure.xml
R jsr352/integrationtest/performance/src/wildflyConfig/standalone/configuration/application-roles.properties
R jsr352/integrationtest/performance/src/wildflyConfig/standalone/configuration/application-users.properties
R jsr352/integrationtest/performance/src/wildflyConfig/standalone/configuration/standalone-full-testqueues.xml
M jsr352/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-2594 Remove the JSR-352 performance tests
We'll add tests to the ORM perf tests later.
Commit: 9e681e4b537bab20dc8c35e9dc7d68db85296ef8
https://github.com/hibernate/hibernate-search/commit/9e681e4b537bab20dc8c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/cdi/pom.xml
A jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/impl/HibernateSearchJobXmlResolver.java
A jsr352/cdi/src/main/resources/META-INF/services/org.jberet.spi.JobXmlResolver
M jsr352/core/pom.xml
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocWriter.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionContextData.java
R jsr352/core/src/main/resources/META-INF/services/org.jberet.spi.JobXmlResolver
M jsr352/documentation/pom.xml
M jsr352/integrationtest/wildfly/pom.xml
M jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/MultipleEntityManagerFactoryBeansIT.java
M jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/MultiplePersistenceUnitsIT.java
M jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/RestartIT.java
R jsr352/integrationtest/wildfly/src/test/resources/META-INF/batch-jobs/make-deployment-as-batch-app.xml
M jsr352/integrationtest/wildfly/src/test/resources/jboss-deployment-structure.xml
M jsr352/modules/pom.xml
M jsr352/modules/src/main/assembly/dist.xml
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2594 Upgrade the JSR-352 integration to HSearch 5.9
Also includes:
HSEARCH-2898 Expose a JBeret JobXmlResolver that implements getJobXmlNames
... so that it works with WildFly 11.
Also includes:
HSEARCH-2620 Move JBeret specific file
The file:
hibernate-search-jsr352-core/src/main/resources/META-INF/services/org.jberet.spi.JobXmlResolver
should move to the `hibernate-search-jsr352-jberet` module, because it
is an implementation-specific file. This file is required by WildFly
because our JSR-352 job is installed via a module, and it not part of a
deployment. It allows this job to be used in WildFly without asking the
user to rebuild or modify an existing JAR.
Also includes:
HSEARCH-2689 Do not use the Session in LuceneDocProducer
Passing information from one batch job component to another seems more
and more likely to be painful, so I'd rather do it only when strictly
necessary. On top of that, the current use of the session context is
dubious at best, since we put two different types of objects in
stepContext.getTransientUserData (StepProgress and
PartitionContextData). I am trying to untangle this.
Besides, we should not need the session in LuceneDocProducer, as entity
loading is supposed to be the EntityReader's responsibility.
This change required to:
* get the SearchIntegrator from something else than the session
(namely, from the EntityManagerFactory).
* not use HibernateSessionLoadingInitializer, which requires a specific
session, but rather the default initializer.
Luckily, both changes made sense regardless of the purpose of this
commit: that's probably how the doc producer should have been in the
first place.
Also includes:
HSEARCH-2898 Update JSR-352 tests to target WildFly 11
Commit: ea3a2ebe720d552968df4b4f9d36439dbb9f67cb
https://github.com/hibernate/hibernate-search/commit/ea3a2ebe720d552968df...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-2594 Include the JSR-352 integration in the main build
Commit: 287b3f91d0df07bafc52b26ee0052ace569cce99
https://github.com/hibernate/hibernate-search/commit/287b3f91d0df07bafc52...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/cdi/pom.xml
Log Message:
-----------
HSEARCH-2594 Fix the scope of maven dependencies in jsr352-cdi
Commit: e4d2233460b9ab927e15069e3ae4d5b6f0e5daab
https://github.com/hibernate/hibernate-search/commit/e4d2233460b9ab927e15...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/context/jpa/impl/CDIEntityManagerFactoryRegistry.java
M jsr352/cdi/src/main/resources/META-INF/beans.xml
M jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/impl/ActiveSessionFactoryRegistry.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/MassIndexerUtil.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapperTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobFactory.java
M jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/MultipleEntityManagerFactoryBeansIT.java
M jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/MultiplePersistenceUnitsIT.java
M jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/RestartIT.java
Log Message:
-----------
HSEARCH-2594 Fix CheckStyle issues within the JSR-352 module
Commit: 0884f1fddee611498444b015f79e3a0676ba4139
https://github.com/hibernate/hibernate-search/commit/0884f1fddee611498444...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
R jsr352/.travis.yml
R jsr352/LICENSE.txt
R jsr352/jboss-snapshots-settings.xml
Log Message:
-----------
HSEARCH-2594 Remove redundant files in JSR-352 integration
Commit: d15c14451451a188da94da7b14451e9d0b803ac6
https://github.com/hibernate/hibernate-search/commit/d15c14451451a188da94...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/integrationtest/wildfly/pom.xml
R jsr352/modules/pom.xml
R jsr352/modules/src/main/assembly/dist.xml
R jsr352/modules/src/main/modules/search/jsr352/module.xml
M jsr352/pom.xml
M modules/pom.xml
A modules/src/main/aliases/search/jsr352/module.xml
M modules/src/main/assembly/dist.xml
A modules/src/main/modules/search/jsr352/module.xml
M pom.xml
Log Message:
-----------
HSEARCH-2594 Merge JSR-352 modules project with the main one
Also, add an alias for the JSR-352 integration WildFly module
Commit: 9302b96de5c5b6295a768b7844d9be860d4ef695
https://github.com/hibernate/hibernate-search/commit/9302b96de5c5b6295a76...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/wildfly/pom.xml
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/arquillian/LoggingConfigurator.java
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoryBeansIT.java
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultiplePersistenceUnitsIT.java
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/RestartIT.java
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/test/common/Message.java
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/test/common/MessageManager.java
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/test/config/MultipleEntityManagerFactoriesProducer.java
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/test/config/SingleEntityManagerFactoryProducer.java
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/test/util/JobInterruptorUtil.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/wildfly/massindexing/DefaultTransactionTimeoutSetupTask.java
M integrationtest/wildfly/src/test/resources/arquillian.xml
A integrationtest/wildfly/src/test/resources/jboss-deployment-structure-jsr352.xml
A integrationtest/wildfly/src/test/resources/jsr352/JobInterruptor.btm
A integrationtest/wildfly/src/test/resources/jsr352/persistence.xml
A integrationtest/wildfly/src/test/resources/jsr352/persistence_multiple.xml
R jsr352/integrationtest/wildfly/pom.xml
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/MultipleEntityManagerFactoryBeansIT.java
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/MultiplePersistenceUnitsIT.java
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/RestartIT.java
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/common/Message.java
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/common/MessageManager.java
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/config/MultipleEntityManagerFactoriesProducer.java
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/config/SingleEntityManagerFactoryProducer.java
R jsr352/integrationtest/wildfly/src/test/java/org/hibernate/search/jsr352/massindexing/test/util/JobInterruptorUtil.java
R jsr352/integrationtest/wildfly/src/test/resources/JobInterruptor.btm
R jsr352/integrationtest/wildfly/src/test/resources/META-INF/persistence.xml
R jsr352/integrationtest/wildfly/src/test/resources/META-INF/persistence_multiple.xml
R jsr352/integrationtest/wildfly/src/test/resources/arquillian.xml
R jsr352/integrationtest/wildfly/src/test/resources/jboss-deployment-structure.xml
R jsr352/integrationtest/wildfly/src/wildflyConfig/standalone/configuration/application-roles.properties
R jsr352/integrationtest/wildfly/src/wildflyConfig/standalone/configuration/application-users.properties
R jsr352/integrationtest/wildfly/src/wildflyConfig/standalone/configuration/standalone-full-testqueues.xml
M jsr352/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-2594 Merge JSR-352 Wildfly IT project with the main one
Commit: 4b28ac6964ed6ff27af7aa006b96f12ecf3c4828
https://github.com/hibernate/hibernate-search/commit/4b28ac6964ed6ff27af7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJob.java
R jsr352/core/src/main/resources/META-INF/batch-jobs/BatchIndexingJob.xml
A jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2619 MassIndexingJob: Rename the job to something more specific to Hibernate Search
Also includes:
HSEARCH-2708 JSR-352: Change the mass indexing job ID following the recent job renaming
Commit: 3262b07193cc31599c5918c1ca26f0527aa7a9c6
https://github.com/hibernate/hibernate-search/commit/3262b07193cc31599c59...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoryBeansIT.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultiplePersistenceUnitsIT.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/RestartIT.java
M jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/impl/HibernateSearchJobXmlResolver.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJob.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
Log Message:
-----------
HSEARCH-2618 MassIndexingJob: Make BatchIndexingJob.Builder a *parameters* builder
Commit: 43a5f528b828b5c2b1d1c9ae036822550018ceca
https://github.com/hibernate/hibernate-search/commit/43a5f528b828b5c2b1d1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/afterchunk/AfterChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/CheckpointAlgorithm.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocWriter.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/MassIndexingPartitionProperties.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
Log Message:
-----------
HSEARCH-2625 MassIndexingJob: Use constants to hold parameter/property names
Commit: 90a4be6fb523a2bd0f6fdcc892d2bc9cb8a32e12
https://github.com/hibernate/hibernate-search/commit/90a4be6fb523a2bd0f6f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/afterchunk/AfterChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
Log Message:
-----------
HSEARCH-2629 MassIndexingJob: Improve the consistency of the parameter names with the original MassIndexer
Commit: 2c10473f2da99de9f9dfab054e7ab2a16ac53d06
https://github.com/hibernate/hibernate-search/commit/2c10473f2da99de9f9df...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/CheckpointAlgorithm.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
Log Message:
-----------
HSEARCH-2629 MassIndexingJob: Rename the itemCount parameter to checkpointInterval
Commit: dfa11d3197aee361b9c224974f0a21b5fb413668
https://github.com/hibernate/hibernate-search/commit/dfa11d3197aee361b9c2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapperTest.java
Log Message:
-----------
HSEARCH-2629 MassIndexingJob: Clearly identify parameters relative to custom querying
Commit: 8da9a7010e9beabaad34449d7a1963016363dad7
https://github.com/hibernate/hibernate-search/commit/8da9a7010e9beabaad34...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/documentation/src/main/asciidoc/index.asciidoc
R jsr352/documentation/src/main/asciidoc/user-guide.asciidoc
Log Message:
-----------
HSEARCH-2612 Move JSR352 user guide to right dir.
Commit: 4867d9a069711294cee2424dd796efbd13d856bf
https://github.com/hibernate/hibernate-search/commit/4867d9a069711294cee2...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
Log Message:
-----------
HSEARCH-2612 Update obsolete doc, enhance format
- Update obsolete description and code examples according to
modification since summer 2016.
- Enhance format using 100 characters limit, as the rest of the
document.
- Enhance format by replacing tab by 4 spaces, as other AsciiDoc files
in this folder.
Commit: 7cba69824e96d9b14f1f658d5ad77bb530e526c0
https://github.com/hibernate/hibernate-search/commit/7cba69824e96d9b14f1f...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
Log Message:
-----------
HSEARCH-2626 Correct doc about "root entity types"
Remove all mentions of "root entity types" in the doc, because it's not
the responsibility of the mass indexer to handle relationships, it is
the engine's.
Commit: fe5d99a87dffd57874146754189d3a39793fd0fb
https://github.com/hibernate/hibernate-search/commit/fe5d99a87dffd5787414...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
Log Message:
-----------
HSEARCH-2612 Reword some sections of the JSR-352 documentation
Commit: aa9d41f43ef0604b7a86dfb41ec10be5fa03f63f
https://github.com/hibernate/hibernate-search/commit/aa9d41f43ef0604b7a86...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
Log Message:
-----------
HSEARCH-2612 Rework the part about Selecting the persistence unit to promote dependency injection
Commit: 4c0595551f48dcca939fc3f7d3ea5bcf86dcbe7d
https://github.com/hibernate/hibernate-search/commit/4c0595551f48dcca939f...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobTestUtil.java
Log Message:
-----------
HSEARCH-2623 Cleanup
Commit: 0a5dbc462f7452392b499e30550b66263d3a5d3d
https://github.com/hibernate/hibernate-search/commit/0a5dbc462f7452392b49...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
Log Message:
-----------
HSEARCH-2623 Make parameters optional
Commit: 03c388f63f45ef863ccf9f36624aea2464681708
https://github.com/hibernate/hibernate-search/commit/03c388f63f45ef863ccf...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2623 Remove the obsolete isJavaSE job parameter
Commit: d41dd6ad130acf0e8d8b38b27d0682c38c77fa0a
https://github.com/hibernate/hibernate-search/commit/d41dd6ad130acf0e8d8b...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/CheckpointAlgorithm.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
R jsr352/documentation/pom.xml
R jsr352/documentation/src/main/asciidoc/developer-guide.asciidoc
R jsr352/documentation/src/main/asciidoc/index-docinfo.xml
R jsr352/documentation/src/main/asciidoc/index.asciidoc
R jsr352/documentation/src/main/asciidoc/preface.asciidoc
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2612 Move JSR-352 developer guide to javadoc and user guide
Commit: 3d61a991d38a9e84fd7bebcfaee58e90dbe73b3a
https://github.com/hibernate/hibernate-search/commit/3d61a991d38a9e84fd7b...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
Log Message:
-----------
HSEARCH-2612 Document mass indexing job parameters in a cheatsheet
Commit: 0da376f4a665b5e86c8d6a419011530bf0a8ab7d
https://github.com/hibernate/hibernate-search/commit/0da376f4a665b5e86c8d...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M copyright.txt
M documentation/src/main/asciidoc/credits.asciidoc
Log Message:
-----------
HSEARCH-2612 Add Mincong Huang as an author
Commit: 61f3b1d217c3ef0940e5a4f4fc1b4c71f8a95e2f
https://github.com/hibernate/hibernate-search/commit/61f3b1d217c3ef0940e5...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
Log Message:
-----------
HSEARCH-2612 Update Javadoc of MassIndexingJob
Commit: d176a718c10c7b3564213026888ea1017e604c56
https://github.com/hibernate/hibernate-search/commit/d176a718c10c7b356421...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
Log Message:
-----------
HSEARCH-2626 Rename 'rootEntity' to 'entityType'
Commit: 9f859577fab6415ee4e4cd9a98ddfe8100d4ff91
https://github.com/hibernate/hibernate-search/commit/9f859577fab6415ee4e4...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/context/jpa/impl/CDIEntityManagerFactoryRegistry.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/impl/ActiveSessionFactoryRegistry.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/afterchunk/AfterChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocWriter.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/ProgressAggregator.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/ProgressCollector.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgress.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgressSetupListener.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapperTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobTestUtil.java
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2627 Use a proper JBoss logger in the JSR-352 module
Commit: 00ae10c94669f3951ca4c2b84c90e716da71024f
https://github.com/hibernate/hibernate-search/commit/00ae10c94669f3951ca4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
A jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/impl/HibernateSearchJsr352Extension.java
R jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/massindexing/impl/CDIJobContextSetupListener.java
M jsr352/cdi/src/main/resources/META-INF/beans.xml
A jsr352/cdi/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
R jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/JobContextSetupListener.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2689 Retrieve the EntityManagerFactoryRegistry through injection only
... instead of relying on the JobContextSetupListener being overridden.
This will allow to move the job context setup code to a static util
class, which in turn will allow to setup the job context from multiple
classes.
This is necessary because the spec actually states that the job
context is not shared between threads (see
https://github.com/WASdev/standards.jsr352.jbatch/issues/50), meaning we
have to setup the context for each new partition.
Commit: e6a591ea82aaa12b7f9abd83a0ee2d4a3e0723ec
https://github.com/hibernate/hibernate-search/commit/e6a591ea82aaa12b7f9a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/impl/HibernateSearchJsr352Extension.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/JobContextUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2689 Take care to recreate the job context data as necessary in partitions
Commit: 81cf8c8460fe0dafa8fbc997c66309404f14e7a2
https://github.com/hibernate/hibernate-search/commit/81cf8c8460fe0dafa8fb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocWriter.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/JobContextUtil.java
Log Message:
-----------
HSEARCH-2689 Do not instantiate an entity manager unnecessarily when creating the JobContextData
Commit: cd606f74da991bbdf642a3d1dca3fc72521734db
https://github.com/hibernate/hibernate-search/commit/cd606f74da991bbdf642...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextData.java
Log Message:
-----------
HSEARCH-2689 Remove unused data from JobContextData
Commit: f77e500326078441c08e30d78bc4683fd6151d31
https://github.com/hibernate/hibernate-search/commit/f77e500326078441c08e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/JobContextUtil.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/MassIndexerUtil.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/MassIndexingPartitionProperties.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/SerializationUtil.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
Log Message:
-----------
HSEARCH-2689 Do not use JobContextData to pass the partition bounds to partitions
The JobContextData is not preserved when switching from the main thread
to a partition in JBatch, so this makes no sense. It only used to work
in JBeret by chance.
Commit: 9f1eff1cf5f5288411494e47c2495a4ba2fd75f5
https://github.com/hibernate/hibernate-search/commit/9f1eff1cf5f528841149...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
R jsr352/cdi/pom.xml
R jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/context/jpa/impl/CDIEntityManagerFactoryRegistry.java
R jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/impl/HibernateSearchJobXmlResolver.java
R jsr352/cdi/src/main/java/org/hibernate/search/jsr352/cdi/impl/HibernateSearchJsr352Extension.java
R jsr352/cdi/src/main/resources/META-INF/beans.xml
R jsr352/cdi/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
R jsr352/cdi/src/main/resources/META-INF/services/org.jberet.spi.JobXmlResolver
A jsr352/jberet/pom.xml
A jsr352/jberet/src/main/java/org/hibernate/search/jsr352/jberet/context/jpa/impl/CDIEntityManagerFactoryRegistry.java
A jsr352/jberet/src/main/java/org/hibernate/search/jsr352/jberet/impl/HibernateSearchJobXmlResolver.java
A jsr352/jberet/src/main/java/org/hibernate/search/jsr352/jberet/impl/HibernateSearchJsr352Extension.java
A jsr352/jberet/src/main/resources/META-INF/beans.xml
A jsr352/jberet/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
A jsr352/jberet/src/main/resources/META-INF/services/org.jberet.spi.JobXmlResolver
M jsr352/pom.xml
M modules/pom.xml
M modules/src/main/assembly/dist.xml
M modules/src/main/modules/search/jsr352/module.xml
M pom.xml
Log Message:
-----------
HSEARCH-2689 Rename hibernate-search-jsr352-cdi to hibernate-search-jsr352-jberet
Because we will have to make this module rely on JBeret-specific code,
namely the @JobScoped and @PartitionScoped annotations.
Commit: 7a40fbc7b232a0fee5d2a1c8b52183ba5ebacfa2
https://github.com/hibernate/hibernate-search/commit/7a40fbc7b232a0fee5d2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
A jsr352/core/src/main/java/org/hibernate/search/jsr352/inject/scope/HibernateSearchJobScoped.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/inject/scope/HibernateSearchPartitionScoped.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/jberet/pom.xml
M jsr352/jberet/src/main/java/org/hibernate/search/jsr352/jberet/impl/HibernateSearchJsr352Extension.java
Log Message:
-----------
HSEARCH-2689 Fix the scope of batch artifacts
We used to assign a Singleton scope, which is utterly wrong: those
artifacts should be instantiated at least for each job, and some should
even be instantiated for each partition.
As it happens, the "job" and "partition" scope are not defined in the
JSR-352 spec, but only in implementations... As a result:
* we have to define our own scope annotations
* we have to ask to integrators to map those scope annotations to
whatever scope is defined by their JSR-352 implementations.
* we cannot have a generic "CDI" integration anymore, but must target
the more specific "JBeret" instead.
Commit: 62f524adbb1f6440bd14f1538bb8e58eb709a797
https://github.com/hibernate/hibernate-search/commit/62f524adbb1f6440bd14...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoriesNotRegisteredAsBeansIT.java
A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoriesRegisteredAsBeansIT.java
R integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoryBeansIT.java
R integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultiplePersistenceUnitsIT.java
Log Message:
-----------
Clarify the purpose of some JSR-352 tests on Wildfly
Namely, MultipleEntityManagerFactoriesRegisteredAsBeansIT and
MultipleEntityManagerFactoriesNotRegisteredAsBeansIT.
Commit: 3f22db9fd947d552234e30f2c478d8ebeb858605
https://github.com/hibernate/hibernate-search/commit/3f22db9fd947d552234e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/pom.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
A jsr352/core/src/test/resources/META-INF/services/batch-config.properties
A jsr352/core/src/test/resources/META-INF/services/batch-services.properties
Log Message:
-----------
HSEARCH-2621 JSR-352: Switch to JBatch for JavaSE integration tests
Commit: 44f98d243a9b7f06d0ac626e9f1c0fdf3fd06c3f
https://github.com/hibernate/hibernate-search/commit/44f98d243a9b7f06d0ac...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/JobParameterValidationListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/JobParameterValidationListenerTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtilTest.java
Log Message:
-----------
HSEARCH-2638 Enhance restriction for 'checkpointInterval'
Commit: 3389e14587077bbe4d41b0a7d5e74274f59da726
https://github.com/hibernate/hibernate-search/commit/3389e14587077bbe4d41...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/afterchunk/AfterChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgressSetupListener.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/PersistenceUtil.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/SerializationUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
Log Message:
-----------
HSEARCH-2624 Add tenant ID as a new parameter
Commit: d80089bb99dbf43b102ae04dcd3fdff221c5e47b
https://github.com/hibernate/hibernate-search/commit/d80089bb99dbf43b102a...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/pom.xml
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithMultiTenancyIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobTestUtil.java
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2624 Add test for multi-tenancy
Commit: 1a604ad8e5866713aa7404225fd4363a18470921
https://github.com/hibernate/hibernate-search/commit/1a604ad8e5866713aa74...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
A jsr352/core/src/test/resources/log4j.properties
Log Message:
-----------
HSEARCH-2624 Add Log4J properties in test
Commit: d0a0dcaf10dd503c9c1a7367030bf72e3af3b032
https://github.com/hibernate/hibernate-search/commit/d0a0dcaf10dd503c9c1a...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/JobParameterValidationListenerTest.java
Log Message:
-----------
HSEARCH-2632 Only test ValidationUtils, not ValidationListener
ValidationListener only calls ValidationUtils.
Commit: aa61a06d6921863ec546b94c312af66093236279
https://github.com/hibernate/hibernate-search/commit/aa61a06d6921863ec546...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
R jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/JobParameterValidationListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2632 Use only one job-level listener
The execution order of multiple job-level listeners are not sure, so
it's preferable to use only one listener.
Commit: 5ed3347b5938fd0e996627c6164b0d27c587d5b4
https://github.com/hibernate/hibernate-search/commit/5ed3347b5938fd0e9966...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/JobContextUtil.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/SerializationUtil.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2632 Deserialize & validate parameters
Commit: 5043fd6dc8b9a9e2b52fd5dcbcad770c811fdca8
https://github.com/hibernate/hibernate-search/commit/5043fd6dc8b9a9e2b52f...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
Log Message:
-----------
HSEARCH-2632 Fix wrong key-value position
Commit: a1772a8defbd166a34ab552698d89e805c504180
https://github.com/hibernate/hibernate-search/commit/a1772a8defbd166a34ab...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/util/SerializationUtilTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtilTest.java
Log Message:
-----------
HSEARCH-2632 Test validation and de/serialization
Commit: 7d99a9b79415b61a4b6cededd29fc7bf926532af
https://github.com/hibernate/hibernate-search/commit/7d99a9b79415b61a4b6c...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/SerializationUtil.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/util/SerializationUtilTest.java
Log Message:
-----------
HSEARCH-2632 Restrict the boolean parsing
Commit: 9a8662d408e490673e4c0118174c560e11736cc5
https://github.com/hibernate/hibernate-search/commit/9a8662d408e490673e4c...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/afterchunk/AfterChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/CheckpointAlgorithm.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/JobContextUtil.java
Log Message:
-----------
HSEARCH-2632 Improve deserialization inside the batch job
Commit: 76eb9af7779102594dd6ed1ccbdfbbe21a453c4c
https://github.com/hibernate/hibernate-search/commit/76eb9af7779102594dd6...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
R jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/CheckpointAlgorithm.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2720 Remove CheckpointAlgorithm.java
The usage of class `CheckpointAlgorithm` is unnecessary, because the
checkpoint interval can be defined via attribute `item-count`, which
accepts a Job Specification Language (JSL) expression, see Spec 1.0
- §8.2.1. Syntax:
<chunk checkpoint-policy="{item|custom}"
item-count="{value}"
...
/>
Additionally, the statement `checkpoint-policy="item"` is unnecessary,
because it is the default checkpoint policy, which can be safely deleted
from the source code.
Commit: 82223ef641d698d64d5b461eb062183c9b11bd30
https://github.com/hibernate/hibernate-search/commit/82223ef641d698d64d5b...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithMultiTenancyIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobFactory.java
Log Message:
-----------
HSEARCH-2649 Retrieve JobOperator from BatchRuntime
Previously, we retrieved the JobOperator from BatchRuntime only once and
stored this reference as a variable inside the JobFactory. It aimed to
avoid the following exception:
java.util.ServiceConfigurationError:
javax.batch.operations.JobOperator:
Provider org.jberet.operations.JobOperatorImpl could not be instantiated
This happened in JBeret SE, but it does not happen in JBatch SE. There's
no evidence that the JobOperator can be retrieved once and only once
from the BatchRuntime in Java SE. So it's rather a bug of JBeret SE and
we should avoid using JobFactory, the specific workaround solution in our
codebase.
Commit: bf57dbbbc9264b5be3e2250c182490a27e870398
https://github.com/hibernate/hibernate-search/commit/bf57dbbbc9264b5be3e2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
Log Message:
-----------
HSEARCH-2758 Remove an unused method in tests
Commit: 780f41d1b0632f817d04dbb240808bb80760b97c
https://github.com/hibernate/hibernate-search/commit/780f41d1b0632f817d04...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2758 Make sure partitions know their bounds
We used to not forward the bounds to each partition, resulting in each
partition re-indexing the whole set of results...
Commit: d85de7b4383eac6a7d963d92082a400c80f09577
https://github.com/hibernate/hibernate-search/commit/d85de7b4383eac6a7d96...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
Log Message:
-----------
HSEARCH-2758 Test partitioning in JSR-352 mass indexing
Commit: 312830d18946138a89fc418c66ae5df5862edfe6
https://github.com/hibernate/hibernate-search/commit/312830d18946138a89fc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgress.java
Log Message:
-----------
HSEARCH-2758 Remove the unused "partitionTotal" in StepProgress
We never wrote to this variable, and the methods that read from it were
never called.
Commit: 8c6c846cfce041cb902b187fbabf3fe7c923e19d
https://github.com/hibernate/hibernate-search/commit/8c6c846cfce041cb902b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/ProgressAggregator.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgress.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
Log Message:
-----------
HSEARCH-2773 Move data processing out of StepProgress
The data it holds may be used for multiple purposes, so let's just move
processing code where it belongs.
Commit: 219c95f44ca701cb52c926cf2898de769c965ada
https://github.com/hibernate/hibernate-search/commit/219c95f44ca701cb52c9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgress.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapperTest.java
Log Message:
-----------
HSEARCH-2773 JSR-352: Ensure the first partition always has 'rowsPerPartition' elements
Commit: 6ccc82dd023fd1cd20c826c52ffb15cab250db64
https://github.com/hibernate/hibernate-search/commit/6ccc82dd023fd1cd20c8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
Log Message:
-----------
HSEARCH-2773 JSR-352 Move the javadoc about partitions to PartitionMapper
Commit: 58abee62e7f3afcc97ba1019da8c0c6c2eed82aa
https://github.com/hibernate/hibernate-search/commit/58abee62e7f3afcc97ba...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2707 Review the default values of job params
Values mapping between MassIndexerImpl and JSR-352:
MassIndexerImpl JSR-352 JSR-352
Indexing Job Default Value
----- ----- -----
typesToIndexInParallel - -
documentBuilderThreads maxThreads 10 *
- checkpointInterval 200 *
- rowsPerPartition 1000 *
objectsLimit customQueryLimit - *
optimizeAtEnd optimizeOnFinish true
purgeAtStart purgeAllOnStart true
optimizeAfterPurge optimizeAfterPurge true
idFetchSize fetchSize 100
objectLoadingBatchSize - -
tenantIdentifier tenandId -
idLoadingTransactionTimeout (coming soon) -
(*) means the new value is different from the previous value in
MassIndexerImpl.
---
Parameters Explanation
Parameter `rowsPerPartition`, default value is 1000:
- Above 10,000 entities (about 10 partitions), indexing should keep
all the threads busy during most of the execution to avoid thread
starvation.
- Below 10,000 entities, indexing probably doesn't require much
optimization.
- It allows to choose a high checkpointInterval values, such as 100
Parameter `checkpointInterval`, default value is 200:
- Each checkpoint requires a database access to write the current
state of the work, so we need to avoid using low values.
Parameter `maxThreads`, default value is 10:
- Note the batch runtime cannot guarantee the requested number of
threads are available; it will use as many as it can up to the
requested maximum.
Parameter `customQueryLimit`, default value is N/A:
- It means that there's no limit by default.
Commit: 3f3fe88f420ead3f7900b8fcb713d85845e2feeb
https://github.com/hibernate/hibernate-search/commit/3f3fe88f420ead3f7900...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2803 Change the default value of maxThreads
Job parameter `maxThreads` is used to specify the maximum number of
threads on which to execute the partitions of 2nd step: the production
of Lucene documents. The default was set to 10 be default; now, the
default value is the number of partitions, which is more aggressive.
Note the batch runtime cannot guarantee the requested number of threads
are available; it will use as many as it can up to the requested
maximum.
Commit: c7383289583aa6c1b2341d3c35cd34d2121df112
https://github.com/hibernate/hibernate-search/commit/c7383289583aa6c1b234...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoriesNotRegisteredAsBeansIT.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/EntityManagerFactoryRegistry.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/impl/ActiveSessionFactoryRegistry.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/JobContextUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
M jsr352/jberet/src/main/java/org/hibernate/search/jsr352/jberet/context/jpa/impl/CDIEntityManagerFactoryRegistry.java
Log Message:
-----------
HSEARCH-2672 Rename: entityManagerFactory{Scope -> Namespace}
Because "scope" has a different meaning for CDI in particular, so it's
a bit confusing.
Commit: 6a49876dd2c4420d86b204824ea46f35843f853d
https://github.com/hibernate/hibernate-search/commit/6a49876dd2c4420d86b2...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
Log Message:
-----------
HSEARCH-2613 Document the limit of indexing through HQL
Commit: 48c3fae9cd1a527e09f80e68c3a6fd3d71e60a4a
https://github.com/hibernate/hibernate-search/commit/48c3fae9cd1a527e09f8...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
Log Message:
-----------
HSEARCH-2613 Refactor param 'maxResultsPerEntity'
- Rename parameter `customQueryLimit` to `maxResultsPerEntity`
- Update related logic in Java
- Update Javadoc
- Update AsciiDoc
Commit: 7380a585e2494528c101914572a00731ac976724
https://github.com/hibernate/hibernate-search/commit/7380a585e2494528c101...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/IndexScope.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/PersistenceUtil.java
Log Message:
-----------
HSEARCH-2613 Use enum IndexScope
which allows to clarify the implementation of different workflows.
In particular, it clarifies that the parameter `maxResultsPerEntity`
is not only used in customized index scopes (CRITERIA, HQL), but
also used in the full index scope (FULL_ENTITY).
Commit: c8a37718dcc98e3083bd4239539cc402864b380e
https://github.com/hibernate/hibernate-search/commit/c8a37718dcc98e3083bd...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/RestartIT.java
Log Message:
-----------
HSEARCH-2613 Fix test logic for job restarting using HQL
Commit: 75f087aafc2758e78a6a08957c873387d733b457
https://github.com/hibernate/hibernate-search/commit/75f087aafc2758e78a6a...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/RestartIT.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocWriter.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/MassIndexingPartitionProperties.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/PartitionBound.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
Log Message:
-----------
HSEARCH-2613 Job should restart correctly under HQL
Commit: f60ea440b2ea634587856513d204e08ab03d19b4
https://github.com/hibernate/hibernate-search/commit/f60ea440b2ea63458785...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionProgress.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgress.java
Log Message:
-----------
HSEARCH-2613 Use another logic for HQL progress monitoring
Commit: ca4d331813a123b05043c1fb17320eeec535986b
https://github.com/hibernate/hibernate-search/commit/ca4d331813a123b05043...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/PartitionBound.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/PersistenceUtil.java
Log Message:
-----------
HSEARCH-2615 Handle sorting and partitioning on @IdClass & @EmbeddedId
Commit: 36c7cb37b997ed0a7957664f0c182adeffb993db
https://github.com/hibernate/hibernate-search/commit/36c7cb37b997ed0a7957...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithCompositeIdTest.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/bridge/DateIdBridge.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/EntityWithEmbeddedId.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/EntityWithIdClass.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/id/DatePK.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/id/EmbeddableDateId.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobTestUtil.java
M jsr352/core/src/test/resources/META-INF/persistence.xml
Log Message:
-----------
HSEARCH-2615 Test sorting and partitioning on @IdClass & @EmbeddedId
Commit: 04238c3b7e0de7c2d39310dbaaa879ccfe60deed
https://github.com/hibernate/hibernate-search/commit/04238c3b7e0de7c2d393...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocWriter.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/CompositeIdOrder.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/EntityTypeDescriptor.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/IdOrder.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/JobContextUtil.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/PersistenceUtil.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/SingularIdOrder.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapperTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobTestUtil.java
Log Message:
-----------
HSEARCH-2615 Cache Hibernate ORM metadata (ID order etc.) as much as possible
So that we'll avoid checking out the metadata for every single query.
This cache will be most effective on JSR-352 runtimes that actually share
the job context between partitions, such as JBeret; others such as
JBatch force us to rebuild the context for each partition, in which case
the only benefic will be to only rebuild the metadata once for both
the "greater-or-equal" and "lesser" restrictions.
Commit: 4dce13ccbd6ec7cf74af407de89ae87b33597c9a
https://github.com/hibernate/hibernate-search/commit/4dce13ccbd6ec7cf74af...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/CompositeIdOrder.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/IdOrder.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/PersistenceUtil.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/SingularIdOrder.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobTestUtil.java
Log Message:
-----------
HSEARCH-2615 Use Hibernate ORM APIs/SPIs to retrieve ID property values
This should avoid problems in particular cases where some property names
are ambiguous if we don't take Hibernate ORM's access mode into account.
Commit: 6cea9c78f81ed9658e5e9fb6e78fc1cc1ee31aaf
https://github.com/hibernate/hibernate-search/commit/6cea9c78f81ed9658e5e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/CompositeIdOrder.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithCompositeIdTest.java
Log Message:
-----------
HSEARCH-2615 Clarify that Restrictions.ge et al. don't work well on composite IDs
Commit: 1ad866d81c4720f6f066f5fb5d4c89ed6a282d8a
https://github.com/hibernate/hibernate-search/commit/1ad866d81c4720f6f066...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithCompositeIdTest.java
Log Message:
-----------
HSEARCH-2615 Ensure there's always more than 1 partition in MassIndexingJobWithCompositeIdTest
Commit: a41719b26c32112d0e5d90974dd6d6e6dfc60347
https://github.com/hibernate/hibernate-search/commit/a41719b26c32112d0e5d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/CompositeIdOrder.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithCompositeIdTest.java
Log Message:
-----------
HSEARCH-2615 Fix the greater-or-equal operator for CompositeIdOrder
With PX as the property names, and VX as those properties' values
in the compared ID, we used to translate the greater-or-equal operator
as P1 >= V1 OR P1 = V1 AND P2 >= V2,
but that's absurd as it's equivalent to P1 >= V1 (the first clause
will always be true if the second one is true).
The actual condition we were looking for was
P1 > V1 OR P1 = V1 AND P2 > V2 OR P1 = V1 AND P2 = V2.
This commit also slightly changes the tests in order to
reproduce the bug, which used to happen in
MassIndexingJobWithCompositeIdTest.canHandleIdClass_strategyFull()
for instance, where partitions 2 ([2017-06-14,2017-07-20[) and
3 ([2017-07-20,2017-06-27[) both processed the date 2017-06-20
(with the lexicographical order ("day", "month", "year").
Commit: e219c8b4b920450b52cb0b8551b618d82e25bd6a
https://github.com/hibernate/hibernate-search/commit/e219c8b4b920450b52cb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/CompositeIdOrder.java
Log Message:
-----------
HSEARCH-2615 Fix typos in CompositeIdOrder
Commit: a1e3c28ff2bdefa845c3554cfc05a6db4b116c54
https://github.com/hibernate/hibernate-search/commit/a1e3c28ff2bdefa845c3...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
Log Message:
-----------
HSEARCH-2824 Update example usage of Mass Indexing Job
Commit: 0f3d3066620a5fca04bbaa3c830fab63c5ef3244
https://github.com/hibernate/hibernate-search/commit/0f3d3066620a5fca04bb...
Author: Mincong HUANG <mincong.h(a)gmail.com>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
Log Message:
-----------
HSEARCH-2786 Split 'fetchSize' into 2 parameters
Commit: 000091927930eb27c3cc67e4d284a42c14d180f5
https://github.com/hibernate/hibernate-search/commit/000091927930eb27c3cc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/CompanyGroup.java
Log Message:
-----------
HSEARCH-2637 JSR-352: use an actual Session in EntityReader
... instead of a StatelessSession which doesn't support collection
loading, for instance. Which prevented indexing to work on collections
until now.
Commit: 31fdfbfa4f094099729bb888e238cff716881e6e
https://github.com/hibernate/hibernate-search/commit/31fdfbfa4f094099729b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/SerializationUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
Log Message:
-----------
HSEARCH-2637 JSR-352: Replace the 'cacheable' parameter by 'cacheMode'
Using query.setCacheable offers no benefit in our case, since it only
caches the result of a query in case the same query is executed again
later, which we never do.
CacheMode, on the other hand, is already available on the older mass
indexer and may be of interest.
Commit: 28dbc791fcbe4439fdc16e03d9bbe81d5913a448
https://github.com/hibernate/hibernate-search/commit/28dbc791fcbe4439fdc1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/DefaultElasticsearchClientFactoryTest.java
M engine/src/test/java/org/hibernate/search/test/backend/lucene/ResourcesClosedInOrderTest.java
M engine/src/test/java/org/hibernate/search/test/searchfactory/SearchFactoryTest.java
M engine/src/test/java/org/hibernate/search/testsupport/BytemanHelper.java
M orm/src/test/java/org/hibernate/search/test/configuration/integration/HibernateSearchSessionFactoryObserverTest.java
M orm/src/test/java/org/hibernate/search/test/query/initandlookup/CriteriaObjectInitializerAndHierarchyInheritanceTest.java
M orm/src/test/java/org/hibernate/search/test/query/initandlookup/ObjectLookupAndDatabaseRetrievalConfigurationTest.java
M orm/src/test/java/org/hibernate/search/test/query/objectloading/ObjectLoaderHelperTest.java
M orm/src/test/java/org/hibernate/search/test/query/timeout/JPATimeoutTest.java
Log Message:
-----------
HSEARCH-2616 Use a constant to refer to our byteman helper
Commit: c6258c14589294d9e93e5422fe4acf3033ec067a
https://github.com/hibernate/hibernate-search/commit/c6258c14589294d9e93e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocProducer.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocWriter.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2616 JSR-352: Implement checkpoints so as to recover correctly from failures
The only safe strategy (at least for now) is to use update works instead
of add works for the first set of writes of every writer.
This could be optimized if we had some way to check wether we are indeed
restarting or we are performing the very first run.
Then we could avoid using update works on the very first job execution.
Unfortunately, if a failure occurs during the very first set of writes
(before the first checkpoint), the JSR-352 won't give us any clue when
restarting: it will be as if it was the very first execution.
Another option would be to perform a search query on the very first
write, checking whether the elements we're about to write are already in
the index or not, and choosing between update or add works accordingly.
This would at least allow us to only execute one search query for all
the documents in this first set of writes, instead of one query per
document. The query would be more complex though (with junctions), so
I'm not sure it would actually be faster. We could give it a try,
though.
Commit: c6d90c8e48f375c4a96cc7675db12e8beb9a15dd
https://github.com/hibernate/hibernate-search/commit/c6d90c8e48f375c4a96c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
Log Message:
-----------
HSEARCH-2616 JSR-352: Test restart behavior upon failure
We used to add some documents to the index twice, but it's no longer the
case.
Commit: ea3189dc36d88cbbdf57c060e27be8c89e7b3ada
https://github.com/hibernate/hibernate-search/commit/ea3189dc36d88cbbdf57...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
Log Message:
-----------
HSEARCH-2616 JSR-352: Update the docs to mention that there is now some overhead in starting a partition
Commit: 9c1c7394ebcd09c2963b321be30762cc48d0861e
https://github.com/hibernate/hibernate-search/commit/9c1c7394ebcd09c2963b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/afterchunk/AfterChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
Log Message:
-----------
HSEARCH-2673 JSR-352: Throw exceptions or use addSuppressed instead of logging them in finally blocks
Commit: ea4e402fd1d991e8c01ae3918047796dd2f3ab8b
https://github.com/hibernate/hibernate-search/commit/ea4e402fd1d991e8c01a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoriesNotRegisteredAsBeansIT.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoriesRegisteredAsBeansIT.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/RestartIT.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/test/common/MessageManager.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/test/config/MultipleEntityManagerFactoriesProducer.java
R integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/test/config/SingleEntityManagerFactoryProducer.java
R integrationtest/wildfly/src/test/resources/jsr352/persistence.xml
R integrationtest/wildfly/src/test/resources/jsr352/persistence_multiple.xml
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithCompositeIdTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapperTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtilTest.java
M jsr352/core/src/test/resources/META-INF/persistence.xml
Log Message:
-----------
HSEARCH-2919 Clean up JSR-352 tests
In particular:
* some settings were unnecessary (flush mode, ...)
* a class was not being used at all
* some names were not appropriate ("h2" as a persistence unit name)
* some tests were using static variables
* some tests were not closing their resources
* WildFly ITs were not defining their persistence.xml programmatically like
every other WildFly IT
* BatchIndexingJobIT was performing unnecessary purges
* BatchIndexingJobIT tests was only testing single-chunk jobs
Commit: cdddf2165a6ba6cda2c296656ecc0e84a7e224f2
https://github.com/hibernate/hibernate-search/commit/cdddf2165a6ba6cda2c2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
Log Message:
-----------
HSEARCH-2919 Test the maxResultsPerEntity parameter in JSR-352 mass indexer
Commit: c03a3a89e7aceed7f7be52b689c798c867965a44
https://github.com/hibernate/hibernate-search/commit/c03a3a89e7aceed7f7be...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/AbstractBatchIndexingIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
A jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/EntityManagerFactoryRetrievalIT.java
Log Message:
-----------
HSEARCH-2919 Clearly separate JSR-352 entity manager factory retrieval ITs
They are very specific, so it should be clearer that way.
Commit: 84aef800f4c1106d08d91aafbaf1a3b65ea2ec8b
https://github.com/hibernate/hibernate-search/commit/84aef800f4c1106d08d9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
Log Message:
-----------
HSEARCH-2920 Remove a useless session creation in JSR-352 mass indexer
Commit: fd0249ce8debaec51ec7821916db9c0efb4e21c3
https://github.com/hibernate/hibernate-search/commit/fd0249ce8debaec51ec7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
Log Message:
-----------
HSEARCH-2920 Correctly handle session closing in BeforeChunkBatchlet
The stop() method will not be called systematically at the end, it will
just be called when the user explicitly requests to stop the job.
So we should take care of closing the session through other means.
Commit: be8cb6822f676712de7ced37f3787e62efcfad07
https://github.com/hibernate/hibernate-search/commit/be8cb6822f676712de7c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
Log Message:
-----------
HSEARCH-2920 Remove an unnessary use of private API in the JSR-352 BeforeChunkBatchlet
Commit: 09bbd591a08ed1b73dd0895a7d40f476d415dda1
https://github.com/hibernate/hibernate-search/commit/09bbd591a08ed1b73dd0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
Log Message:
-----------
HSEARCH-2917 Actually execute purges in JSR-352 mass indexing
They used to be skipped because the transaction context was never
closed.
Commit: 1c7c77622e5b6c8ca846fe2cb417ed471c253650
https://github.com/hibernate/hibernate-search/commit/1c7c77622e5b6c8ca846...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/AbstractBatchIndexingIT.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
Log Message:
-----------
HSEARCH-2917 Test purges in JSR-352 mass indexing
Commit: a7ab69be62db33c2a321269617a7fd5531aa79d4
https://github.com/hibernate/hibernate-search/commit/a7ab69be62db33c2a321...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
Log Message:
-----------
HSEARCH-2911 Fix scroll mode in JSR-352 PartitionMapper
We need ScrollMode.SCROLL_* because we don't just iterate over each and
every result, essentially we peek over each n-th element and thus
advance by blocks of n elements.
Commit: d589631eddb266693ca74651d4a7c399c56a318f
https://github.com/hibernate/hibernate-search/commit/d589631eddb266693ca7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/PersistenceUtil.java
Log Message:
-----------
HSEARCH-2911 Avoid flushes and locks in JSR-352 mass indexer when reading data
We do the same in the non-JSR-352 MassIndexer.
Commit: cfb36c750e7ae1ca979137ffa27e8426d4d6f2a4
https://github.com/hibernate/hibernate-search/commit/cfb36c750e7ae1ca9791...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/LuceneDocWriter.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionContextData.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionProgress.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgress.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/CompositeIdOrder.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/IdOrder.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/SingularIdOrder.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2911 Use one session/scroll per chunk in JSR-352 mass indexer
The JSR-352 spec clearly states that one (JTA) transaction is created
per chunk, and this transaction is committed just after the chunk.
For that reason, re-using a scroll outside a chunk's boundaries will
lead to errors with some databases (PostgreSQL for example), because the
scroll is cleared on the server side when the transaction is committed.
Strangely, H2 seems to be supporting this just fine, but it's not
something we can rely on.
As a result, I had to adjust the way custom HQL queries are handled. In
that mode, we used to run a single query for the whole mass indexing,
but this is no longer possible since we have to split the processing in
as many transactions as there are chunks.
I ended up storing the index of the last result processed in each chunk,
and using that as an offset for the query for the next chunk. This is
admittedly not a perfect solution, but I can't see a better one for now.
Commit: 1b4d1bc4fd42ffa76f06697434bfd5ee36274e26
https://github.com/hibernate/hibernate-search/commit/1b4d1bc4fd42ffa76f06...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoriesNotRegisteredAsBeansIT.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoriesRegisteredAsBeansIT.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/RestartIT.java
M jsr352/core/pom.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithMultiTenancyIT.java
M jsr352/core/src/test/resources/META-INF/persistence.xml
A jsr352/core/src/test/resources/hibernate.properties
Log Message:
-----------
HSEARCH-2911 Take database profiles into account in JSR-352 tests
Commit: eac725266c93eb859b69cdbcb7e153c5a74a9eef
https://github.com/hibernate/hibernate-search/commit/eac725266c93eb859b69...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoriesNotRegisteredAsBeansIT.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/MultipleEntityManagerFactoriesRegisteredAsBeansIT.java
M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/jsr352/massindexing/RestartIT.java
Log Message:
-----------
HSEARCH-2911 Remove unnecessary connection handling configuration in JSR-352 tests
Commit: ccecb86940206b635ae44855ce7b87ef00e90087
https://github.com/hibernate/hibernate-search/commit/ccecb86940206b635ae4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/afterchunk/AfterChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/beforechunk/BeforeChunkBatchlet.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/MassIndexingPartitionProperties.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/SerializationUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapperTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/util/SerializationUtilTest.java
Log Message:
-----------
HSEARCH-2914 Move the default JSR-352 mass indexer parameter values to constants
This way, we only define them in one place (and in the documentation,
obviously), instead of defining them in multiple places the job's
XML file *and* in comments in the parameter builder.
Commit: 54d045e9961b0c3dd0f63dd6627ac3187da8c0de
https://github.com/hibernate/hibernate-search/commit/54d045e9961b0c3dd0f6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapperTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtilTest.java
Log Message:
-----------
HSEARCH-2914 Make checkpoint interval validation/defaults smarter
1. A value equal to rowsPerPartition does make sense.
2. The parameter builder should take default values into account when
validating (as the JobContextSetupListener already does).
3. checkpointInterval should default to the value of rowsPerPartition
when it is smaller than the static default (currently 200)
Commit: 48f3b8f6422780f62bfef80620bf54df9415b230
https://github.com/hibernate/hibernate-search/commit/48f3b8f6422780f62bfe...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
Log Message:
-----------
HSEARCH-2914 Add missing test for JSR-352 MassIndexingJob#ParametersBuilder#checkInterval()
Commit: daa75523eb36e61cf09be7c9f51adb87a68569c5
https://github.com/hibernate/hibernate-search/commit/daa75523eb36e61cf09b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/pom.xml
M jsr352/pom.xml
Log Message:
-----------
HSEARCH-2594 Adjust naming of JSR-352 Maven artifacts
Commit: 1e950f48a8c7b441fa79a28c86ed6ce87e4e2a2d
https://github.com/hibernate/hibernate-search/commit/1e950f48a8c7b441fa79...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/ProgressAggregator.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgress.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgressSetupListener.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
Log Message:
-----------
HSEARCH-2918 Take criteria/HQL into account in StepProgressSetupListener
Commit: 97a0dd324a9626cef7f64df6b76f79b1fce4f723
https://github.com/hibernate/hibernate-search/commit/97a0dd324a9626cef7f6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/performance/orm/readme.md
R integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/FileSystemDefaultTestScenario.java
A integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/FileSystemNearRealTimeReadWriteTestScenario.java
R integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/FileSystemNearRealTimeTestScenario.java
A integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/FileSystemReadWriteTestScenario.java
A integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/FileSystemSessionMassIndexerTestScenario.java
A integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/SessionMassIndexerTestScenario.java
M integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/TestContext.java
M integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/TestExecutor.java
M integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/TestScenarioFactory.java
A integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/task/SessionMassIndexerTask.java
Log Message:
-----------
HSEARCH-2609 Add a session-scoped (non-jsr352) MassIndexer scenario in ORM perf tests
Commit: a2472bbbedbd5276cd26acbe8cce216f6c2d63dc
https://github.com/hibernate/hibernate-search/commit/a2472bbbedbd5276cd26...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/performance/orm/pom.xml
M integrationtest/performance/orm/readme.md
M integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/TestRunnerArquillian.java
A integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/FileSystemJsr352MassIndexerTestScenario.java
A integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/Jsr352MassIndexerTestScenario.java
M integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/scenario/TestScenarioFactory.java
A integrationtest/performance/orm/src/test/java/org/hibernate/search/test/performance/task/Jsr352MassIndexerTask.java
A integrationtest/performance/orm/src/test/resources/META-INF/services/batch-config.properties
A integrationtest/performance/orm/src/test/resources/META-INF/services/batch-services.properties
A integrationtest/performance/orm/src/test/resources/jboss-deployment-structure.xml
Log Message:
-----------
HSEARCH-2609 Add a JSR-352 MassIndexer scenario in ORM perf tests
Commit: 8dcae40073b4a20495f41068c1376e8fd07c9a46
https://github.com/hibernate/hibernate-search/commit/8dcae40073b4a20495f4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/logging/impl/Log.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtil.java
M jsr352/core/src/main/resources/META-INF/batch-jobs/hibernate-search-mass-indexing.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParametersBuilderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReaderTest.java
M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtilTest.java
Log Message:
-----------
HSEARCH-2609 Add periodic session clearing during chunks in JSR-352 mass indexer
Since we flush to the index at the end of each chunk, and an index flush
requires to hold a global lock on the index writer, it is not a sensible
strategy to just use small chunks.
Introducing periodic session clears during the processing of a chunk
will allow to raise the checkpoint interval without running out of memory,
and thus to flush to the index less often. This gives a huge
performance boost (indexing time divided by two on the ORM mass indexing
performance test with PostgreSQL on my machine).
Commit: 0e4e176e6718aaf213e38637d91eab6ab9d59d66
https://github.com/hibernate/hibernate-search/commit/0e4e176e6718aaf213e3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobParameters.java
Log Message:
-----------
HSEARCH-2609 Update default JSR-352 mass indexer parameter values following performance tests
Turns out having a high chunk size provides a huge performance boost,
provided we also have a low session clear interval to keep memory
consumption low.
On my machine, running the ORM performance test against a PostgreSQL
database with the FileSystemJsr352MassIndexerTestScenario, the indexing
time dropped from 3min20s to 1min20s, becoming comparable to that of the
older mass indexer, so it's quite encouraging.
Commit: c7a8067b32ad8e08c01b3f8de7a0c3f18b50b761
https://github.com/hibernate/hibernate-search/commit/c7a8067b32ad8e08c01b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/performance/orm/pom.xml
M integrationtest/wildfly/pom.xml
Log Message:
-----------
HSEARCH-2609 Make sure that Wildfly modules are re-built when re-building ITs
Commit: d8fcf63f42a0d0578447e8c7b0d63e8d72c3aa86
https://github.com/hibernate/hibernate-search/commit/d8fcf63f42a0d0578447...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
A jenkins/performance-orm.groovy
Log Message:
-----------
HSEARCH-2609 Add a JenkinsFile for ORM performance tests
Commit: 5330a1292778e45b0540db6f3e62e27bc01ee4c1
https://github.com/hibernate/hibernate-search/commit/5330a1292778e45b0540...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/elasticsearch/pom.xml
M pom.xml
Log Message:
-----------
HSEARCH-2900 Move Elasticsearch plugin configuration to the parent pom
So that any module can use features such as purges in integration tests.
Commit: 17a6744a38010f78a68dcdbb5f719841a9188061
https://github.com/hibernate/hibernate-search/commit/17a6744a38010f78a68d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
A integrationtest/jsr352/pom.xml
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/AbstractBatchIndexingIT.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/EntityManagerFactoryRetrievalIT.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithCompositeIdIT.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithMultiTenancyIT.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/bridge/DateIdBridge.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/Company.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/CompanyGroup.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/EntityWithEmbeddedId.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/EntityWithIdClass.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/Person.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/WhoAmI.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/id/DatePK.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/id/EmbeddableDateId.java
A integrationtest/jsr352/src/test/resources/META-INF/batch.xml
A integrationtest/jsr352/src/test/resources/META-INF/persistence.xml
A integrationtest/jsr352/src/test/resources/META-INF/services/batch-config.properties
A integrationtest/jsr352/src/test/resources/META-INF/services/batch-services.properties
A integrationtest/jsr352/src/test/resources/hibernate.properties
A integrationtest/jsr352/src/test/resources/log4j.properties
M jsr352/core/pom.xml
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/AbstractBatchIndexingIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/EntityManagerFactoryRetrievalIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithCompositeIdTest.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithMultiTenancyIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/bridge/DateIdBridge.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/CompanyGroup.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/EntityWithEmbeddedId.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/EntityWithIdClass.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/WhoAmI.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/id/DatePK.java
R jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/id/EmbeddableDateId.java
R jsr352/core/src/test/resources/META-INF/batch.xml
M jsr352/core/src/test/resources/META-INF/persistence.xml
R jsr352/core/src/test/resources/META-INF/services/batch-config.properties
R jsr352/core/src/test/resources/META-INF/services/batch-services.properties
R jsr352/core/src/test/resources/hibernate.properties
R jsr352/core/src/test/resources/log4j.properties
M pom.xml
Log Message:
-----------
HSEARCH-2900 Move JSR-352 integration tests to a separate module
Hopefully this will shield us from cyclic dependency issues in the
future, like those we had with the Elasticsearch integration tests.
Commit: c66cacc03f6a6270b01843c62979927b598781aa
https://github.com/hibernate/hibernate-search/commit/c66cacc03f6a6270b018...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M integrationtest/jsr352/pom.xml
M integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/AbstractBatchIndexingIT.java
M integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithCompositeIdIT.java
M integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithMultiTenancyIT.java
M integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/RestartChunkIT.java
M integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/test/bridge/DateIdBridge.java
A integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/test/util/PersistenceUnitTestUtil.java
M integrationtest/jsr352/src/test/resources/META-INF/persistence.xml
M jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobTestUtil.java
Log Message:
-----------
HSEARCH-2900 Also run JSR-352 integration tests against the Elasticsearch integration
Commit: dca0014fc5d6cff74ff1d309cb4cb84e4b591666
https://github.com/hibernate/hibernate-search/commit/dca0014fc5d6cff74ff1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
R jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/EntityManagerFactoryRegistry.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/impl/MutableSessionFactoryRegistry.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/context/jpa/spi/EntityManagerFactoryRegistry.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/inject/scope/HibernateSearchJobScoped.java
R jsr352/core/src/main/java/org/hibernate/search/jsr352/inject/scope/HibernateSearchPartitionScoped.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/inject/scope/spi/HibernateSearchJobScoped.java
A jsr352/core/src/main/java/org/hibernate/search/jsr352/inject/scope/spi/HibernateSearchPartitionScoped.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/JobContextSetupListener.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/JobContextUtil.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/util/ValidationUtil.java
M jsr352/jberet/src/main/java/org/hibernate/search/jsr352/jberet/context/jpa/impl/CDIEntityManagerFactoryRegistry.java
M jsr352/jberet/src/main/java/org/hibernate/search/jsr352/jberet/impl/HibernateSearchJsr352Extension.java
Log Message:
-----------
HSEARCH-2924 Move JSR-352 SPI classes to properly named (*.spi) packages
Commit: 2bcf160fa7b80fa94734705d593e3cbb50ee7aa5
https://github.com/hibernate/hibernate-search/commit/2bcf160fa7b80fa94734...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/PartitionMapper.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/StepProgressSetupListener.java
Log Message:
-----------
HSEARCH-2910 JSR-352: Avoid logging warnings caused by internal usage of the legacy Criteria API
Commit: 3e17bb3d76a3d2ffbb5a0af49c994e2d3ba7b0c1
https://github.com/hibernate/hibernate-search/commit/3e17bb3d76a3d2ffbb5a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/manual-index.asciidoc
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/MassIndexingJob.java
M jsr352/core/src/main/java/org/hibernate/search/jsr352/massindexing/impl/steps/lucene/EntityReader.java
Log Message:
-----------
HSEARCH-2925 JSR-352: Use "sessionClearInterval" rather than "checkpointInterval" as a default for "entityFetchSize"
Commit: 3e74c1dd946ef08b091ba4911f8a7482d2f7b39f
https://github.com/hibernate/hibernate-search/commit/3e74c1dd946ef08b091b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M jsr352/README.md
Log Message:
-----------
HSEARCH-2594 Update the JSR-352 README
Compare: https://github.com/hibernate/hibernate-search/compare/a0a8f30ea256...3e74...
7 years, 1 month
[hibernate/hibernate-search] 6d6239: [Jenkins release job] README.md updated by release...
by GitHub
Branch: refs/heads/5.7
Home: https://github.com/hibernate/hibernate-search
Commit: 6d6239443342be8971a7e0749917e9fa39cf527f
https://github.com/hibernate/hibernate-search/commit/6d6239443342be8971a7...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M README.md
Log Message:
-----------
[Jenkins release job] README.md updated by release build 5.7.3.Final
Commit: f44a2231e23960177e978556de301f0b81d75e95
https://github.com/hibernate/hibernate-search/commit/f44a2231e23960177e97...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M changelog.txt
Log Message:
-----------
[Jenkins release job] changelog.txt updated by release build 5.7.3.Final
Commit: 336bb9d5b3c46a6cc9bdfca109376e9a78712a67
https://github.com/hibernate/hibernate-search/commit/336bb9d5b3c46a6cc9bd...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M backends/jgroups/pom.xml
M backends/jms/pom.xml
M build-config/pom.xml
M distribution/pom.xml
M documentation/pom.xml
M elasticsearch/pom.xml
M engine/pom.xml
M infinispan/pom.xml
M integrationtest/engine-performance/pom.xml
M integrationtest/jms/pom.xml
M integrationtest/narayana/pom.xml
M integrationtest/osgi/karaf-features/pom.xml
M integrationtest/osgi/karaf-it/pom.xml
M integrationtest/performance/pom.xml
M integrationtest/sandbox/pom.xml
M integrationtest/spring/pom.xml
M integrationtest/wildfly/pom.xml
M legacy/pom.xml
M modules/pom.xml
M orm/pom.xml
M pom.xml
M serialization/avro/pom.xml
M sharedtestresources/pom.xml
M testing/pom.xml
Log Message:
-----------
[Jenkins release job] Preparing release 5.7.3.Final
Commit: 719ad080a6ba7585108370987a33438625c359b6
https://github.com/hibernate/hibernate-search/commit/719ad080a6ba75851083...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M backends/jgroups/pom.xml
M backends/jms/pom.xml
M build-config/pom.xml
M distribution/pom.xml
M documentation/pom.xml
M elasticsearch/pom.xml
M engine/pom.xml
M infinispan/pom.xml
M integrationtest/engine-performance/pom.xml
M integrationtest/jms/pom.xml
M integrationtest/narayana/pom.xml
M integrationtest/osgi/karaf-features/pom.xml
M integrationtest/osgi/karaf-it/pom.xml
M integrationtest/performance/pom.xml
M integrationtest/sandbox/pom.xml
M integrationtest/spring/pom.xml
M integrationtest/wildfly/pom.xml
M legacy/pom.xml
M modules/pom.xml
M orm/pom.xml
M pom.xml
M serialization/avro/pom.xml
M sharedtestresources/pom.xml
M testing/pom.xml
Log Message:
-----------
[Jenkins release job] Preparing next development iteration
Compare: https://github.com/hibernate/hibernate-search/compare/54c2a9f74e58...719a...
7 years, 1 month
[hibernate/hibernate-search] f2e67a: [Jenkins release job] README.md updated by release...
by GitHub
Branch: refs/heads/5.8
Home: https://github.com/hibernate/hibernate-search
Commit: f2e67ab11ab1634123c16edd27ec8c0908fbf993
https://github.com/hibernate/hibernate-search/commit/f2e67ab11ab1634123c1...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M README.md
Log Message:
-----------
[Jenkins release job] README.md updated by release build 5.8.2.Final
Commit: 9065ef06759cfe6545009a9baf0a786060ddbd63
https://github.com/hibernate/hibernate-search/commit/9065ef06759cfe654500...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M changelog.txt
Log Message:
-----------
[Jenkins release job] changelog.txt updated by release build 5.8.2.Final
Commit: 8f7e87bf282877a7a5554035abb709cc9813fec2
https://github.com/hibernate/hibernate-search/commit/8f7e87bf282877a7a555...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M backends/jgroups/pom.xml
M backends/jms/pom.xml
M build-config/pom.xml
M distribution/pom.xml
M documentation/pom.xml
M elasticsearch-aws/pom.xml
M elasticsearch/pom.xml
M engine/pom.xml
M infinispan/pom.xml
M integrationtest/elasticsearch/pom.xml
M integrationtest/jdk9-modules/pom.xml
M integrationtest/jms/pom.xml
M integrationtest/narayana/pom.xml
M integrationtest/osgi/karaf-features/pom.xml
M integrationtest/osgi/karaf-it/pom.xml
M integrationtest/performance/engine-elasticsearch/pom.xml
M integrationtest/performance/engine-lucene/pom.xml
M integrationtest/performance/orm/pom.xml
M integrationtest/performance/sandbox/pom.xml
M integrationtest/spring/pom.xml
M integrationtest/wildfly/pom.xml
M legacy/pom.xml
M modules/pom.xml
M orm/pom.xml
M pom.xml
M serialization/avro/pom.xml
M sharedtestresources/pom.xml
M testing/pom.xml
Log Message:
-----------
[Jenkins release job] Preparing release 5.8.2.Final
Commit: cf2dc7af9bf3cd98faea418b1ac8c843c8ba0236
https://github.com/hibernate/hibernate-search/commit/cf2dc7af9bf3cd98faea...
Author: Jenkins <ci(a)hibernate.org>
Date: 2017-10-25 (Wed, 25 Oct 2017)
Changed paths:
M backends/jgroups/pom.xml
M backends/jms/pom.xml
M build-config/pom.xml
M distribution/pom.xml
M documentation/pom.xml
M elasticsearch-aws/pom.xml
M elasticsearch/pom.xml
M engine/pom.xml
M infinispan/pom.xml
M integrationtest/elasticsearch/pom.xml
M integrationtest/jdk9-modules/pom.xml
M integrationtest/jms/pom.xml
M integrationtest/narayana/pom.xml
M integrationtest/osgi/karaf-features/pom.xml
M integrationtest/osgi/karaf-it/pom.xml
M integrationtest/performance/engine-elasticsearch/pom.xml
M integrationtest/performance/engine-lucene/pom.xml
M integrationtest/performance/orm/pom.xml
M integrationtest/performance/sandbox/pom.xml
M integrationtest/spring/pom.xml
M integrationtest/wildfly/pom.xml
M legacy/pom.xml
M modules/pom.xml
M orm/pom.xml
M pom.xml
M serialization/avro/pom.xml
M sharedtestresources/pom.xml
M testing/pom.xml
Log Message:
-----------
[Jenkins release job] Preparing next development iteration
Compare: https://github.com/hibernate/hibernate-search/compare/9ba3f6b23f18...cf2d...
7 years, 1 month