Even better DO NOT OPTIMIZE. Just let Solr manage the indexes automatically.
wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Dec 1, 2020, at 11:31 AM, Info MatheoSoftware <i...@matheosoftware.com> > wrote: > > Hi All, > > > > I found the solution, I must do : > > curl http://xxxxxxx:8983/solr/my_core/update? > <http://xxxxxxx:8983/solr/my_core/update?optimize=true> > commit=true&expungeDeletes=true > > > > It works fine > > > > Thanks, > > Bruno > > > > > > > > De : Matheo Software [mailto:i...@matheo-software.com] > Envoyé : mardi 1 décembre 2020 13:28 > À : solr-user@lucene.apache.org > Objet : Solr8.7 - How to optmize my index ? > > > > Hi All, > > > > With Solr5.4, I used the UI button but in Solr8.7 UI this button is missing. > > > > So I decide to use the command line: > > curl http://xxxxxxx:8983/solr/my_core/update?optimize=true > > > > My collection my_core exists of course. > > > > The answer of the command line is: > > { > > "responseHeader":{ > > "status":0, > > "QTime":18} > > } > > > > But nothing change. > > I always have 38M deleted docs in my collection and directory size no change > like with solr5.4. > > The size of the collection stay always at : 466.33Go > > > > Could you tell me how can I purge deleted docs ? > > > > Cordialement, Best Regards > > Bruno Mannina > > <http://www.matheo-software.com> www.matheo-software.com > > <http://www.patent-pulse.com> www.patent-pulse.com > > Tél. +33 0 970 738 743 > > Mob. +33 0 634 421 817 > > <https://www.facebook.com/PatentPulse> facebook (1) > <https://twitter.com/matheosoftware> 1425551717 > <https://www.linkedin.com/company/matheo-software> 1425551737 > <https://www.youtube.com/user/MatheoSoftware> 1425551760 > > > > > > _____ > > > <https://www.avast.com/antivirus> Avast logo > > L'absence de virus dans ce courrier électronique a été vérifiée par le > logiciel antivirus Avast. > www.avast.com <https://www.avast.com/antivirus> > > > > > > > > -- > L'absence de virus dans ce courrier électronique a été vérifiée par le > logiciel antivirus Avast. > https://www.avast.com/antivirus