[ 
https://issues.apache.org/jira/browse/MAILBOX-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983971#comment-14983971
 ] 

ASF GitHub Bot commented on MAILBOX-258:
----------------------------------------

GitHub user chibenwa opened a pull request:

    https://github.com/apache/james-project/pull/14

    Mailbox 258 - proposal to handle Mailbox Renamed events.

    Proposale about MAILBOX-258 ...
    
    It is costly in terms of performance, so if you have other ideas, I take 
it... By now I think this is one of the only walk around for Mailbox renamed 
events handling by indexers...

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chibenwa/james-project MAILBOX-258

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/james-project/pull/14.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #14
    
----
commit 2b2388f517ce02ab784b3d17214b50c2b566ff98
Author: benwa <[email protected]>
Date:   2015-10-30T20:10:28Z

    MAILBOX-257 Re-indexing documents

commit 133b93fdc729f49967aa54e4d4c33e22ab68ff54
Author: benwa <[email protected]>
Date:   2015-10-31T09:52:19Z

    MAILBOX-257 Add a fake indexer

commit d978ff5f111fc1a7565cd93b96269b758d7ee91a
Author: benwa <[email protected]>
Date:   2015-10-31T10:19:54Z

    MAILBOX-257 Add CLI capability to re-index documents

commit 9baa03052f8863b6e6a6e65affea69129d14a5cd
Author: benwa <[email protected]>
Date:   2015-10-31T10:35:05Z

    MAILBOX-257 Add spring configuration

commit eab2d149e7b63990f24e985f4737e97cd1c9bf53
Author: benwa <[email protected]>
Date:   2015-10-31T11:31:58Z

    MAILBOX-258 Relocate ReIndexers in store to avoid circular dependencies

commit 4600face376fa2829f299c5956d4ab4b486fed90
Author: benwa <[email protected]>
Date:   2015-10-31T11:50:18Z

    MAILBOX-258 Use reIndexer upon MailboxRenamed events

----


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to