summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/solr/apache_solr.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-09-08 11:24:15 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-09-08 11:24:15 +0700
commit3bf156fdc669bc57d729f2574f44a4beb4b7b79e (patch)
treec03a92f06c0a1da80139862928984a0fccbaad2f /indoteknik_custom/models/solr/apache_solr.py
parent12770546a41f846f721d32c296a598315c30b80b (diff)
add attributes to api product
Diffstat (limited to 'indoteknik_custom/models/solr/apache_solr.py')
-rw-r--r--indoteknik_custom/models/solr/apache_solr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/apache_solr.py b/indoteknik_custom/models/solr/apache_solr.py
index 518280ac..f05357bf 100644
--- a/indoteknik_custom/models/solr/apache_solr.py
+++ b/indoteknik_custom/models/solr/apache_solr.py
@@ -23,7 +23,7 @@ class ApacheSolr(models.Model):
if env == 'development':
url = 'http://192.168.23.5:8983/solr/'
elif env == 'production':
- url = 'http://10.148.0.5:8983/solr/'
+ url = 'http://34.101.189.218:8983/solr/'
return pysolr.Solr(url + schema, always_commit=True, timeout=30)