afs_search_defrag - AFS - Reference Guides

AFS Filters Description

Product
AFS
AFS_Version
7.11
Category
Reference Guides
language
English

The afs_search_defrag filter is deprecated.

The filter is declared with the afs_search_defrag type. It is in the antidot-paf package. It is a visitor filter.

This filter will only work if instanced after the afs_search_build filter.

This filter can be instantiated only once at any given moment. It will not read the "instances" parameter in the configuration.

The Search Defragmentation filter specifications are described in the following table:

Parameter name

Mandatory

Type

Default

Description

nb_db_threshold

No

integer

64

Each time databases number reaches nb_db_threshold, databases are defragmented.

hour

No

integer

0 (midnight)

If a PaF starts within this hour, databases are defragmented.

nb_reply_databases

No

integer

1

It is the number of databases wanted after defragmentation.

from_db_no

No

integer

1

Defragment reply databases from given database number to the last database number available in result directory.

to_db_no

No

integer

infinity

Defragment reply databases from the first database number until given database number.

max_doc_per_db

No

integer

infinity

It is the max number document per database wanted after defragmentation.