Re: API for using Multi cores with SolrJ

2010-10-18 Thread Ryan McKinley
On Mon, Oct 18, 2010 at 10:12 AM, Tharindu Mathew  wrote:
> Thanks Peter. That helps a lot. It's weird that this not documented anywhere. 
> :(

Feel free to edit the wiki :)


Re: API for using Multi cores with SolrJ

2010-10-18 Thread Tharindu Mathew
Thanks Peter. That helps a lot. It's weird that this not documented anywhere. :(

On Mon, Oct 18, 2010 at 3:42 PM, Peter Karich  wrote:
> I asked this myself ... here could be some pointers:
>
> http://lucene.472066.n3.nabble.com/SolrJ-and-Multi-Core-Set-up-td1411235.html
> http://lucene.472066.n3.nabble.com/EmbeddedSolrServer-in-Single-Core-td475238.html
>
>> Hi everyone,
>>
>> I'm trying to write some code for creating and using multi cores.
>>
>> Is there a method available for this purpose or do I have to do a HTTP
>> to a URL such as
>> http://localhost:8983/solr/admin/cores?action=STATUS&core=core0
>>
>> Is there an API available for this purpose. For example, if I want to
>> create a new core named "core01" and then check for the status and
>> then insert a document to that index of core01, how do I do it?
>>
>> Any help or a document would help greatly.
>>
>> Thanks in advance.
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>>
>
>
> --
> http://jetwick.com twitter search prototype
>
>



-- 
Regards,

Tharindu


Re: API for using Multi cores with SolrJ

2010-10-18 Thread Peter Karich
I asked this myself ... here could be some pointers:

http://lucene.472066.n3.nabble.com/SolrJ-and-Multi-Core-Set-up-td1411235.html
http://lucene.472066.n3.nabble.com/EmbeddedSolrServer-in-Single-Core-td475238.html

> Hi everyone,
>
> I'm trying to write some code for creating and using multi cores.
>
> Is there a method available for this purpose or do I have to do a HTTP
> to a URL such as
> http://localhost:8983/solr/admin/cores?action=STATUS&core=core0
>
> Is there an API available for this purpose. For example, if I want to
> create a new core named "core01" and then check for the status and
> then insert a document to that index of core01, how do I do it?
>
> Any help or a document would help greatly.
>
> Thanks in advance.
>
> --
> Regards,
>
> Tharindu
>
>   


-- 
http://jetwick.com twitter search prototype



API for using Multi cores with SolrJ

2010-10-14 Thread Tharindu Mathew
Hi everyone,

I'm trying to write some code for creating and using multi cores.

Is there a method available for this purpose or do I have to do a HTTP
to a URL such as
http://localhost:8983/solr/admin/cores?action=STATUS&core=core0

Is there an API available for this purpose. For example, if I want to
create a new core named "core01" and then check for the status and
then insert a document to that index of core01, how do I do it?

Any help or a document would help greatly.

Thanks in advance.

--
Regards,

Tharindu