You can use Luke request handler, but for improving the speed set
numTerms parameters to zero, like
http://localhost:8983/solr/admin/luke?numTerms=0
It will give you information about optimized state of index as bool
name=optimizedtrue/bool
More about this on Solr wiki:
Anybody who knows how to query an solr server whether it is optimized or not ?
As replication can config slave to pull the indexes after optimized ,so I
think there must be someway to query that .But I didn't find any document to
identify that , anyone knows ?
Thanks so much O(n_n)O