Solr Extension - Changing the wt-Parameter from xml to json
| From: | Thomas Junghans | Date: | Mon, 21 Feb 2011 16:45:31 +0000 |
| Subject: | Solr Extension - Changing the wt-Parameter from xml to json | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-311501@lists.php.net to get a copy of this message | ||
Hi
I'm using the Solr extension (http://php.net/manual/en/book.solr.php) to create a search site
for a company. I am trying figure out a way of changing the "wt"-parameter from
"xml" to "json". I have searched already but with no success so far.
Further information to help with my question:
- http://wiki.apache.org/solr/CoreQueryParameters#wt
- Example 5 on http://www.php.net/manual/en/solr.examples.php
shows the "wt"-parameter set to "xml".
Thanks in advance!
tj