iDigBio / idigbio-search-api

Server-side code driving iDigBio's search functionality.
GNU General Public License v3.0
24 stars 5 forks source link

Update config to use new Elasticsearch server #49

Open nrejac opened 4 years ago

nrejac commented 4 years ago

See the following code that references a hard-coded value, 'c18node2.acis.ufl.edu': https://github.com/iDigBio/idigbio-search-api/blob/2b938666ffeb04476ba9293bfd6be600ed4b4235/src/config.js#L31

wilsotc commented 4 years ago

That value isn't used even in testing. config.search.index is but not config.search.server

nrejac commented 4 years ago

Great, definitely should be removed to avoid being misleading.

Here is another line that should be modified, after copying into 'info', info.server is deleted: https://github.com/iDigBio/idigbio-search-api/blob/124a086c8e56ac16e04dc6d2b3f2548d24ebd1f1/src/controllers/home.js#L56