Created
October 15, 2010 17:20
-
-
Save PharkMillups/628572 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14:35 <siculars> hey gang, how do you get the solr endpoint to output results in json in riak_search? | |
14:39 <jdmaturen> wt=FORMAT - Choose the format of the output. Options are "xml" and "json". | |
The default is "xml". | |
14:39 <jdmaturen> … much like the normal solr api :) | |
14:41 <seancribbs> siculars: wt=json yup | |
14:46 <siculars> hm .. so http://localhost:8098/solr/posts/select?q=tag:val returns what i | |
want in xml but when the query string is ?q=tag:val&wt=json i still get xml | |
14:48 <seancribbs> siculars: escape the & | |
14:48 <seancribbs> if you're in shell | |
14:48 <siculars> gr | |
14:48 <seancribbs> ;) | |
14:48 <siculars> grrrr. so smart, so smart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment