woj-tek commented on PR #2342:
URL: https://github.com/apache/james-project/pull/2342#issuecomment-2269457483
I'm looking at src/main/resources/org/apache/james/imap/scripts/Search.test
and trying to figure it out and as IMAP is not my forte I'd like to have
confirmation I got it right :) We
* create a mailbox
* search for flagged messages (yield none)
* set flag for all messages (1-till-end)
* search for flagged (yield 4 messages)
* clear flag for messages from 3rd till end
* search for flagged (yield 2 messages, first and second)
* serach for not flagged messages (yield 2, third and fourth)
?
----
> > 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.
Was there a consensus why it was done that way and if it should be changed?
--
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]