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

Erick Erickson commented on BIGTOP-737:
---------------------------------------

Unless I misunderstand, I don't think it's a problem. SolrJ is just a client 
API that communicates over HTTP using a binary format rather than the XML or 
JSON etc. The incoming requests are handled by the UpdateRequestHandler that 
also handles XML, CSV and JSON updates. There's nothing extra required on the 
machine where Solr is running catch the request, the client code can really be 
thought of as sugar-coating on the lower-level HTTP protocol.
                
> Add tests accessing Solr via SolrJ
> ----------------------------------
>
>                 Key: BIGTOP-737
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-737
>             Project: Bigtop
>          Issue Type: Sub-task
>          Components: Tests
>            Reporter: Erick Erickson
>            Priority: Minor
>
> While I'm thinking about testing, the code in BIGTOP-736 uses HTTP. Another 
> viable way to access a Solr server is via the SolrJ Java API. This is 
> actually fairly simple, the tricky bit will be getting the classpath correct. 
> I'll attach a file that demonstrates a simple SolrJ test, which will fail 
> miserably unless we resolve the classpath correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to