Skip to content

Latest commit

 

History

History
570 lines (348 loc) · 6.09 KB

File metadata and controls

570 lines (348 loc) · 6.09 KB

Index Commands

index:list

Lists all magento indexes

Usage:

$ n98-magerun.phar index:list

Options

--help

Description:

Display this help message.

Shortcut:

-h

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--quiet

Description:

Do not output any message.

Shortcut:

-q

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--verbose

Description:

Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Shortcut:

-v-vvv

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--version

Description:

Display this application version.

Shortcut:

-V

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--ansi

Description:

Force ANSI output.

Shortcut:

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--no-ansi

Description:

Disable ANSI output.

Shortcut:

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--no-interaction

Description:

Do not ask any interactive question.

Shortcut:

-n

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--root-dir

Description:

Force magento root dir. No auto detection

Shortcut:

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

index:reindex

Reindex a magento index by code

Index by indexer code. Code is optional. If you don't specify a code you can pick a indexer from a list.

$ n98-magerun.phar index:reindex [code]

Since 1.75.0 it's possible to run mutiple indexers by seperating code with a comma.

i.e.

$ n98-magerun.phar index:reindex catalog_product_attribute,tag_summary

If no index is provided as argument you can select indexers from menu by "number" like "1,3" for first and third indexer.

Usage:

$ n98-magerun.phar index:reindex [index_code]

Arguments

index_code

Is required:

No

Is array:

No

Description:

Code of indexer.

Default:

n/a

Options

--help

Description:

Display this help message.

Shortcut:

-h

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--quiet

Description:

Do not output any message.

Shortcut:

-q

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--verbose

Description:

Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Shortcut:

-v-vvv

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--version

Description:

Display this application version.

Shortcut:

-V

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--ansi

Description:

Force ANSI output.

Shortcut:

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--no-ansi

Description:

Disable ANSI output.

Shortcut:

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--no-interaction

Description:

Do not ask any interactive question.

Shortcut:

-n

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--root-dir

Description:

Force magento root dir. No auto detection

Shortcut:

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

index:reindex:all

Reindex all magento indexes

Loops all magento indexes and triggers reindex.

Usage:

$ n98-magerun.phar index:reindex:all

Options

--help

Description:

Display this help message.

Shortcut:

-h

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--quiet

Description:

Do not output any message.

Shortcut:

-q

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--verbose

Description:

Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Shortcut:

-v-vvv

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--version

Description:

Display this application version.

Shortcut:

-V

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--ansi

Description:

Force ANSI output.

Shortcut:

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--no-ansi

Description:

Disable ANSI output.

Shortcut:

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--no-interaction

Description:

Do not ask any interactive question.

Shortcut:

-n

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a

--root-dir

Description:

Force magento root dir. No auto detection

Shortcut:

Accept value:

No

Is value required:

No

Is multiple:

No

Default:

n/a