Re: Lucene Not Indexing Existing Mail in Folders

2020-03-29 Thread Jerry Malcolm
Hi Benoit, do we have a path for getting resolution to this problem?  I can do the work with just a little guidance.  I have clients getting very upset that they haven't been able to get mail on their iPhone in several months.  I just tried the "./bin/james-cli.sh ReindexAll" command on a

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-05 Thread Tellier Benoit
I bet you can overwrite Spring XML bindings and define your own. I have no idea how to do that, and it seems dangerous. Regards, Benoit On 05/11/2019 22:03, Jerry Malcolm wrote: > No problem.  Is there a quick-fix / hack that perhaps I can hardcode to > bypass insertion until the actual fix is

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-05 Thread Jerry Malcolm
No problem.  Is there a quick-fix / hack that perhaps I can hardcode to bypass insertion until the actual fix is available? Just speculating here... we've got an option (lazyIndex) that rebuilds the index every time whether it is necessary or not.  And we have an option (luceneIndex) that

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-04 Thread Tellier Benoit
My bad, there seems to be Spring injection issues: mailbox-tools.xml defines: As the indexer is configurable, we are not able to inject the ListeningMessageSearchIndex for doing that. We may need aditional logic upon the indexer choice for providing the correct reIndexer binding: - keep

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-04 Thread Jerry Malcolm
I had already changed back to luceneIndex from lazyIndex and rebooted.  I also removed the lazyIndex's version of the lucene folder.  But I'm still getting the same exception. On 11/5/2019 12:07 AM, Tellier Benoit wrote: ReIndexing is not implemented on top of lazyIndex. You need to

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-04 Thread Tellier Benoit
ReIndexing is not implemented on top of lazyIndex. You need to configure lucene in index.xml (meaning for you, downtime in search) On 05/11/2019 12:44, Jerry Malcolm wrote: > Benoit, > > This all makes sense.  I tried the CLI to ReindexAll and got an > exception.  I figured I was just doing

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-04 Thread Jerry Malcolm
Benoit, This all makes sense.  I tried the CLI to ReindexAll and got an exception.  I figured I was just doing something wrong on the CLI with JMX, etc.  But every other command I tried worked fine.  Just the ReindexAll and ReindexMailbox failed.   (BTW the web page shows the command:

Re: Lucene Not Indexing Existing Mail in Folders

2019-11-04 Thread Tellier Benoit
Hi Jerry, Thanks for the updated details, it now makes perfect sens! Long story short: Your Lucene index needs to be migrated as well. I suspect you migrated only your database (full copy), hence issues. To do migration, at Linagora, we prefer using external protocols, and leaving the inner

Lucene Not Indexing Existing Mail in Folders

2019-11-04 Thread Jerry Malcolm
I'm starting a new thread for this specific issue.  One external symptom that has now been isolated to this problem is documented in my long-running (and hopefully completed) thread about iPhones losing all of their mail. Here's what I know about this so far: 1) I had no clue what 'Lucene'