fabriziofortino opened a new pull request #210: URL: https://github.com/apache/jackrabbit-oak/pull/210
This PR contains the following changes: * IndexDefinition fields configuration gets now reflected to the ES mapping * handle conflicts when creating index/mapping * removed `enablePathRestrictions` flag. `:ancestors` field is always indexed * improved doc `_id` handling: removed `URLDecoder`, transform the value using SHA-256 only when id > 512 bytes * fixed performance issue on `ElasticsearchIndexWriter`: when the bulk is empty and we close the writer the code waits for a status until it eventually times out (~15 sec). Since the logic was already complex, instead of adding a new condition, I have changed it completely introducing a Phaser (single-phase). The code now looks cleaner and it can be more easily adapted in case we want to introduce a bulk processor pool (see https://github.com/apache/jackrabbit-oak/commit/c227064bb04319780e73e864cf1489d863c0dda2) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org