HI Erick:
At the page you have show me, I found some useful methods.
But it seems like not contains method about how to obtain core names,core
paths.
so,I followed the solr index page's method,wrote a jsp page ,like:
CoreContainer
cores=(CoreContainer)request.getAttribute("org.apache.solr.CoreCo
hi Stefan,
thanks for your advice,i wrote a jsp file to obtain those information.
witch looks like :
CoreContainer
cores=(CoreContainer)request.getAttribute("org.apache.solr.CoreContainer");
then cores.getCores() get core informations.
later I translate infos to json format.
at client side.I u
http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/request/CoreAdminRequest.html
That should get you started.
Best
Erick
On Tue, Jul 19, 2011 at 11:40 PM, Jiang mingyuan
wrote:
> hi all,
>
> Our solr server contains two cores:core0,core1,and they both works well.
>
> Now I'am t
Jiang,
what about http://wiki.apache.org/solr/CoreAdmin#STATUS ?
Regards
Stefan
Am 20.07.2011 05:40, schrieb Jiang mingyuan:
hi all,
Our solr server contains two cores:core0,core1,and they both works well.
Now I'am trying to find a way to get information about core0 and core1.
Can solrj or
hi all,
Our solr server contains two cores:core0,core1,and they both works well.
Now I'am trying to find a way to get information about core0 and core1.
Can solrj or other api do this?
thanks very much.