gerlowskija commented on code in PR #1681:
URL: https://github.com/apache/solr/pull/1681#discussion_r1411269237


##########
solr/modules/ltr/example/train_and_upload_demo_model.py:
##########
@@ -8,8 +8,15 @@
 
 from optparse import OptionParser
 
-solrQueryUrl = ""
+import solr
+from solr.api import querying_api
 
+def setupSolrClient(host, port):
+    '''Configures the Solr client with the specified Solr host/port'''
+    solr_client_config = solr.Configuration(
+            host = "http://"; + host + ":" + str(port) + "/api"

Review Comment:
   I think that's the plan eventually, yep.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to