34

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

Embed Size (px)

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

Page 1: Solr's Admin UI - Where does the data come from?
Page 2: Solr's Admin UI - Where does the data come from?

WHERE DOES THE DATA COME FROM?

Stefan MatheisFreelance Software Engineer, Lucene/Solr [email protected]

Page 3: Solr's Admin UI - Where does the data come from?
Page 4: Solr's Admin UI - Where does the data come from?
Page 5: Solr's Admin UI - Where does the data come from?
Page 6: Solr's Admin UI - Where does the data come from?
Page 7: Solr's Admin UI - Where does the data come from?
Page 8: Solr's Admin UI - Where does the data come from?
Page 9: Solr's Admin UI - Where does the data come from?
Page 10: Solr's Admin UI - Where does the data come from?

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

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

Solr <= 4.4.0

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

Solr >= 4.5.0

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

admin.ShowFileRequestHandler

admin.LukeRequestHandler

admin.SystemInfoHandler

ReplicationHandler

PingRequestHandler

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

admin.FieldAnalysisRequestHandler

admin.LukeRequestHandler

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

admin.FieldAnalysisRequestHandler

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

admin.SolrInfoMBeanHandler

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

admin.SolrInfoMBeanHandler

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

StandardRequestHandler

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

StandardRequestHandler

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

admin.LukeRequestHandler

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

dataimport.DataImportHandler

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

dataimport.DataImportHandler

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

servlet.ZookeeperInfoServlet

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

servlet.ZookeeperInfoServlet

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

servlet.ZookeeperInfoServlet

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

servlet.ZookeeperInfoServlet

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

admin.SystemInfoHandler

admin.LoggingHandler

servlet.ZookeeperInfoServlet*

admin.CoreAdminHandler

admin.PropertiesRequestHandler

admin.ThreadDumpHandler

namespace org.apache.solr.handler;

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

admin.ShowFileRequestHandler

admin.LukeRequestHandler

admin.SystemInfoHandler

ReplicationHandler

PingRequestHandler

admin.FieldAnalysisRequestHandler

dataimport.DataImportHandler*

UpdateRequestHandler

admin.SolrInfoMBeanHandler

StandardRequestHandler

namespace org.apache.solr.handler;

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

Browser

Solr

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

API

Browser

Your favorite Tool(Something thatspeaks HTTP)

“core”

Solr

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

10.0.0.1 10.0.0.2

public.host.tld10.0.0.3

Browser

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

Use Cases

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

Upcoming

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

Thanks =)Questions?