diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-05-09 14:31:24 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-05-09 14:31:24 +0700 |
| commit | 11cbb8b3ce3e040ff98563c3c784fd315a217c3d (patch) | |
| tree | 6f88bf3fa8976aa70f0aa8c5613788797f21fdf9 | |
| parent | 71a71340d9dd73071b24adea5435cac8f41c5fd1 (diff) | |
bug fix error msg for input string
| -rw-r--r-- | indoteknik_custom/models/apache_solr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/apache_solr.py b/indoteknik_custom/models/apache_solr.py index f003e763..22e29627 100644 --- a/indoteknik_custom/models/apache_solr.py +++ b/indoteknik_custom/models/apache_solr.py @@ -6,8 +6,8 @@ import pysolr import time _logger = logging.getLogger(__name__) -_solr = pysolr.Solr('http://10.148.0.5:8983/solr/product/', always_commit=True, timeout=30) -# _solr = pysolr.Solr('http://34.101.189.218:8983/solr/product/', always_commit=True, timeout=30) # for development only +# _solr = pysolr.Solr('http://10.148.0.5:8983/solr/product/', always_commit=True, timeout=30) +_solr = pysolr.Solr('http://34.101.189.218:8983/solr/product/', always_commit=True, timeout=30) # for development only class ApacheSolr(models.Model): |
