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

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

Hi [~lmccay]
The URL I mentioned in [my last 
comment|https://issues.apache.org/jira/browse/KNOX-528?focusedCommentId=15750764&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15750764]
 was to demonstrate a Solr only query - i.e. what I expect Knox to re-write the 
URL to, after the Rewrite Processor has run.

Indeed, query going to Knox looks like this

{{https://hdp24sandbox:8443/gateway/sandbox/solr/ExampleCollection/select?q=*.*&wt=json&indent=true}}

And I'd expect it to be re-written as (assuming solr is on the same machine)

{{http://hdp24sandbox/solr/ExampleCollection/select?q=*.*&wt=json&indent=true}}

The test which [~smore] has found is failing is one I wrote to test that the 
re-write rules I created do re-write this way.  So it's failing when asserting 
the re-written URL, rather than the one which is sent into Knox.


> 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