Page MenuHomePhabricator

elasticsearch host quick fix

Authored by fabe on May 21 2015, 3:44 PM.
Referenced Files
Unknown Object (File)
Tue, Feb 28, 10:27 AM
Unknown Object (File)
Sat, Feb 25, 12:43 AM
Unknown Object (File)
Wed, Feb 22, 1:32 PM
Unknown Object (File)
Mon, Feb 20, 2:10 AM
Unknown Object (File)
Feb 16 2023, 6:06 PM
Unknown Object (File)
Feb 12 2023, 6:38 PM
Unknown Object (File)
Feb 12 2023, 6:38 PM
Unknown Object (File)
Feb 12 2023, 6:37 PM



Quick fix for the elasticsearch search engine Ref T8274

Test Plan

Did a couple of searches

Diff Detail

rP Phabricator
Lint Not Applicable
Tests Not Applicable

Event Timeline

fabe retitled this revision from to elasticsearch host quick fix.
fabe updated this object.
fabe edited the test plan for this revision. (Show Details)
fabe added a reviewer: epriestley.

Can we just implement __construct().

That is:

public function __construct() {
  $this->uri = PhabricatorEnv::getEnvConfig('');
  $this->index = PhabricatorEnv::getEnvConfig('search.elastic.namespace');
fabe edited edge metadata.

just use a constructor

just wasn't sure if there was a bette place to actually call setURI/Index.

epriestley edited edge metadata.

I don't think there is, currently.

This revision is now accepted and ready to land.May 21 2015, 4:01 PM
This revision was automatically updated to reflect the committed changes.