On 2/1/24 08:09, Shawn Heisey wrote:
To verify that what I say is true, manually kick an optimize off when
you're NOT doing an import. If your index is named XXX, this command
would do it:
curl "http://hostname:port/solr/XXX/update?optimize=true"
That command is not working for me on SolrCloud version 9.5.0-SNAPSHOT.
I compiled this from an unmodified checkout of branch_9x on January 4th.
I believe this is due to changes in the optimize function that arrived
in Solr 7.5.0. The command returns almost immediately and doesn't
actually do anything.
This command works:
curl "http://localhost:8983/solr/XXX/update?optimize=true&maxSegments=1"
Thanks,
Shawn