fabriziofortino opened a new pull request, #2892:
URL: https://github.com/apache/jackrabbit-oak/pull/2892

   Summary of changes:
   
     - ElasticIndexWriter.java: deleteDocuments(path) now fires a deleteByQuery 
after the bulk delete, using a term query on the :ancestors field with the 
deleted path. The :ancestors field is indexed with the path_hierarchy 
tokenizer, so a single term query matches every document at any depth below the 
deleted node — mirroring what
     Lucene's PrefixQuery does on the path term.
     - ElasticContentTest.java: Added subtreeDeletion test that creates a 
parent with 3 children, deletes the parent, and asserts all 4 documents are 
removed from the index.


-- 
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