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

John McParland commented on KNOX-528:
-------------------------------------

Thanks [~smore] and [~lmccay]

I'll update the 
[article|https://github.com/mcparlandjcgi/knox-help/blob/master/blog/KNOX_SOLR_PART1.md]
 - the use of "Knox" throughout is mostly my choice of name for a Solr 
collection.  It is confusing though.

In terms of the URL, it breaks down as follows

{noformat}
http://sandbox.hortonworks.com/solr/KnoxSolrIntegration/select?q=*.*&indent=true&wt=json
{noformat}

||Portion||Meaning||
||{noformat}http://sandbox.hortonworks.com/{noformat}||Host URL||
||{noformat}solr/{noformat}||Solr application web context||
||{noformat}KnoxSolrIntegration/{noformat}||The Solr collection to be queried 
(variable - I expect a user to specify it)||
||{noformat}select{noformat}||The type of Solr query to execute||
||{noformat}?{noformat}||Arguments to query follow this||
||{noformat}q=*.*{noformat}||The argument to the query, in this case it means 
select everything||
||{noformat}indent=true{noformat}||Indent the output||
||{noformat}wt=json{noformat}||Return json formatted string||

Ordering of everything after the {noformat}?{noformat} is not significant, so I 
can modify the test to take account of that.

The reason for chosing Solr 5.5.0 is that's what comes when one installs HDP 
Search on an HDP 2.4 sandbox.  I've generally based what I do off of the 2.4 
sandbox defaults, for ease of configuration management and testing.  I do not 
believe there's an API change in later versions.


> Support for Apache SOLR REST APIs
> ---------------------------------
>
>                 Key: KNOX-528
>                 URL: https://issues.apache.org/jira/browse/KNOX-528
>             Project: Apache Knox
>          Issue Type: Improvement
>            Reporter: Rick Kellogg
>            Assignee: John McParland
>             Fix For: 0.11.0
>
>         Attachments: KNOX-528.patch, KNOX-528_basicauth_squashed.patch, 
> KNOX-528_squashed.patch, knoxSolrTestEvidence.txt, solrTestEvidence.txt
>
>
> Add Knox support for routing and securing Apache SOLR's REST APIs
> See: https://wiki.apache.org/solr/Solrj



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to