klcodanr opened a new pull request #524:
URL: https://github.com/apache/jackrabbit-oak/pull/524


   Most of the changes are to correct issues with the tests. 
   
   The primary changes are to introduce a delay between the test changes and 
test execution to ensure that the Elastic index is updated by the time the 
assertions are run in the 
[FunctionIndexCommonTest.java](https://github.com/apache/jackrabbit-oak/compare/trunk...klcodanr:elastic-function-support?expand=1#diff-2d0a75bdc45709baff8c41f725c939f9f37e9414752b37ad03e335c2d40b33c7).
 This was implemented as an overridden method so that the Lucene indexing does 
not have any delays.  (see postCommitHook) 
   
   The other change is to ensure that the functional restrictions are 
translated into Document properties when creating the 
[ElasticIndexDefinition.java](https://github.com/apache/jackrabbit-oak/compare/trunk...klcodanr:elastic-function-support?expand=1#diff-c047e881bb3fbf15e48f90204a88d5ac9b8f10c3ac6310098e40151a111f836d)
 and including them in the 
[ElasticIndexPlanner.java](https://github.com/apache/jackrabbit-oak/compare/trunk...klcodanr:elastic-function-support?expand=1#diff-747aaeec4a6e472c51175546720cc83729ce63ee0e44af12911a36b6e35b8d4c).
   
   I did also reduce the re-indexing delay in the 
[ElasticTestRepositoryBuilder.java](https://github.com/apache/jackrabbit-oak/compare/trunk...klcodanr:elastic-function-support?expand=1#diff-102e564f471507afd5abb0fb9715a26201b9a46f2f3a3d9588a1fd1e9428e4fa)
 to reduce the impact of waiting for the changes to be indexed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to