Indexers 

An indexer knows how to read, process and index the records of one record type. There is exactly one indexer per record type, and any number of indexing services (see Indexing service) can configure it.

Standard fields 

Every indexer sends these fields to Algolia:

Field Description
uid The UID of the record.
pid The page ID of the record.
type The record type, i.e. the table name.
indexed The time of indexing.
created The creation time of the record, if available.
changed The time of the last change of the record, if available.

Field mapping 

Which record fields are sent to Algolia, and under which attribute name, is configured per table in TypoScript under module.tx_typo3searchalgolia.indexer.<table>.fields, in the form <record field> = <attribute name>. The defaults are listed on the page of each indexer.

When records are indexed 

Records are indexed through the indexing queue:

  • Creating or updating a record in the backend queues it for reindexing. A hidden record, or one with Include in Search disabled, is removed from the queue and from the index instead. Deleting a record removes it from the queue and from the index. The saved record itself is only queued by indexing services of its own site, see Search engine. Saving an enabled page also queues its content elements for every content element indexing service that covers them, whatever site the service belongs to. Saving a hidden page, or one with Include in Search disabled, removes its content elements from the queue and the index instead.
  • The Queue backend module queues all records of the selected indexing services. It skips hidden subpages of the pages selected in Pages (recursively), together with their subpages and the records on them.
  • The console command mkk:queue:index:worker, usually run as a scheduler task, processes the queue and sends the records to Algolia.