[prev in list] [next in list] [prev in thread] [next in thread]
List: james-dev
Subject: [jira] [Closed] (MAILBOX-258) MailboxRenamed event not handled by ListeningMessageSearchIndex
From: "Tellier Benoit (JIRA)" <jira () apache ! org>
Date: 2015-11-28 13:25:11
Message-ID: JIRA.12909400.1446290450000.213793.1448717111048 () Atlassian ! JIRA
[Download RAW message or body]
[ 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic