cancel
Showing results for 
Search instead for 
Did you mean: 

Which “Mode” Setting for to use Index Management in 2.0

SOLVED

Which “Mode” Setting for to use Index Management in 2.0

I'm running 2.0.2

 

Which Mode setting should be used for Index Management -- `Update on Save` or `Update by Schedule`?

 

And why does `Update on Save` appear in red? Makes me think it is in error.

 

 

See screen shot --> https://drive.google.com/open?id=0Bytqhoir_Tt5aUt6TTBNTUN2X28

4 REPLIES

Re: Which “Mode” Setting for to use Index Management in 2.0

Hello,

 

It is important to have indexes always updated as soon as possible.

For example your customer will see wrong price because of old price index.

 

 

"Update on Save" does not work for all cases:

https://github.com/magento/magento2/issues/3111

 

Maybe it is why it is in red color.

 

 

"Update by Schedule" should work for all cases. But you should have cron jobs setup.

 

 

Stanislav

Re: Which “Mode” Setting for to use Index Management in 2.0

"Update by Schedule" should work for all cases. But you should have cron jobs setup. 

Stanislav


What specific cronjobs should I have setup then?

Re: Which “Mode” Setting for to use Index Management in 2.0

Hello,

 

It looks like normal magento cron job is enough:

 

http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-index.html#config-cli...

http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html#config-cli-...

 

 

I think most important for indexes is:

 

bin/magento cron:run

 

 

 

Stanislav

Re: Which “Mode” Setting for to use Index Management in 2.0

Perfect, thank you @Pektsekye