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 Julian Davchev <jm...@drun.net> on 2008/12/16 14:58:27 UTC
php client. json communication
Hi,
I am about to integrate solr for index/search of my documents/data.
It's php application but I see it should be no problem as solr works
with xml by default.
Is there any read php lib that will ease/help whole communication with
solr and if possible to send/receive json data.
I looked up archive list and seems not many discussions in php. Also
from manual it seems that it can only get json response but request
should always be xml.
Cheers,
RE: php client. json communication
Posted by "Plaatje, Patrick" <Pa...@getronics.com>.
Glad that's sorted. On the other issue (directly accessing solr from any
client) I think I saw a discussion on the list earlier, but I don't know
what the result was, browse through the archives and look for something
about security (I think).
Best,
patrick
-----Original Message-----
From: Julian Davchev [mailto:jmut@drun.net]
Sent: dinsdag 16 december 2008 23:02
To: solr-user@lucene.apache.org
Subject: Re: php client. json communication
I think I got it now. Search request is actually just simple url with
few params...no json or xml or fancy stuff needed.
I was concerned with this cause I need to use solr with javascript
directly, bypassing application and directly searching stuff.
Plaatje, Patrick wrote:
> Hi Julian,
>
> I'm a bit confused. The indexing is indeed being done through XML, but
> in searching it is possible to get JSON results by using the wt=json
> parameter, have a look here:
>
> http://wiki.apache.org/solr/SolJSON
>
> Best,
>
> Patrick
>
>
> -----Original Message-----
> From: Julian Davchev [mailto:jmut@drun.net]
> Sent: dinsdag 16 december 2008 22:39
> To: solr-user@lucene.apache.org
> Subject: Re: php client. json communication
>
> Hi,
> 1. Thanks for links, I looked at both. Still I think that solr ....or
> at least those php clients doesn't support jason as input.
> It's clear that it's possible to get json response.....but search is
> only possible via xml queries.
>
>
> Plaatje, Patrick wrote:
>
>> Or have a look at the Wiki, probably a better way to start:
>>
>> http://wiki.apache.org/solr/SolPHP
>>
>> Best,
>>
>> Patrick
>>
>> --------------------------------------------------------------
>> Just trying to help
>> http://www.ipros.nl/
>> --------------------------------------------------------------
>>
>> -----Original Message-----
>> From: KishoreVeleti CoreObjects [mailto:kishorev@coreobjects.com]
>> Sent: dinsdag 16 december 2008 15:14
>> To: solr-user@lucene.apache.org
>> Subject: Re: php client. json communication
>>
>>
>> Check out this link
>> http://www.ibm.com/developerworks/library/os-php-apachesolr/index.htm
>> l
>>
>> If anyone of you used it can you share your experiences.
>>
>> Thanks,
>> Kishore Veleti A.V.K.
>>
>>
>> Julian Davchev wrote:
>>
>>
>>> Hi,
>>> I am about to integrate solr for index/search of my documents/data.
>>> It's php application but I see it should be no problem as solr works
>>> with xml by default.
>>> Is there any read php lib that will ease/help whole communication
>>> with
>>>
>>>
>>
>>
>>> solr and if possible to send/receive json data.
>>>
>>> I looked up archive list and seems not many discussions in php. Also
>>> from manual it seems that it can only get json response but request
>>> should always be xml.
>>> Cheers,
>>>
>>>
>>>
>>>
>> --
>> View this message in context:
>> http://www.nabble.com/php-client.-json-communication-tp21033573p21033
>> 8
>> 06
>> .html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>>
>
>
Re: php client. json communication
Posted by Julian Davchev <jm...@drun.net>.
I think I got it now. Search request is actually just simple url with
few params...no json or xml or fancy stuff needed.
I was concerned with this cause I need to use solr with javascript
directly, bypassing application and directly searching stuff.
Plaatje, Patrick wrote:
> Hi Julian,
>
> I'm a bit confused. The indexing is indeed being done through XML, but
> in searching it is possible to get JSON results by using the wt=json
> parameter, have a look here:
>
> http://wiki.apache.org/solr/SolJSON
>
> Best,
>
> Patrick
>
>
> -----Original Message-----
> From: Julian Davchev [mailto:jmut@drun.net]
> Sent: dinsdag 16 december 2008 22:39
> To: solr-user@lucene.apache.org
> Subject: Re: php client. json communication
>
> Hi,
> 1. Thanks for links, I looked at both. Still I think that solr ....or at
> least those php clients doesn't support jason as input.
> It's clear that it's possible to get json response.....but search is
> only possible via xml queries.
>
>
> Plaatje, Patrick wrote:
>
>> Or have a look at the Wiki, probably a better way to start:
>>
>> http://wiki.apache.org/solr/SolPHP
>>
>> Best,
>>
>> Patrick
>>
>> --------------------------------------------------------------
>> Just trying to help
>> http://www.ipros.nl/
>> --------------------------------------------------------------
>>
>> -----Original Message-----
>> From: KishoreVeleti CoreObjects [mailto:kishorev@coreobjects.com]
>> Sent: dinsdag 16 december 2008 15:14
>> To: solr-user@lucene.apache.org
>> Subject: Re: php client. json communication
>>
>>
>> Check out this link
>> http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html
>>
>> If anyone of you used it can you share your experiences.
>>
>> Thanks,
>> Kishore Veleti A.V.K.
>>
>>
>> Julian Davchev wrote:
>>
>>
>>> Hi,
>>> I am about to integrate solr for index/search of my documents/data.
>>> It's php application but I see it should be no problem as solr works
>>> with xml by default.
>>> Is there any read php lib that will ease/help whole communication
>>> with
>>>
>>>
>>
>>
>>> solr and if possible to send/receive json data.
>>>
>>> I looked up archive list and seems not many discussions in php. Also
>>> from manual it seems that it can only get json response but request
>>> should always be xml.
>>> Cheers,
>>>
>>>
>>>
>>>
>> --
>> View this message in context:
>> http://www.nabble.com/php-client.-json-communication-tp21033573p210338
>> 06
>> .html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>>
>>
>
>
RE: php client. json communication
Posted by "Plaatje, Patrick" <Pa...@getronics.com>.
Hi Julian,
I'm a bit confused. The indexing is indeed being done through XML, but
in searching it is possible to get JSON results by using the wt=json
parameter, have a look here:
http://wiki.apache.org/solr/SolJSON
Best,
Patrick
-----Original Message-----
From: Julian Davchev [mailto:jmut@drun.net]
Sent: dinsdag 16 december 2008 22:39
To: solr-user@lucene.apache.org
Subject: Re: php client. json communication
Hi,
1. Thanks for links, I looked at both. Still I think that solr ....or at
least those php clients doesn't support jason as input.
It's clear that it's possible to get json response.....but search is
only possible via xml queries.
Plaatje, Patrick wrote:
> Or have a look at the Wiki, probably a better way to start:
>
> http://wiki.apache.org/solr/SolPHP
>
> Best,
>
> Patrick
>
> --------------------------------------------------------------
> Just trying to help
> http://www.ipros.nl/
> --------------------------------------------------------------
>
> -----Original Message-----
> From: KishoreVeleti CoreObjects [mailto:kishorev@coreobjects.com]
> Sent: dinsdag 16 december 2008 15:14
> To: solr-user@lucene.apache.org
> Subject: Re: php client. json communication
>
>
> Check out this link
> http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html
>
> If anyone of you used it can you share your experiences.
>
> Thanks,
> Kishore Veleti A.V.K.
>
>
> Julian Davchev wrote:
>
>> Hi,
>> I am about to integrate solr for index/search of my documents/data.
>> It's php application but I see it should be no problem as solr works
>> with xml by default.
>> Is there any read php lib that will ease/help whole communication
>> with
>>
>
>
>> solr and if possible to send/receive json data.
>>
>> I looked up archive list and seems not many discussions in php. Also
>> from manual it seems that it can only get json response but request
>> should always be xml.
>> Cheers,
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/php-client.-json-communication-tp21033573p210338
> 06
> .html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
Re: php client. json communication
Posted by Julian Davchev <jm...@drun.net>.
Hi,
1. Thanks for links, I looked at both. Still I think that solr ....or at
least those php clients doesn't support jason as input.
It's clear that it's possible to get json response.....but search is
only possible via xml queries.
Plaatje, Patrick wrote:
> Or have a look at the Wiki, probably a better way to start:
>
> http://wiki.apache.org/solr/SolPHP
>
> Best,
>
> Patrick
>
> --------------------------------------------------------------
> Just trying to help
> http://www.ipros.nl/
> --------------------------------------------------------------
>
> -----Original Message-----
> From: KishoreVeleti CoreObjects [mailto:kishorev@coreobjects.com]
> Sent: dinsdag 16 december 2008 15:14
> To: solr-user@lucene.apache.org
> Subject: Re: php client. json communication
>
>
> Check out this link
> http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html
>
> If anyone of you used it can you share your experiences.
>
> Thanks,
> Kishore Veleti A.V.K.
>
>
> Julian Davchev wrote:
>
>> Hi,
>> I am about to integrate solr for index/search of my documents/data.
>> It's php application but I see it should be no problem as solr works
>> with xml by default.
>> Is there any read php lib that will ease/help whole communication with
>>
>
>
>> solr and if possible to send/receive json data.
>>
>> I looked up archive list and seems not many discussions in php. Also
>> from manual it seems that it can only get json response but request
>> should always be xml.
>> Cheers,
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/php-client.-json-communication-tp21033573p21033806
> .html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>
RE: php client. json communication
Posted by "Plaatje, Patrick" <Pa...@getronics.com>.
Or have a look at the Wiki, probably a better way to start:
http://wiki.apache.org/solr/SolPHP
Best,
Patrick
--------------------------------------------------------------
Just trying to help
http://www.ipros.nl/
--------------------------------------------------------------
-----Original Message-----
From: KishoreVeleti CoreObjects [mailto:kishorev@coreobjects.com]
Sent: dinsdag 16 december 2008 15:14
To: solr-user@lucene.apache.org
Subject: Re: php client. json communication
Check out this link
http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html
If anyone of you used it can you share your experiences.
Thanks,
Kishore Veleti A.V.K.
Julian Davchev wrote:
>
> Hi,
> I am about to integrate solr for index/search of my documents/data.
> It's php application but I see it should be no problem as solr works
> with xml by default.
> Is there any read php lib that will ease/help whole communication with
> solr and if possible to send/receive json data.
>
> I looked up archive list and seems not many discussions in php. Also
> from manual it seems that it can only get json response but request
> should always be xml.
> Cheers,
>
>
--
View this message in context:
http://www.nabble.com/php-client.-json-communication-tp21033573p21033806
.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: php client. json communication
Posted by KishoreVeleti CoreObjects <ki...@coreobjects.com>.
Check out this link
http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html
If anyone of you used it can you share your experiences.
Thanks,
Kishore Veleti A.V.K.
Julian Davchev wrote:
>
> Hi,
> I am about to integrate solr for index/search of my documents/data.
> It's php application but I see it should be no problem as solr works
> with xml by default.
> Is there any read php lib that will ease/help whole communication with
> solr and if possible to send/receive json data.
>
> I looked up archive list and seems not many discussions in php. Also
> from manual it seems that it can only get json response but request
> should always be xml.
> Cheers,
>
>
--
View this message in context: http://www.nabble.com/php-client.-json-communication-tp21033573p21033806.html
Sent from the Solr - User mailing list archive at Nabble.com.