pmSearchInfo(3)

pmSearchInfo3

Diagnostic metrics of pcp search services

C synopsis

#include <pcp/pmwebapi.h>

int pmSearchInfo(pmSearchSettings *settings, sds key, void *arg);

cc ... -lpcp_web

Overview

Provides diagnostic information about the Performance Co-Pilot (PCP) full-text search index.

Diagnostic metrics are requestable by passing in key with a value of `text'. The results (such as document count) will be passed to the on_metrics callback provided by settings.

Diagnostics

This function always returns zero on success. On failure a negative PMAPI error code is returned.

Releases

4 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11–12
  2. 13
  3. Arch

From pcp 7.2.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.