Skip to content

Commit 8625a7c

Browse files
committed
Remove no longer needed sim search settings
1 parent 450bfa2 commit 8625a7c

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

freesound/settings.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,13 +1210,6 @@
12101210
SEARCH_LOG_SLOW_QUERIES_MS_THRESHOLD = 1000 # Log search queries that take longer than this threshold in milliseconds. Set it to -1 to disable logging of slow queries.
12111211
SEARCH_LOG_SLOW_QUERIES_QUERY_BASE_URL = "http://localhost:8983/solr/freesound/select/"
12121212

1213-
# -------------------------------------------------------------------------------
1214-
# Similarity client settings
1215-
SIMILARITY_ADDRESS = "similarity"
1216-
SIMILARITY_PORT = 8008
1217-
SIMILARITY_INDEXING_SERVER_PORT = 8009
1218-
SIMILARITY_TIMEOUT = 10
1219-
12201213
# -------------------------------------------------------------------------------
12211214
# Tag recommendation client settings
12221215
TAGRECOMMENDATION_ADDRESS = "tagrecommendation"

freesound/test_settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
SEARCH_ENGINE_BACKEND_CLASS = (
3939
"utils.search.backends.solr9pysolr.Solr9PySolrSearchEngine" # Test with our own custom search engine functions
4040
)
41-
SIMILARITY_ADDRESS = "fakehost" # Avoid making accidental requests to "real" similarity server if running
4241
TAGRECOMMENDATION_ADDRESS = "fakehost" # Avoid making accidental requests to "real" tag rec server if running
4342

4443
# Disable debug toolbar (it will have been enabled because when importing settings and checking local_settings, the

0 commit comments

Comments
 (0)