./bin/install-interpreter.sh --name solr --artifact com.lucidworks.zeppelin:zeppelin-solr:0.1.6
After running the above command
Restart Zeppelin
On the Interpreters page configure the 'solr' interpreter to point to a Solr base Url and default collection. Default JDBC parameters can also be set for use the with the "jdbc" Streaming Expression. The JDBC parameters will be automatically added to out-going jdbc calls if the jdbc Streaming Expression does not specify the connection parameters.
Create a notebook with the default interpreter set to Solr.
Commands:
Display help text in the note window. Command-specific help is provided if a valid command is provided as an argument.
Usage: help {specific-command}
Set a collection to use in the notebook.
Usage: use {collection_name}
Issue a search query and have the results displayed as table, collection param can be passed in here avoiding use {collection_name}
Usage: search {query-params}
Issue a query with facet fields and display the facet counts. No need to explicitly add facet=true
for these queries, collection param can be passed in here avoiding use {collection_name}
Usage: facet {facet-params}
Issue a streaming expression query and display the output as a table (No prefix required)
Usage: {stream-expr}
Issue an Solr SQL query and display the results as a table (No prefix required)
Usage: {sql-string}
solr
for interpreter name./interpreter/solr
directory to allow the installer to run..idea
project if the IDE promptsBuild Project
to verify