You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/05/28 14:31:41 UTC

[Solr Wiki] Update of "SolPython" by AlexandruBadiu

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by AlexandruBadiu:
http://wiki.apache.org/solr/SolPython

The comment on the change is:
Added wt=json in the Json example query string.

------------------------------------------------------------------------------
  {{{
  from urllib2 import *
  import simplejson
- conn = urlopen('http://localhost:8983/solr/select?q=iPod')
+ conn = urlopen('http://localhost:8983/solr/select?q=iPod&wt=json')
  rsp = simplejson.load(conn)
  ...
  }}}