Not sure if it's simpler, but the JMX interface is more structured.
I think that just grabbing the page and parsing out the content with
your favorite tool (Ruby & Hpricot????) is pretty simple.
Eric
On Jun 1, 2009, at 1:17 PM, iamithink wrote:
Hello,
I'm looking for a simple way to automate (in a shell script) a
request for
the number of times an index has been optimized (since the Solr
webapp has
last started). I know that this information is available on the
Solr stats
page (http://host:port/solr/admin/stats.jsp) under Update
Handlers/stats/optimizes, but I'm looking for a simpler way than to
retrieve
the page using wget or similar and parse the HTML. More generally,
is there
a convenient way to get at the other data presented on the Stats
page? I'm
currently using Solr 1.2 but will be migrating to 1.3 soon in case
that
makes a difference.
Thanks...
--
View this message in context:
http://www.nabble.com/How-to-get-number-of-optimizes-tp23818563p23818563.html
Sent from the Solr - User mailing list archive at Nabble.com.
-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 |
http://www.opensourceconnections.com
Free/Busy: http://tinyurl.com/eric-cal