---
title: "tx_solr.statistics"
manual: "Apache Solr for TYPO3"
version: "11.2"
source: "Configuration/Reference/TxSolrStatistics.rst"
modified: "2026-09-16T15:10:57+00:00"
---

# tx_solr.statistics

This section allows you to configure the logging for statistics.

**Note**: The statistics are logged into a mysql table. This might not make sense for high frequently used searches. In this case you should think about to connect a dedicated tracking tool.

## statistics

-   *Type:* Boolean
-   *TS Path:* plugin.tx_solr.statistics
-   *Since:* 2.0
-   *Default:*

Set `plugin.tx_solr.statistics = 1` to log statistics.

## statistics.anonymizeIP

-   *Type:* Integer
-   *TS Path:* plugin.tx_solr.statistics.anonymizeIP
-   *Since:* 2.0
-   *Default:*

Allowed values are 0 (masking disabled), 1 (mask host), 2 (mask host and subnet).

## statistics.addDebugData

-   *Type:* Boolean
-   *TS Path:* plugin.tx_solr.statistics.addDebugData
-   *Since:* 6.1
-   *Default:*

Adds debug data to the columns `time_total`, `time_preparation` and `time_processing` in the table `tx_solr_statistics`
from the result of the search query.

**Note**: Enabling addDebugData can have performance impact since debugMode is appended to queries.
