I am trying to display the status of Solr Index to an admin in my application. This snippet would contain:
- Index Last Update Date
- Index Current Status (Idle | Indexing | Error)
- Button to Trigger Indexing on-demand
Note: I am using DataImportHandler to refresh my index.
I am using the Luke request handler to get the last updated time of the index: http://server.dev/solr/core/admin/luke?numTerms=0&fl=0
I could use the dataimporthandler's "status" command to get the Indexing status.
I was wondering if there's a way to get these parameters in a single request?