james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MAILBOX-258) MailboxRenamed event not handled by ListeningMessageSearchIndex
Date Sat, 28 Nov 2015 13:25:11 GMT

     [ https://issues.apache.org/jira/browse/MAILBOX-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tellier Benoit closed MAILBOX-258.
    Resolution: Invalid

I wrote tests that demonstrated I was wrong on this issue.

In fact todays MessageSearchIndex relies on Mailbox Id and not on mailbox names. Thus, changing
mailbox name have strictly no impact on message indexing.

Sorry the noise.

> MailboxRenamed event not handled by ListeningMessageSearchIndex
> ---------------------------------------------------------------
>                 Key: MAILBOX-258
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-258
>             Project: James Mailbox
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 0.6
>            Reporter: Tellier Benoit
>             Fix For: 0.6
> This means that renaming a mailbox is not handled by the search index.
> ListeningMessageSearch should listen to MailboxRenamed events, and handle an update for
all concerned documents concerning their mailbox.
> Concerning elasticsearch, it might be complicated to implement as their is not yet an
UpdateByQuery API :-(
> An explicit call to the ReIndexer will do the trick... Do you consider this acceptable
? Any better idea ? 
> Note : we can't iterate on message range (2^64 values for MessageRange::all() ) to update
documents one by one....

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message