You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2016/10/07 15:04:20 UTC

[jira] [Commented] (SOLR-9611) Zeppelin - Solr Ref Guide improvement

    [ https://issues.apache.org/jira/browse/SOLR-9611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15555321#comment-15555321 ] 

Kevin Risden commented on SOLR-9611:
------------------------------------

The following default.*

{code}
default.driver   	org.apache.solr.client.solrj.io.sql.DriverImpl
default.url      	jdbc:solr://localhost:9983/?collection=techproducts
default.user   	solr
{code}

Allows %jdbc without the prefix. I wanted to keep it simple to start with. I can add a link to the JDBC interpreter docs since that would be helpful.

> Zeppelin - Solr Ref Guide 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) 
>          Components: documentation
>            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