understand the breadth and depth of solr via the admin ui: presented by upayavira
TRANSCRIPT
![Page 1: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/1.jpg)
O C T O B E R 1 3 - 1 6 , 2 0 1 6 • A U S T I N , T X
![Page 2: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/2.jpg)
Understand the Breadth & Depth of Solr via the Admin UI Upayavira
Director and Trainer, Odoko
![Page 3: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/3.jpg)
About Me
• Buddhist name: Upayavira • Buddhist for a long time • ASF Member since 2005 • Lucene/Solr committer since June 2015 • Rewrote backend of Admin UI with Angular • Developer, Trainer, Consultant
![Page 4: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/4.jpg)
About Odoko
• Provider of Training • Delivery of courses • Development of materials • Teaching Solr courses since 2010 • Started Elasticsearch training in 2015
![Page 5: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/5.jpg)
About the Admin UI
• Static HTML/JS consuming Solr APIs • New in Solr 4.x • Thanks to Stefan Matheis
![Page 6: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/6.jpg)
About this Talk
• Not many slides • Lots of demo
![Page 7: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/7.jpg)
About You
• How much experience of Solr? • How much use of admin UI? • Ever looked at the source code?
![Page 8: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/8.jpg)
Preparation
$ svn co https://svn.apache.org/repos/asf/lucene/dev/trunk $ cd trunk/solr $ bin/solr -c -p 8985 -s example/cloud/node1/solr $ bin/solr -c -z localhost:9985 -p 8986 -s example/cloud/node2/solr $ server/scripts/cloud-scripts/zkcli.sh -cmd upconfig \ -confdir server/solr/configsets/sample_techproducts_configs/conf \ -confname techproducts -z localhost:9985 $ server/scripts/cloud-scripts/zkcli.sh -cmd upconfig \ -confdir server/solr/configsets/data_driven_schema_configs/conf \ -confname data-driven -z localhost:9985
![Page 9: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/9.jpg)
Old and New UI
http://localhost:8983/solr/ http://localhost:8983/solr/index.html
![Page 10: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/10.jpg)
The Demo: intro
• A walkthrough the various tabs
![Page 11: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/11.jpg)
The Demo: analysis
• “Much Ado About Nothing” • “To be or not to be”
![Page 12: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/12.jpg)
The Demo: schema
• Playing with the schema: changing field types
![Page 13: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/13.jpg)
The Demo: scoring
• How do we understand scores?
![Page 14: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/14.jpg)
The Demo: segments
• Watching segment creation
![Page 15: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira](https://reader035.vdocuments.net/reader035/viewer/2022062901/58f2bc021a28ab5e5b8b45c3/html5/thumbnails/15.jpg)
The Demo: caching
• Watch caches as queries occur