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 yo...@apache.org on 2007/02/18 00:47:05 UTC

svn commit: r508826 - /lucene/solr/trunk/client/python/solr.py

Author: yonik
Date: Sat Feb 17 15:47:04 2007
New Revision: 508826

URL: http://svn.apache.org/viewvc?view=rev&rev=508826
Log:
fix typo  + allow multiple param values - Wade Leftwich

Modified:
    lucene/solr/trunk/client/python/solr.py

Modified: lucene/solr/trunk/client/python/solr.py
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/client/python/solr.py?view=diff&rev=508826&r1=508825&r2=508826
==============================================================================
--- lucene/solr/trunk/client/python/solr.py (original)
+++ lucene/solr/trunk/client/python/solr.py Sat Feb 17 15:47:04 2007
@@ -158,12 +158,12 @@
     if optimize: xstr='<optimize'
     if not waitSearcher:  #just handle deviations from the default
       if not waitFlush: xstr +=' waitFlush="false" waitSearcher="false"'
-      else: xstr += 'waitSearcher="false"'
+      else: xstr += ' waitSearcher="false"'
     xstr += '/>'
     return self.doUpdateXML(xstr)
 
   def search(self, **params):
-    request=urllib.urlencode(params)
+    request=urllib.urlencode(params, doseq=True)
     try:
       rsp = self.doPost(self.solrBase+'/select', request, self.formheaders)
       data = rsp.read()