Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9339475
D4809.id17044.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D4809.id17044.diff
View Options
diff --git a/data/common/common.yaml b/data/common/common.yaml
--- a/data/common/common.yaml
+++ b/data/common/common.yaml
@@ -1512,6 +1512,10 @@
cls: remote
url: "http://localhost:%{hiera('swh::remote_service::search::port')}/"
+swh::remote_service::search::config::search1:
+ cls: remote
+ url: "http://search1.internal.softwareheritage.org:%{hiera('swh::remote_service::search::port')}/"
+
swh::remote_service::search::config: "%{alias('swh::remote_service::search::config::empty')}"
# Indexer backend configurations
diff --git a/data/hostname/search1.internal.softwareheritage.org.yaml b/data/hostname/search1.internal.softwareheritage.org.yaml
--- a/data/hostname/search1.internal.softwareheritage.org.yaml
+++ b/data/hostname/search1.internal.softwareheritage.org.yaml
@@ -7,3 +7,5 @@
port: 9200
- host: search-esnode3.internal.softwareheritage.org
port: 9200
+
+swh::deploy::search::backend::listen::host: 0.0.0.0
diff --git a/data/hostname/webapp1.internal.softwareheritage.org.yaml b/data/hostname/webapp1.internal.softwareheritage.org.yaml
--- a/data/hostname/webapp1.internal.softwareheritage.org.yaml
+++ b/data/hostname/webapp1.internal.softwareheritage.org.yaml
@@ -15,18 +15,13 @@
swh::elasticsearch::nodes:
- host: search-esnode0.internal.staging.swh.network
port: 9200
-## End of search / staging specific configuration
+## End of search / staging specific configuration
swh::remote_service::storage::config: "%{alias('swh::remote_service::storage::config::saam')}"
swh::remote_service::search::config: "%{alias('swh::remote_service::search::config::localhost')}"
swh::deploy::reverse_proxy::services:
- webapp
-
-swh::deploy::search::backend::listen::host: 127.0.0.1
+
swh::deploy::search::config:
- search:
- cls: elasticsearch
- args:
- hosts: "%{alias('swh::elasticsearch::nodes')}"
- index_prefix: production
+ search: "%{alias('swh::remote_service::search::config::search1')}"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 9:42 AM (5 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3218847
Attached To
D4809: Plug webapp1 on the swh-search with live production data
Event Timeline
Log In to Comment