solr's admin ui - where does the data come from?
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.TRANSCRIPT
![Page 1: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/1.jpg)
![Page 2: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/2.jpg)
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?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/3.jpg)
![Page 4: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/4.jpg)
![Page 5: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/5.jpg)
![Page 6: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/6.jpg)
![Page 7: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/7.jpg)
![Page 8: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/8.jpg)
![Page 9: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/9.jpg)
![Page 10: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/10.jpg)
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?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/11.jpg)
Solr <= 4.4.0
![Page 12: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/12.jpg)
Solr >= 4.5.0
![Page 13: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/13.jpg)
admin.ShowFileRequestHandler
admin.LukeRequestHandler
admin.SystemInfoHandler
ReplicationHandler
PingRequestHandler
![Page 14: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/14.jpg)
admin.FieldAnalysisRequestHandler
admin.LukeRequestHandler
![Page 15: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/15.jpg)
admin.FieldAnalysisRequestHandler
![Page 16: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/16.jpg)
admin.SolrInfoMBeanHandler
![Page 17: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/17.jpg)
admin.SolrInfoMBeanHandler
![Page 18: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/18.jpg)
StandardRequestHandler
![Page 19: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/19.jpg)
StandardRequestHandler
![Page 20: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/20.jpg)
admin.LukeRequestHandler
![Page 21: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/21.jpg)
dataimport.DataImportHandler
![Page 22: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/22.jpg)
dataimport.DataImportHandler
![Page 23: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/23.jpg)
servlet.ZookeeperInfoServlet
![Page 24: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/24.jpg)
servlet.ZookeeperInfoServlet
![Page 25: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/25.jpg)
servlet.ZookeeperInfoServlet
![Page 26: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/26.jpg)
servlet.ZookeeperInfoServlet
![Page 27: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/27.jpg)
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?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/28.jpg)
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?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/29.jpg)
Browser
Solr
![Page 30: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/30.jpg)
API
Browser
Your favorite Tool(Something thatspeaks HTTP)
“core”
Solr
![Page 31: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/31.jpg)
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?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/32.jpg)
Use Cases
![Page 33: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/33.jpg)
Upcoming
![Page 34: Solr's Admin UI - Where does the data come from?](https://reader033.vdocuments.net/reader033/viewer/2022060108/55502e7fb4c9058f2f8b4d04/html5/thumbnails/34.jpg)
Thanks =)Questions?