woj-tek commented on PR #2342:
URL: https://github.com/apache/james-project/pull/2342#issuecomment-2277684212

   I think the issue boils down to the (U)IDs not being matched properly 
somehow as mentioned in 
https://github.com/apache/james-project/pull/2342#issuecomment-2219373594
   
   
https://github.com/apache/james-project/pull/2342/files#diff-a7c2a3c5cdb7e4a2914c899409991e27df6b25ad54488f197bc533193e3a03d0R1275-R1281
   
   Doing very silly and naive `writer.deleteDocuments(queryBuilder.build());` 
just after `ScoreDoc[] sDocs = docs.scoreDocs;` makes the test (MTP) pass.
   
   So it seems the queried documents are correct and they even can be deleted 
but then re-defining the IDs makes the update fail because it can't match the 
documents that should be updated?
   
   (I have zero experience with Lucene so trying to figure out stuff as I go :) 
)


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to