The last time I tried using SolrPHPClient for this stuff, it did not really
handle the response very well because of the JSON response generated on the
server side.

I am not sure if anything has changed since then.

The JSON code generated could not be parsed properly.

If you do not want to analyze the xml response each time and if you are not
using the pecl extension you will need to send a request manually to the
solr server using CURL and you have to specify the response format as phps


On Tue, Mar 2, 2010 at 9:59 AM, stocki <st...@shopgate.com> wrote:

>
> Hey-
>
> No i use the SolrPHPClient http://code.google.com/p/solr-php-client/
> i not really want tu use two different php-libs. ^^
>
> what do you mean with unserialize ? XD
>
>
>
>
>
> Guillaume Rossolini-2 wrote:
> >
> > Hi
> >
> > Have you tried the php_solr extension from PECL?  It has a handy
> > SolrPingResponse class.
> > Or you could just call the CORENAME/admin/ping?wt=phps URL and
> unserialize
> > it.
> >
> > Regards,
> >
> > --
> > I N S T A N T  |  L U X E - 44 rue de Montmorency | 75003 Paris | France
> > Tél. : 01 80 50 52 51 | Mob. : 06 09 96 10 29 | web :
> www.instantluxe.com
> >
> >
> > On Tue, Mar 2, 2010 at 2:50 PM, stocki <st...@shopgate.com> wrote:
> >
> >>
> >> hello
> >>
> >> I use Solr in my cakePHP Framework.
> >>
> >> How can i get status information of my solr cores ??
> >>
> >> I dont want analyze everytime the responseXML.
> >>
> >> do anybody know a nice way to get status messages from solr ?
> >>
> >> thx ;) Jonas
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/get-Server-Status%2C-TotalDocCount-....-PHP-%21-tp27756118p27756118.html
> >> Sent from the Solr - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/get-Server-Status%2C-TotalDocCount-....-PHP-%21-tp27756118p27756852.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
"Good Enough" is not good enough.
To give anything less than your best is to sacrifice the gift.
Quality First. Measure Twice. Cut Once.
http://www.israelekpo.com/

Reply via email to