You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Marius Grama (JIRA)" <ji...@apache.org> on 2016/10/07 14:39:22 UTC
[jira] [Created] (SOLR-9611) Zeppelin - Solr wiki improvement
Marius Grama created SOLR-9611:
----------------------------------
Summary: Zeppelin - Solr wiki improvement
Key: SOLR-9611
URL: https://issues.apache.org/jira/browse/SOLR-9611
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Marius Grama
I tried to use the documentation presented here:
https://cwiki.apache.org/confluence/display/solr/Solr+JDBC+-+Apache+Zeppelin
but I stumbled on the issue that my query wasn't correctly executed.
(discovered afterwards that solr interpreter wasn't attached to my document)
After some digging, I've just added the following properties to the jdbc interpreter:
{code}
solr.driver org.apache.solr.client.solrj.io.sql.DriverImpl
solr.url jdbc:solr://localhost:9983/?collection=techproducts
solr.user solr
{code}
and in my notebook i used the following snippet:
{code}
%jdbc(solr)
SELECT cat_s, pubyear_i, title_t FROM books
{code}
I have used this documentation to make use of prefixed jdbc interpreter:
http://zeppelin.apache.org/docs/0.6.0/interpreter/jdbc.html
Could somebody maybe update the document:
https://cwiki.apache.org/confluence/display/solr/Solr+JDBC+-+Apache+Zeppelin
for an easier accomodation of new users that are trying Zeppelin - Solr integration?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org