[
https://issues.apache.org/jira/browse/KNOX-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853407#comment-15853407
]
Richard Ding commented on KNOX-841:
-----------------------------------
Thank you [~lmccay] and [~risdenk] for your comments and suggestions!
I tested again using https://github.com/risdenk/knox_solr_testing with the
rewrite rules in this Jira. I also added SOLR API for colocation test. Here are
what I found:
bq. 1. What exactly the expected deployment scenario is for SOLR UI and API in
terms of being colocated in the same topology or not - and if not, why
The SOLRUI service (service.xml and rewrite.xml) defined in this Jira is
actually a superset of the SOLRAPI service. Both services will work if they are
deployed into different topologies.
In a single topology deployment, SOLRUI service will suffice for both UI and
REST API. In fact, one CANNOT use both services in the same topology since both
services will apply to the same INbound urls but SOLRAPI service does not have
rewrite rules for OUTbound urls/javascripts.
bq. 2. What exactly needs to be tested for the most relevant UI to be available
in 0.12.0
Test with https://github.com/risdenk/knox_solr_testing but replacing SOLR
service with SOLRUI service in this Jira.
After all Docker containers are started, run the following command to create a
collection:
{code}
# docker-compose exec solr sh -c "./bin/solr create -c ExampleCollection -s 2
-replicationFactor 1 -d data_driven_schema_configs -p 8983"
{code}
Then you can run queries either on UI or from command line:
{code}
https://localhost:8443/gateway/default/solr/ExampleCollection/select?indent=on&q=*:*&wt=json
{code}
bq. 3. What the current status is of the patch
I've tested with above steps. Attached screenshot shows a simple query result.
As mentioned earlier, Solr 6.x deprecated "original UI" so there is no rewrite
rules for "original UI".
> Proxy support for Solr UI
> -------------------------
>
> Key: KNOX-841
> URL: https://issues.apache.org/jira/browse/KNOX-841
> Project: Apache Knox
> Issue Type: New Feature
> Components: Server
> Affects Versions: 0.10.0
> Reporter: Richard Ding
> Assignee: Richard Ding
> Fix For: 0.12.0
>
> Attachments: KNOX_841_1.patch, KNOX-841_2.patch, KNOX_841.patch
>
>
> Provide proxy UI support for the Solr UI.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)