Tellier Benoit created MAILBOX-258:
--------------------------------------
Summary: 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]