Most simple way (URL?) to trigger SOLR commit of all pending docs?
THIS HOLDS FOR SOLR VERSIONS < 5.0
Try [solr url]/update?commit=true
For example, with an URL like the SOLR example defaults, from the same machine, http://localhost:8983/solr/update?commit=true
should do it.
FOR SOLR VERSIONS >= 5.0
http://localhost:8983/solr/[collection_name]/update?commit=true
Since Solr 5 it is required to add collection name into the url, so now the right answer is:
http://localhost:8983/solr/collection_name/update?commit=true
In the previous versions it was possible to have a default collection (it was usually collection1, from the examples) and the shortened version was valid:
http://localhost:8983/solr/update?commit=true
Still, it was possible to name the collection like in the first case.
I would say there is something missing in "right" answer - URL should contain collection name like: http://localhost:8983/solr/mycollection/update?commit=true