afs_doc_generator - AFS - Reference Guides

AFS Filters Description

Product
AFS
Platform
7.12
Category
Reference Guides
Language
English

The Document generator allows to generate synthetic documents based on its configuration Typically used for performance tests.

The filter is declared with the afs_doc_generator type. It is in the antidot-paf-misc package. It is a generator filter.

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

The Document Generator filter specifications are described in the following table:

Parameter name

Mandatory

Type

Default

Description

ndocs

Yes

integer

N/A

The number or documents to generate

text_size

No

integer

512

The size of the text that will be indexed

output_layer

No

layer

CONTENTS

Layer filled for each output document

Text is generated in the xpath /doc/text. Document id is in xpath /doc/id