Solr's Admin UI - Where does the data come from?

Preview:

DESCRIPTION

Like many Web-Applications in the past, the Solr Admin UI up until 4.0 was entirely server based. It used separate code on the server to generate their Dashboards, Overviews and Statistics. All that code had to be maintained and still ... you weren't really able to use that kind of data for the things you needed it for. It was wrapped into HTML, most of the time difficult to extract and changed the structure from time to time w/o announcement. After a short look back, we're going to look into the current state of the Solr Admin UI - a client-side application, running completely in your browser. We'll see how it works, where it gets its data from and how you can get the very same data and wire that into your own custom applications, dashboards and/oder monitoring systems.

Citation preview

WHERE DOES THE DATA COME FROM?

Stefan MatheisFreelance Software Engineer, Lucene/Solr Committersteffkes@apache.org

http://127.0.0.1:8983/solr/#/collection1/dataimport//dataimport

http://127.0.0.1:8983/solr/#/collection1/dataimport//dataimporthttp://127.0.0.1:8983/solr/#/collection1/dataimport//dataimporthttp://127.0.0.1:8983/solr/#/collection1/dataimport//dataimport

http://127.0.0.1:8983/solr/#/collection1/dataimport//dataimport

http://127.0.0.1:8983/solr/#/collection1/dataimport//dataimporthttp://127.0.0.1:8983/solr/#/collection1/dataimport//dataimporthttp://127.0.0.1:8983/solr/#/collection1/dataimport//dataimporthttp://127.0.0.1:8983/solr/#/collection1/dataimport//dataimport

Solr <= 4.4.0

Solr >= 4.5.0

admin.ShowFileRequestHandler

admin.LukeRequestHandler

admin.SystemInfoHandler

ReplicationHandler

PingRequestHandler

admin.FieldAnalysisRequestHandler

admin.LukeRequestHandler

admin.FieldAnalysisRequestHandler

admin.SolrInfoMBeanHandler

admin.SolrInfoMBeanHandler

StandardRequestHandler

StandardRequestHandler

admin.LukeRequestHandler

dataimport.DataImportHandler

dataimport.DataImportHandler

servlet.ZookeeperInfoServlet

servlet.ZookeeperInfoServlet

servlet.ZookeeperInfoServlet

servlet.ZookeeperInfoServlet

admin.SystemInfoHandler

admin.LoggingHandler

servlet.ZookeeperInfoServlet*

admin.CoreAdminHandler

admin.PropertiesRequestHandler

admin.ThreadDumpHandler

namespace org.apache.solr.handler;

admin.ShowFileRequestHandler

admin.LukeRequestHandler

admin.SystemInfoHandler

ReplicationHandler

PingRequestHandler

admin.FieldAnalysisRequestHandler

dataimport.DataImportHandler*

UpdateRequestHandler

admin.SolrInfoMBeanHandler

StandardRequestHandler

namespace org.apache.solr.handler;

Browser

Solr

API

Browser

Your favorite Tool(Something thatspeaks HTTP)

“core”

Solr

10.0.0.1 10.0.0.2

public.host.tld10.0.0.3

Browser

Use Cases

Upcoming

Thanks =)Questions?

Recommended