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

Preview:

Citation preview

O C T O B E R 1 3 - 1 6 , 2 0 1 6 • A U S T I N , T X

Understand the Breadth & Depth of Solr via the Admin UI Upayavira

Director and Trainer, Odoko

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

About Odoko

•  Provider of Training •  Delivery of courses •  Development of materials •  Teaching Solr courses since 2010 •  Started Elasticsearch training in 2015

About the Admin UI

•  Static HTML/JS consuming Solr APIs •  New in Solr 4.x •  Thanks to Stefan Matheis

About this Talk

•  Not many slides •  Lots of demo

About You

•  How much experience of Solr? •  How much use of admin UI? •  Ever looked at the source code?

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

Old and New UI

http://localhost:8983/solr/ http://localhost:8983/solr/index.html

The Demo: intro

•  A walkthrough the various tabs

The Demo: analysis

•  “Much Ado About Nothing” •  “To be or not to be”

The Demo: schema

•  Playing with the schema: changing field types

The Demo: scoring

•  How do we understand scores?

The Demo: segments

•  Watching segment creation

The Demo: caching

•  Watch caches as queries occur

The End

•  Thank you! •  Any questions?

•  upayavira@odoko.com •  http://www.odoko.com

Recommended