indexer Command

The indexer BASIC program rebuilds indexes on part or all of the files of the system.

Syntax

indexer {account.name} {(options)}

Parameter(s)

options

a

Uses the active list as the list of files to rebuild indexes.

n

Outputs report without pausing at the bottom of each page.

o

Overrides any existing index.

p

Directs output to system printer via the spooler.

The indexer command rebuilds indexes for:

 The entire file system, if no list is active or the account name is specified.

 A specific account, if the account name is specified with the command.

 Each account in an active list, if a list is active when the command is invoked.

This command is useful when an account-restore does not finish properly, or is voluntarily preempt.

Example(s)

indexer

Rebuilds all indexes in all accounts.

indexer prod

Rebuilds all indexes in the prod account.

select mds ’dm’ ’prod’ ’accounting’

[404] 3 items selected out of 37 items.

indexer

Rebuilds the indexes for the "dm", "prod", and "accounting accounts".

See Also

account-restore Command

Active List

B-Tree

create-index Command

delete-index Command

verify-index Command