Re: Running SolrJ from Solr's REST API

2015-07-22 Thread Zheng Lin Edwin Yeo
Hi Emir,

Yes, I'm trying to write some codes that will run as part of Solr.

I'll probably try out the Solr plugins.

Thanks for your information and advice.

Regards,
Edwin


On 22 July 2015 at 18:56, Emir Arnautovic 
wrote:

> 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
>>
>>
>


Re: Running SolrJ from Solr's REST API

2015-07-22 Thread Emir Arnautovic

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





Running SolrJ from Solr's REST API

2015-07-21 Thread Zheng Lin Edwin Yeo
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