You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Sphinx instance is shared between prod and stage envs. Both envs use different databases indeed, but sphinx' index is different. I want to make use of Symfony's configuration and override default config of the bundle to use different index names for each environment. Please make a configuration option that specifies the default index list.
The text was updated successfully, but these errors were encountered:
The index name is passed via the Query::from() method and has no default value. If you do not pass an index, an exception will be thrown by the Query::buildQuery() method.
I would create a custom parameter in your config files which you change depending on the environment you are working in. You then pass the custom parameter to the from() function in your business logic.
My Sphinx instance is shared between prod and stage envs. Both envs use different databases indeed, but sphinx' index is different. I want to make use of Symfony's configuration and override default config of the bundle to use different index names for each environment. Please make a configuration option that specifies the default index list.
The text was updated successfully, but these errors were encountered: