Skip to content

index.pl

index.pl calls PADRE to index a collection's documents.

index.pl <collection config> [-reindex] [-instant-update]

Arguments

  • The collection configuration file must be specified, and must be a filesystem path to an existing, readable and valid collection configuration file.
  • -reindex may be specified
  • instant_update may be specified

Function

With no optional flags, index.pl will run PADRE over the "offline/data" subdirectory of the collections collection root. It will log output to the "offline/log" subdirectory and place the produced indexes in the "offline/idx" subdirectory.

The meanings of the optional flags are explained below.

-reindex

Create a new index in a temporary directory, and then activate it be copying it into the live "idx" directory. The query cache is then reloaded and the spelling dictionary recreated. This allows reindexing of live data with minimal interruption to live query processing.

-instant-update:

This instructs the index script that an instant update is being performed, which means that the indexer must be called using the secondary update option, and the data root will be ignored. Instead, a custom data directory live/secondary-data will be used.

See also

top

Funnelback logo
v15.24.0