refactor(Algolia): tweak application config #1780
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of changes
Asana Ticket: No ticket
These are a few small changes in the Algolia backend configuration that shouldn't result in any noticeable changes.
use Mix.Config
is deprecated, so firstly this PR migrates the configuration to useimport Config
config :algolia, :keys,
so that's deleted here 💀config :algolia, :index_suffix
bit either, but I am planning on using it in my next PR, so I haven't deleted it.""
and test value of"_test"
to default of"_test"
and prod value of""
. This was me thinking it'd be better for us to query theroutes_test
,stops_test
,drupal_test
indexes when we're working on dev, whereas we can leave working with theroutes
/stops
/drupal
indexes to theMIX_ENV=prod
environment. (Note this isn't implemented yet though, everything's still working on the non-test indexes for now)General checks