[
https://issues.apache.org/jira/browse/BIGTOP-737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473633#comment-13473633
]
Roman Shaposhnik commented on BIGTOP-737:
-----------------------------------------
Erick, my understanding is that SolrJ requires a physical presence on the same
host where Solr is running. If that's the case we might have an issue with
Bigtop tests, since our tests are typically executed from a dedicated 'gateway'
host that doesn't actually have any active daemons running on it.
Of course, if there's an option of using SolrJ remotely -- that'll be quite
nice.
> 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