understand the breadth and depth of solr via the admin ui: presented by upayavira

16
OCTOBER 13-16, 2016 AUSTIN, TX

Upload: lucidworks

Post on 16-Apr-2017

676 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira

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

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

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

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

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

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

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

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

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

The Demo: intro

•  A walkthrough the various tabs

Page 11: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira

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

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

The Demo: scoring

•  How do we understand scores?

Page 14: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira

The Demo: segments

•  Watching segment creation

Page 15: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira

The Demo: caching

•  Watch caches as queries occur

Page 16: Understand the Breadth and Depth of Solr via the Admin UI: Presented by Upayavira

The End

•  Thank you! •  Any questions?

•  [email protected] •  http://www.odoko.com