lucidworks/zeppelin-solr

Name: zeppelin-solr

Owner: Lucidworks

Description: Apache Solr interpreter for Apache Zeppelin

Created: 2017-08-03 19:21:04.0

Updated: 2018-05-14 19:58:52.0

Pushed: 2018-05-14 19:58:50.0

Homepage: null

Size: 150

Language: Scala

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Zeppelin Solr Interpreter

Installation
  1. Download and untar Apache Zeppelin distribution if you don't have it already (Go lite or all)
  2. Install this interpreter via command
n/install-interpreter.sh --name zeppelin-solr --artifact com.lucidworks.zeppelin:zeppelin-solr:0.0.1-beta2

After running the above command

  1. Restart Zeppelin
  2. Create interpreter setting in 'Interpreter' menu on Zeppelin GUI
  3. Create a notebook with the 'solr' interpreter or configure the existing 'solr' interpreter to point to zkhost of SolrCloud

create-settings

Configuring the Interpreter

Set the config solr.zkhost in the Solr Interpreter settings. This should point to the zkhost of SolrCloud cluster

Commands list

List the collections in the SolrCloud

Usage: list

use

Set a collection to use in the notebook. Displays the defined fields that have data with their type

Usage: use {collection_name}

search

Issue a search query and have the results displayed as table

Usage: search {query-params}

facet

Issue a query with facet fields and display the facet counts

Usage: search {query-params}

stream

Issue a streaming expression query and display the output as a table

Usage: stream {stream-expr}

sql

Issue an Solr SQL query and display the results as a table

Usage: sql {sql-string}

Example

screenshot


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.