Skip to content

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Sep 18, 2011

A first prototype.

Maybe when the paths is set depth should have 0 has default value.

Let me know what you think.

Davide

@DavideD
Copy link
Member Author

DavideD commented Sep 25, 2011

I've added the validation of the paths and set default depth to 0 if you only set the paths attribute.

@DavideD
Copy link
Member Author

DavideD commented Sep 26, 2011

I've removed the validation. I need to think a bit more about it

@Sanne
Copy link
Member

Sanne commented Sep 27, 2011

Hi Davide,
I had a brief look and I'm liking what I'm seeing. Liking it a lot.

While playing with this, can you consider as well HSEARCH-638 ? It seems you're already working on the depth, adding it as a parameter.

What's the validation you removed?

I think you should add more tests, especially some to mix the different strategies (to have both depth and paths)

@DavideD
Copy link
Member Author

DavideD commented Sep 27, 2011

I'm very happy you like it.

Zach Kurey tried it and he gave me some suggestions:
https://hibernate.onjira.com/browse/HSEARCH-886

Since the paths are specified as a String sometimes you can have some errors in it (for example when you mispelled the name of a field). It would be nice to have some kind of validation for this cases. I've pushed a first version that throws an exception when a path doesn't exists but it doesn't seem towork in every case at the moment so I prefered to remove it.

I think you are right about adding tests...it was actually a bit of lazyness... :)

@Sanne
Copy link
Member

Sanne commented Sep 27, 2011

Right, adding validation on the attribute names makes sense. Remember it should work on both getters and field accessors.

@Sanne
Copy link
Member

Sanne commented Sep 27, 2011

BTW, keep rebasing it as we're doing many changes ;)

@DavideD
Copy link
Member Author

DavideD commented Sep 27, 2011

No problem ;)

@DavideD
Copy link
Member Author

DavideD commented Sep 28, 2011

I've added the test for the depth and rebased the project to the latest master version.
I have one problem at the moment: if I run the tests I've added in eclipse everything works fine but if I execute the maven build they fail.

My maven build doesn't look very reliable lately. Can anyone try it?

Thanks

@Sanne
Copy link
Member

Sanne commented Sep 28, 2011

tried it, only your tests fail:

`Tests in error:
testPathIsIndexed(org.hibernate.search.test.embedded.path.PathEmbeddedTest): Unknown entity: org.hibernate.search.test.embedded.path.C
testPathIsIndexedWithPrefix(org.hibernate.search.test.embedded.path.PathEmbeddedTest): Unknown entity: org.hibernate.search.test.embedded.path.C
testMultiFieldsAreIndexedIfInPath(org.hibernate.search.test.embedded.path.PathEmbeddedTest): Unknown entity: org.hibernate.search.test.embedded.path.C
testEmbeddedNotIndexedIfNotInPath(org.hibernate.search.test.embedded.path.PathEmbeddedTest): Unknown entity: org.hibernate.search.test.embedded.path.C
testFieldNotIndexedIfNotInPath(org.hibernate.search.test.embedded.path.PathEmbeddedTest): Unknown entity: org.hibernate.search.test.embedded.path.C

Tests run: 392, Failures: 0, Errors: 5, Skipped: 0
`

@DavideD
Copy link
Member Author

DavideD commented Sep 28, 2011

Thanks,
they seem sto work in eclipse...

I will take another look this evening.

@DavideD
Copy link
Member Author

DavideD commented Sep 28, 2011

It seems the problem was in the setup and teardown methods.
Now everything seems to work.

Don't know if it comes in handy but after the latest rebase the CollectionUpdateEventTest doesn't fail anymore.

@Sanne
Copy link
Member

Sanne commented Sep 28, 2011

CollectionUpdateEventTest is not failing anymore because I've "silenced" it with the following change:
50b7b1e

but there still is a problem with it, Hardy is looking into it. at least it's not annoying people until we find out.

I just checked the tests of your last version, and all is green for me too. But I'm too sleepy to inspect the code now :)

@zackurey could you check this out too and see if it's going to solve your needs?
If not, or if you have any doubt, could you please help Davide with additional tests, especially thinking about the tricky corner cases?

@Sanne
Copy link
Member

Sanne commented Sep 28, 2011

And congratulations for surviving the GIT skills tests after all the code reorganization we did in the last few days ;)

@zackurey
Copy link
Contributor

@Sanne
Definitely. I've been trying to get back around to looking at the latest changes today, but am running low on time. I'll give it it a review and a spin soon(hopefully tomorrow).

Thanks Davide.

@DavideD
Copy link
Member Author

DavideD commented Sep 29, 2011

The validation of the path is still missing though. If everything else works maybe it can become a new JIRA.

@Sanne
Git did most of the work :)

Cheers

@zackurey
Copy link
Contributor

@davide

I'd be happy to take a crack at the path validation work. Seems only fair since I'm pushing for the feature. I'm not sure if we'd want it to come in as a different JIRA or not. I'm fine with it if Sanne is. If I'm having to fork your fork, things could get convoluted coordinating things.

Let me take a look over the latest and see if there is anything that needs changing with the basic feature support. The last time I gave it a spin everything worked fine.

@Sanne
Copy link
Member

Sanne commented Sep 29, 2011

you can work as you think is best, we can include Davide's work first and add validation later, or Zack can start working on validation from Davide's work.

I don't think Davide will need to rebase as often as in the last few days as we definitely don't move around files every week, but make sure you talk to each other so that he stops rebasing when you fork from this branch, or it will be hard to keep in sync.
@DavideD can you stop rebasing? do you think it's stable enough that you can apply eventually needed improvements/fixes on top of it as additional commits?

As far as timing goes, I'd be happy to include Davide's patch as soon as possible (even without the validation) but since it's an important change I'd love it if @zackurey could test it first to see if all was clear on the requirements, if you can now practically express the minimum graph needed for your real world use case (likely more complex than the unit tests). That's what I meant with helping with testing, you might have some advanced test case you want to add.

Generally it's a great idea to add your own product's use case as a test, so you'll know for sure the used frameworks won't break that in future ;)

@zackurey
Copy link
Contributor

I think I'd prefer to work on it separately, just to reduce the number of hoops to jump through.

@real world use case
Actually I already integrated Davide's changes into a custom 3.4.1 hibernate search lib and used it in our app. The performance gains for the problem @IndexEmbedded marked entity were huge. 5x faster huge.

I used it in two locations that were performance problems. Each with > 5 paths per @IndexEmbedded. A variety of different use cases are covered by each path.

  • Leaf ending in a field bridge
  • Leaf ending in simple types
  • Leaf ending in a field bridge for a collection of simple types(Longs)
  • Paths where a portion of the path in the middle is a @IndexEmbedded Collection

I don't really have a use case right now for a mixed bag case where we have a default depth + some paths that are deeper than the depth. But I'll contrive one up.

Also all the other traditional depth based indexing done in the app was unharmed, and worked as it always has.

I commented on a particular bit of code that could potentially mis-identify a path match. But as long as that is fixed I think its probably good to go. I should re-merge/integrate into a 3.4.1 branch and test again though. I tried upgrading to Hibernate core and decided to abandon the attempt for now. Nothing wrong with 4.x, just a few changed apis that we used a lot for custom type conversion, and some deprecated annotations/apis that I'll have to verify the substitutes for actually work as intended.

@Sanne
Copy link
Member

Sanne commented Sep 29, 2011

@zackurey
thanks a lot for the prompt feedback. Just to clarify there are no misunderstandings, I don't think we will include this in 3.4, you'll have to maintain your own branch if you don't upgrade Core ..

BTW the "at" symbol has a real meaning on github, make sure you use it to ping the correct nicknames. So far you notified mister "real" and "davide" already.

@DavideD, do you have a test to protect the code from the mis-identification Zack just mentioned?

@zackurey
Copy link
Contributor

thanks a lot for the prompt feedback. Just to clarify there are no misunderstandings, I don't think we will include this in 3.4, you'll have to maintain your own branch if you don't upgrade Core ..

Understood. 4.x rocks the boat to much for a near term release we have. Next release I'll take the necessary 4.x steps.

BTW the "at" symbol has a real meaning on github, make sure you use it to ping the correct nicknames. So far you notified mister "real" and "davide" already.

How embarrassing.. Thanks for limiting future mistakes. I frequently use 'at' as 'an answer' to something as well.

do you have a test to protect the code from the mis-identification Zack just mentioned?

I just reviewed the code. The suggested fix has been applied.

@DavideD
Copy link
Member Author

DavideD commented Sep 29, 2011

I've applied all the fix suggested by @zackurey. I added the test to check that the depth parameter is respected (using the genealogy tree of John England). I didn't add the tests for the mis-identification (shame on me).

I don't have any problem in zack working on the validation. This solution seems stable enough and as long as no other bugs are found I won't touch it. At the moment I would just add a test for the mis-identification problem.
I think it's safe for zack to work on the validation starting from my work anyway.

@zackurey
Copy link
Contributor

@DavideD
I re-tested your latest code in my app Davide. Everything worked as expected. I thought I saw a problem with a super classes @IndexedEmbedded collections not being picked up even though they were part of a path, but the issue has mysteriously gone away. I'll add a test for that and all of our other 'path' use cases as Sanne suggested above when I do the validation work.

@Sanne
Can you accept Davide's pull requests now? Looks pretty solid to me, and working from my own fork seems like the easiest way to proceed.

@zackurey
Copy link
Contributor

@Sanne
Sorry to flip flop, but nevermind on pulling Davide's code in first. I just finished the validation + test cases. I'll fork Davide's fork first thing tomorrow and send the pull requests to him so you can pull everything in in one go. I'm out of energy for tonight.

@zackurey
Copy link
Contributor

OK. Apparently I can't have two separate forks that share the same parent. When I try to fork Davide's fork nothing happens and it just drops me on the same page as my fork of hibernate-search.

I would delete my other repo/fork and then refork from Davide's but I'm waiting for my pull requests for HSEARCH-926 to be accepted. @Sanne, the contributor agreement is signed for both the corporate and individual level. Can that pull request proceed now?

The other option is @DavideD's work can get pulled into the main branch, and then I can pull the changes into my own fork.

If I'm missing something as a newb to Git, please point it out. Thx.

@Sanne
Copy link
Member

Sanne commented Sep 30, 2011

Hi, sure I'll try to merge this soon, sorry have been busy with other issues.
TBH I still have to review this, so I don't know yet if some changes are required.

To answer your git doubts: yes you don't need to fork again. You should have now a copy of yourself on github, and a personal copy on your dev-station. Usually you push/pull to your github repository (conventionally named "origin") but you can add more "remote"s (remote is the git term), so you can pull changes from Davide, push them to your own, or pull changes from "upstream" (conventional name for the project reference). I will for example pull from both of you, test locally, send a proposal to my personal github to have that integrated from another committer if we feel more reviews are needed (as usually when new APIs are involved).
If you join us on IRC #hibernate-dev I can help you directly in the first steps.

@zackurey
Copy link
Contributor

Thanks Sanne. Your nudge about the remote repos pointed me in the right direction. Neat stuff.

I've sent the pull request to Davide: DavideD#1. @DavideD, can you pull that in and let me know if you have any concerns, or thoughts about additional tests?

I could also send a pull request directly to hibernate search:master, which would contain both our changes. But just in case Davide needs to make further changes I went that route first. But if the other way is preferred let me know.

@DavideD
Copy link
Member Author

DavideD commented Oct 2, 2011

Sorry @zackurey if I didn't reply to your messages in these days but I was on holiday. After a quick look everything seems great.

I will include it in the already existing pull request tomorrow when I'm less tired.

Cheers

@DavideD
Copy link
Member Author

DavideD commented Oct 7, 2011

Rebased, cleaned and joined with the validation made by @zackurey.

Should be ready for a review.

Cheers

@Sanne
Copy link
Member

Sanne commented Oct 13, 2011

Hi, sorry I didn't integrate it yet as I'm adding some tests; I'm not sure about the chosen algorithm being respecting the depth in both directions (i.e. from @ContainedIn too). Maybe my tests will prove me wrong but I'm not done with it yet.

The general code quality is very good, thanks! Some more comments could help, don't take the original source as an example of well commented code.

@DavideD
Copy link
Member Author

DavideD commented Oct 13, 2011

It's my fault. I tend to avoid comments because most of the time they are useless.

If you can tell me which part of the code is not clear I'm going to fix this.

@zackurey
Copy link
Contributor

@Sanne. Yes I'm perfectly happy with option 3. There is always the option of deprecating IndexEmbedded in the future if it turns out that in hindsight the community needs something more like option 1. And I agree that exclusions should be fine with option 3 as well.

@hferentschik
Copy link
Contributor

(--)/ ...

@Sanne
Copy link
Member

Sanne commented Feb 13, 2012

merged

@Sanne Sanne closed this Feb 13, 2012
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Feb 20, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Feb 20, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Feb 20, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Feb 20, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Feb 20, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Feb 20, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Feb 20, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Feb 20, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request May 17, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request May 17, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Jun 19, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Jun 19, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Oct 16, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Oct 16, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Oct 17, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Oct 17, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Oct 17, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Oct 17, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Oct 18, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Oct 18, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Oct 25, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Oct 25, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
yrodiere pushed a commit to yrodiere/hibernate-search that referenced this pull request Oct 25, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 23:18:43 2017 +0100

    hibernate#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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    hibernate#165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    hibernate#165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    hibernate#165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Jan 3 22:34:49 2017 +0100

    hibernate#165 use `Projections#id()`
    instead of `DocumentBuilderIndexedEntity#getIdPropertyName()` to avoid null reference issue for provided IDs.

commit 89624d52f7b6b955bbf45d576b538b8fc93445fb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    hibernate#162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    hibernate#162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    hibernate#162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    hibernate#162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    hibernate#162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    hibernate#162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 15:56:51 2016 +0100

    hibernate#162 format code according to hibernate-ide-codestyles
    https://github.com/hibernate/hibernate-ide-codestyles

commit d0c9d69f2a702b997d40160f0aba6960fd22c4f8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    hibernate#161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 11:15:29 2016 +0100

    hibernate#134 rename StepContextData to PartitionContextData
    to provide a better understanding

commit f4983aacf9b14faebcbe8f553eb68d5182caea0a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    hibernate#134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:48:42 2016 +0100

    hibernate#134 fix indexing progress error: avoid storing increment

commit a2c5ffcb60e99eff7245bd4999d81079f31db4e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 12:10:29 2016 +0100

    hibernate#134 delete unused attributes
    `isRestarted` and `rowsToIndex`

commit f4bcbd422a735364b9f90f71f1e1bf198d983eb5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Dec 6 11:22:37 2016 +0100

    hibernate#134 refactor process of indexing-progress-monitoring

commit 3c6b1d373a5096f993a77198e239acbe7a7fd844
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Dec 5 21:42:45 2016 +0100

    hibernate#134 add class StepProgress, storing indexing progress at step level

commit bc037f453f1b25dd86b60f5d3e5e34f3eff584b1
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Dec 2 09:44:05 2016 +0100

    hibernate#87 rename lgpl.txt to LICENSE.txt

commit 9ab00469a589cf9bdb118a6f952760c8e555836f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    hibernate#160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    hibernate#160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Sep 30 21:39:53 2016 +0200

    hibernate#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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    hibernate#133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    hibernate#151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:28:17 2016 +0200

    hibernate#156 hibernate#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@gmail.com>
Date:   Wed Sep 28 13:26:39 2016 +0200

    hibernate#133 the batch insertion counter need to be incremented

commit 4b8f5525a9ab716618bb42f0b90de0e5d77f5ec9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 16:59:52 2016 +0200

    hibernate#133 require at least one element for MassIndexer#addRootEntities(...)

commit 556e88e74d5f39212af86712bd767821f7839de0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Tue Sep 27 10:50:42 2016 +0200

    hibernate#146 Allow to select the entities through a HQL/JPQL query

commit ff9f4c6dfdee918d4f59d1e4a03b0765105746db
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 22:10:50 2016 +0200

    hibernate#150 add test for validating the job start/stop in CLI

commit 4258265f34ddb69b0e14c15a9f30d20ca6170b9a
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sun Sep 25 17:37:00 2016 +0200

    hibernate#133 rename the war using the class's name

commit 038d53c0ac765f0ebd3826323c8c01a23b9255ad
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 22 17:29:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Sun Sep 18 21:23:13 2016 +0200

    hibernate#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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    hibernate#154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:36:22 2016 +0200

    hibernate#153 avoid SNAPSHOT versions among the dependencies

commit de4be0b1478c66237537847d27868059d38e981f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 15 18:09:03 2016 +0200

    hibernate#152 use java.lang.String for all the batch properties

commit e4e1ed4a33fcd616ccf5d58e065e77b85bcbf187
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    hibernate#132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    hibernate#132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 188fba5902ca1dc3777048db8039721ada32abb3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 25 22:57:10 2016 +0200

    hibernate#132 WFLY-7000 Batch jobs from installed modules should be detected for non-batch app

commit 68ccad9abb1562f0f8cd0bbdc4b5057469fb7f77
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 24 23:47:53 2016 +0200

    hibernate#132 enable arquillian-managed WF's debug

commit 88c2dac3e7a7a7b2f8b7f4cc93d10d197b1b5244
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Aug 22 23:55:34 2016 +0200

    hibernate#132 add org.jberet.jberet-core as a module dependency
    to fix unsatisfied dependencies issue

commit 3fb229edb54f78c79208391a722168751b7811e0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    hibernate#132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    hibernate#133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    hibernate#143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    hibernate#143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    hibernate#140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    hibernate#143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    hibernate#143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    hibernate#143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    hibernate#139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    hibernate#143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    hibernate#143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    hibernate#143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    hibernate#132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    hibernate#132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    hibernate#132 package batch job as module for WildFly
yrodiere added a commit to yrodiere/hibernate-search that referenced this pull request Oct 25, 2017
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@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@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@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@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@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 hibernate#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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
Sanne pushed a commit that referenced this pull request Oct 25, 2017
This commit has been extracted from https://github.com/mincong-h/gsoc-hsearch/tree/master/
It is the result of squashing commits
576f105 to 40aff727a4ca70dd809ca72dcb6315d71f80a37f
(see git log below).

commit 40aff727a4ca70dd809ca72dcb6315d71f80a37f
Author: Mincong HUANG <mincong.h@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@gmail.com>
Date:   Thu Jan 5 22:22:33 2017 +0100

    #165 delete unused import

commit 58fabd11044b64f82f69432061fe1a37ad8967a4
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:55:17 2017 +0100

    #165 remove duplicate ID projection

commit d0c23f934851866ecfc797c889a9c3f69971208c
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Jan 5 21:49:01 2017 +0100

    #165 avoid using toString() method

commit 15d2952a30d14384ed9a1a514b7a9a72b2d30ae6
Author: Mincong HUANG <mincong.h@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@gmail.com>
Date:   Thu Dec 8 21:40:45 2016 +0100

    #162 refactor entitiyType

commit c15633f0a2912b2cf50531c7742ae37b201d1229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 21:13:59 2016 +0100

    #162 increase default itemCount to 200

commit 21be31a72a59e933006c1ccdc9e372b76a979098
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:27:12 2016 +0100

    #162 rename ID to Id

commit 81a39117cb8f9c8d0086c2252c2a3c759488fa4f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 20:13:51 2016 +0100

    #162 rename entityClazz to entityType

commit 6a7f42a8b3f3ef23dc6df3d93ea0c8b69210b5cb
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 17:10:03 2016 +0100

    #162 rename PartitionUnit to PartitionBound

commit 58add35f70ff943c915be7aeaf03b411db1847e7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Dec 8 16:49:48 2016 +0100

    #162 refactor job context data setup

commit 0e942211a850a0d5c5b6c5a20f6e9a441123a8e0
Author: Mincong HUANG <mincong.h@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@gmail.com>
Date:   Thu Dec 8 12:10:43 2016 +0100

    #161 use getName() instead of toString()

commit d26d5c9acf9d08d303f1e2f1f728227a66bad87f
Author: Mincong HUANG <mincong.h@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@gmail.com>
Date:   Tue Dec 6 17:37:12 2016 +0100

    #134 persist indexing progress using `setPersistentData`

commit 3dd8b30bbaf623acddd3f240a9a0ca3583a5b488
Author: Mincong HUANG <mincong.h@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@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@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@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@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@gmail.com>
Date:   Mon Nov 21 10:59:41 2016 +0100

    #160 add Travis CI status

commit cd5b933953dc4c523541709ccbe0100632823950
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Mon Nov 21 10:50:47 2016 +0100

    #160 set up Travis CI

commit 0229fdb56e9218994cdc4d7793553337ba93d476
Author: Mincong HUANG <mincong.h@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@gmail.com>
Date:   Thu Sep 29 16:29:48 2016 +0200

    #133 type and naming enhancement

commit b7ca7eab62eec0457ee56586c66c90946364c6f0
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Sep 29 15:44:26 2016 +0200

    #151 rename "massIndex" / "mass-index" -> "BatchIndexingJob"

commit 031e6a02fabc8fb7ee731fdf3a8258f88aab0e6a
Author: Mincong HUANG <mincong.h@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@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@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@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@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@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@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@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@gmail.com>
Date:   Fri Sep 16 16:58:44 2016 +0200

    #154 banne caching option for PartitionMapper

commit 3bf541a6ebfd4aa7d10a6d1475e4977a2fbb706d
Author: Mincong HUANG <mincong.h@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@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@gmail.com>
Date:   Fri Aug 26 21:46:36 2016 +0200

    #132 remove dummy job xml

commit e52939897253a79320ad471645637275e1e3b6a8
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Fri Aug 26 21:41:38 2016 +0200

    #132 enable the module approach

commit a4fa8430b43ce138180eda8ce682d393ce55f473
Author: Mincong HUANG <mincong.h@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@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@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@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@gmail.com>
Date:   Sat Aug 20 15:10:20 2016 +0200

    #132 implement an SPI like this ?

commit c44d5f7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 23:54:34 2016 +0200

    #133 avoid dependence on the existing mass indexer
    for batchlets

commit 5c4add3
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:33 2016 +0200

    #143 change log level to INFO

commit e1b8229
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:47:06 2016 +0200

    #143 maven cleanup

commit 3c111e5
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:40:22 2016 +0200

    #140 change project version to 1.0

commit 1070a6d
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:08:44 2016 +0200

    #143 add issue management

commit 5ae4508
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 22:03:48 2016 +0200

    #143 maven clean up

commit e9bad75
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:59:43 2016 +0200

    #143 add license and developers info

commit 1b9f491
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 20:41:07 2016 +0200

    #139 separate simple integration test and performance test

commit 3a18b7b
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:43:59 2016 +0200

    #143 delete profiles

commit 35d8ba7
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 18:40:53 2016 +0200

    #143 revert WF module installation approach

commit a78086f
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Sat Aug 20 17:27:29 2016 +0200

    #143 rename maven module javaee-wildfly to wildfly

commit d9fadc8
Merge: 50908f9 ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 21:15:00 2016 +0200

    #132 import meta-inf from dependency

commit 50908f9
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    #132 update for IT

commit 576f105
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    #132 package batch job as module for WildFly

commit ca09828
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Thu Aug 18 02:06:07 2016 +0200

    #132 update for IT

commit 69440de
Author: Mincong HUANG <mincong.h@gmail.com>
Date:   Wed Aug 17 23:50:36 2016 +0200

    #132 package batch job as module for WildFly
Sanne pushed a commit that referenced this pull request Oct 25, 2017
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@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@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@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@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@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@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@hibernate.org>
Date:   Wed Jan 11 16:18:48 2017 +0100

    Add missing "static" keywords

commit 94dc13e12b8477b357a4d6fcb3bff3008813e73a
Author: Yoann Rodière <yoann@hibernate.org>
Date:   Wed Jan 11 15:17:29 2017 +0100

    Also run integration tests in travis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants