[
https://issues.apache.org/jira/browse/BIGTOP-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson updated BIGTOP-737:
----------------------------------
Attachment: TestIndexingSolrJ.groovy
Skeletal SolrJ program that performs a simple test. NOTE: I'm running this from
my personal build of Solr from my IDE, so the classpath will be unresolved.
> 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
> Attachments: TestIndexingSolrJ.groovy
>
>
> While I'm thinking about testing, the code in BIGTOP-736 uses lower-level
> HTTP requests. 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