Hi Edwin,
Not sure if I understood your case, but if I got it right you are trying
to write some code that will run as part of SOLR.
If that's the case, then you should take a look how to write SOLR
plugins (https://wiki.apache.org/solr/SolrPlugins). SolrJ is client side
library that simplifies interactions between SOLR and other Java
applications - not base tool for extending SOLR.
Thanks,
Emir
--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/
On 22.07.2015 04:15, Zheng Lin Edwin Yeo wrote:
Hi,
Would like to check, as I've created a SorJ program and exported it as an
Runnable JAR, how do I integrate it together with Solr so that I can call
this JAR directly from Solr's REST API?
Currently I can only run it on command prompt using the command java -jar
solrj.jar
I'm using Solr 5.2.1.
Regards,
Edwin