Re: Re : Lucene reindex

Benoit TELLIER <[email protected]> Thu, 22 Jan 2026 11:10:58 +0000
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
---=Part.5ef.625a9d6eaea0bda5.19be5667f9f.52eca100c6380569=-
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Accept-Language: fr-FR, en-US, vi-VN, ru-RU, ar-TN, it-IT, de-DE
Content-Language: fr-FR

Likely incompatible on-disk format

Or missing historical data upon search =
if the corresponding Lucene file had been removed=2E

--=C2=A0

Best regard=
s,

Benoit TELLIER

General manager of Linagora VIETNAM=2E
Product owner fo=
r Twake-Mail product=2E
Chairman of the Apache James project=2E

Mail: btel=
lier@linagora=2Ecom
Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)


Le janv=
=2E 20, 2026 6:19 AM, de Scoopta Via Server-user <server-user@james=2Eapach=
e=2Eorg>Thanks,

I might build this from source if I have time, that being =
said what are 
the problems that arise if I just don't reindex Lucene?

On =
1/19/26 8:10 AM, Benoit TELLIER wrote:
>> 2026-01-16T22:01:20=2E244149762Z =
main INFO Configuration org=2Eapache=2Elogging=2Elog4j=2Ecore=2Econfig=2EDe=
faultConfiguration@29215f06 stopped=2E2026-01-16T22:01:20=2E646022685Z main=
 ERROR An exception occurred processing Appender Console org=2Eapache=2Elog=
ging=2Elog4j=2Ecore=2Eappender=2EAppenderLoggingException: java=2Elang=2EEr=
ror: Trampoline must not be defined by the bootstrap classloader
> Excuse m=
e I thought that "Trampoline must not be defined by the bootstrap classload=
er" thing was a joke=2E This log4j error makes no sense to me=2E
>
> But it=
 is not the core of the issue=2E
>
> The main issue indeed is
>
> Error cla=
ss org=2Eapache=2Ejames=2Emailbox=2Eexception=2EMailboxException while exec=
uting command:Not implementedWhich corresponds to=C2=A0mailbox/tools/indexe=
r/src/main/java/org/apache/mailbox/tools/indexer/ThrowsReIndexer=2Ejava
> C=
f=C2=A0server/container/spring/src/main/java/org/apache/james/container/spr=
ing/bean/factorypostprocessor/IndexerConfigurationBeanFactoryPostProcessor=
=2Ejava
>
> Sadly the lucene implen do not wire the reindexer=2E
>
> Let's =
fix that:=C2=A0github=2Ecom/apache/james-project/pull/2918
>
> -- 
>
> Best=
 regards,
>
> Benoit TELLIER
>
> General manager of Linagora VIETNAM=2E
> P=
roduct owner for Twake-Mail product=2E
> Chairman of the Apache James proje=
ct=2E
>
> Mail: btellier@linagora=2Ecom
> Tel: (0033) 6 77 26 04 58 (WhatsA=
pp, Signal)
>
>
> Le janv=2E 16, 2026 11:04 PM, de Scoopta Via Server-user =
<server-user@james=2Eapache=2Eorg>Command run:
>
>      run0 -u james =2E/j=
ames-cli=2Esh -h localhost reindexall &>      trace=2Elog
>
>      File is =
attached
>
>      On 1/16/26 12:18 PM, Benoit TELLIER      wrote:
>        =
              Can you please provide the stacktrace?
>          
>         =
     --
>          
>          Best regards,
>          
>          Benoit =
TELLIER
>          
>          General manager of Linagora VIETNAM=2E
>    =
      Product owner for Twake-Mail product=2E
>          Chairman of the Ap=
ache James project=2E
>          
>          Mail: btellier@linagora=2Ecom
=
>          Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)
>          
>      =
    
>              Le janv=2E 16, 2026        8:54 PM, de Scoopta <mlist@s=
coopta=2Eemail>              I'm coming from 3=2E7=2E5 to 3=2E9=2E0 and I s=
aw the mention of          reindexing in the upgrade info (on top of the se=
rver not          starting until I deleted my lucene folder in var)=2E I di=
dn't          realize there was a reindexall command, I tried running it bu=
t          got this error alongside a stack trace=2E
>
>          Trampolin=
e must not be defined by the bootstrap classloader
>
>          On 1/16/26 =
12:49 AM, Benoit TELLIER          wrote:
>                            Pleas=
e check the CLI
>              
>              james=2Eapache=2Eorg/server/=
manage-cli=2Ehtml#Re-indexing
>              
>              Can you please=
 provide the version you were using prior and            afer the upgrade
>=
              
>              In practice if adoptiong 3=2E9=2Ex from 3=2E8=
=2Ex the reindex is            wise as we went from Lucene 3=2E6=2E2 to 10=
=2E2=2E1 (!)          --
>              
>              Best regards,
>    =
          
>              Benoit TELLIER
>              
>              Gen=
eral manager of Linagora              VIETNAM=2E
>              Product own=
er for Twake-Mail            product=2E
>              Chairman of the Apac=
he              James project=2E
>              
>              Mail: btell=
ier@linagora=2Ecom
>              Tel: (0033) 6 77 26 04 58 (WhatsApp, Sign=
al)
>              
>              
>                      Le janv=2E 16,  =
          2026 4:52 AM, de Scoopta Via Server-user <server-user@james=2Eapa=
che=2Eorg>          I            recently upgraded to the latest version of=
 james and needed            to delete
>              and reindex lucene, I=
'm using the spring wiring which from            reading the
>             =
 documentation doesn't appear to support the REST API to            trigger=
 a
>              reindex, is reindexing lucene necessary or is deleting it=
            enough?
>              Additionally if reindexing it is importa=
nt is there any way            to do this
>              with spring?
>    =
          
>              
> ----------------------------------------------=
-----------------------
>              To unsubscribe, e-mail: server-user-=
unsubscribe@james=2Eapache=2Eorg
>              For additional commands, e-=
mail: server-user-help@james=2Eapache=2Eorg
>              
>              =

>                                
>
> ------------------------------------=
---------------------------------
> To unsubscribe, e-mail: server-user-uns=
ubscribe@james=2Eapache=2Eorg
> For additional commands, e-mail: server-use=
r-help@james=2Eapache=2Eorg

----------------------------------------------=
-----------------------
To unsubscribe, e-mail: server-user-unsubscribe@jam=
es=2Eapache=2Eorg
For additional commands, e-mail: server-user-help@james=
=2Eapache=2Eorg



---=Part.5ef.625a9d6eaea0bda5.19be5667f9f.52eca100c6380569=---