Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18098004
D12967.id31237.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
644 B
Referenced Files
None
Subscribers
None
D12967.id31237.diff
View Options
diff --git a/src/applications/search/engine/PhabricatorElasticSearchEngine.php b/src/applications/search/engine/PhabricatorElasticSearchEngine.php
--- a/src/applications/search/engine/PhabricatorElasticSearchEngine.php
+++ b/src/applications/search/engine/PhabricatorElasticSearchEngine.php
@@ -15,7 +15,10 @@
}
public function isEnabled() {
- return (bool)PhabricatorEnv::getEnvConfig('search.elastic.host');
+ $this->uri = PhabricatorEnv::getEnvConfig('search.elastic.host');
+ $this->index = PhabricatorEnv::getEnvConfig('search.elastic.namespace');
+
+ return (bool)$this->uri;
}
public function setURI($uri) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 9, 5:43 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
9089827
Default Alt Text
D12967.id31237.diff (644 B)
Attached To
Mode
D12967: elasticsearch host quick fix
Attached
Detach File
Event Timeline
Log In to Comment