You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <ji...@apache.org> on 2015/11/28 14:25:11 UTC

[jira] [Closed] (MAILBOX-258) MailboxRenamed event not handled by ListeningMessageSearchIndex

     [ 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
(v6.3.4#6332)

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