quantranhong1999 commented on PR #2342:
URL: https://github.com/apache/james-project/pull/2342#issuecomment-2224264350

   > I tried to debug yesterday as well, I felt like maybe (aint completely 
sure) we were creating more documents each time with updates...
   
   Yes very likely, when Lucene updates the document, it would delete and 
create a new document.
   
   Somehow multiple updates on the same document break the flags field's data.
   
   > Or also I wondered why flags and messages are being in separated documents 
with lucene? Was it because of some limitations of the version 2? Maybe would 
make sense in latest version to have it all organized in just one document? It 
looks like to me we have it all in one doc in opensearch for example if I'm not 
wrong
   
   Yes. I think we could try to refactor that. But I am not sure if we should 
do that in this upgrade or in another ticket.


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