You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Prathik Puthran <pr...@gmail.com> on 2014/10/20 18:20:55 UTC

Verify if solr reload core is successful or not

Hi,

How do I verify if Solr core reload is successful or not? I use Solr 4.6.


To reload the core I send the below request:

http://hostname:7090/solr/admin/cores?action=RELOAD&core=core0&wt=json

Also is the above request synchronous ( I mean will the reload happen
before the response is recieved) or does it happen after we get the
response to the above request and we have to poll if the reload is
successful?

Thanks,
Prathik

Re: Verify if solr reload core is successful or not

Posted by Ramzi Alqrainy <ra...@gmail.com>.
The response would be 

<http://lucene.472066.n3.nabble.com/file/n4165076/Screen_Shot_2014-10-21_at_7.png> 



--
View this message in context: http://lucene.472066.n3.nabble.com/Verify-if-solr-reload-core-is-successful-or-not-tp4164981p4165076.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Verify if solr reload core is successful or not

Posted by Prathik Puthran <pr...@gmail.com>.
What would be the response if the Core reload failed due to incorrect
configurations?

Thanks,
Prathik

On Mon, Oct 20, 2014 at 11:24 PM, Ramzi Alqrainy <ra...@gmail.com>
wrote:

> when you hit a request in the browser
> http://localhost:8983/solr/admin/cores?action=RELOAD&core=core0
>
> you will receive this response
>
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
>    <lst name="responseHeader">
>       <int name="status">0</int>
>       <int name="QTime">1316</int>
>    </lst>
> </response>
>
> That means that every thing is fine
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Verify-if-solr-reload-core-is-successful-or-not-tp4164981p4164996.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Re: Verify if solr reload core is successful or not

Posted by Ramzi Alqrainy <ra...@gmail.com>.
when you hit a request in the browser
http://localhost:8983/solr/admin/cores?action=RELOAD&core=core0

you will receive this response
 
<?xml version="1.0" encoding="UTF-8"?>
<response>
   <lst name="responseHeader">
      <int name="status">0</int>
      <int name="QTime">1316</int>
   </lst>
</response>

That means that every thing is fine





--
View this message in context: http://lucene.472066.n3.nabble.com/Verify-if-solr-reload-core-is-successful-or-not-tp4164981p4164996.html
Sent from the Solr - User mailing list archive at Nabble.com.