summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/solr/apache_solr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/solr/apache_solr.py b/indoteknik_custom/models/solr/apache_solr.py
index 6560c9b5..9ba3b721 100644
--- a/indoteknik_custom/models/solr/apache_solr.py
+++ b/indoteknik_custom/models/solr/apache_solr.py
@@ -22,10 +22,10 @@ class ApacheSolr(models.Model):
url = ''
if env == 'development':
- url = 'http://192.168.23.5:8983/solr/'
+ url = 'http://localhost:8983/solr/'
elif env == 'production':
url = 'http://34.101.189.218:8983/solr/'
-
+
return pysolr.Solr(url + schema, always_commit=False, timeout=10)
def get_doc(self, schema, id):