Spec-Zone.ru › Linux man pages

pmsearchtextsuggest(3) — Справочная страница Linux

PMSEARCHTEXTSUGGEST(3)  Library Functions Manual  PMSEARCHTEXTSUGGEST(3)

ИМЯ

       pmSearchTextSuggest - search for suggestions of metric or
       instance names using PCP search services

СИНТАКСИС (C)

       #include <pcp/pmwebapi.h>

       int pmSearchTextSuggest(pmSearchSettings *settings,
       pmSearchTextRequest *request, void *arg);

       cc ... -lpcp_web

ОПИСАНИЕ

       Executes full-text search for names of metrics or instances
       suitable for auto-completion, specified by request:

       query
            Query string that will be used to search.

       count
            Limits number of results. Defaults to 10.

       Words with length less than 2 are omitted.

       This search matches terms inside entity name that either have
       query prefix or are within Levenshtein distance of 1, with former
       having slightly higher priority than the latter.

       Each entity matched by the request above will be passed to
       on_text_result callback provided by settings.

ДИАГНОСТИКА

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

СМОТРИТЕ ТАКЖЕ

       pmproxy(1), pmlogger(1), pmsearch(1), redis-server(1),
       pmSearchSetup(3), PMAPI(3) and PMWEBAPI(3).

КОЛОФОН

       This page is part of the PCP (Performance Co-Pilot) project.
       Information about the project can be found at 
       ⟨http://www.pcp.io/⟩.  If you have a bug report for this manual
       page, send it to pcp@groups.io.  This page was obtained from the
       project's upstream Git repository
       ⟨https://github.com/performancecopilot/pcp.git⟩ on 2024-06-14.
       (At that time, the date of the most recent commit that was found
       in the repository was 2024-06-14.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

Performance Co-Pilot               PCP            PMSEARCHTEXTSUGGEST(3)

Страницы, которые ссылаются на эту страницу: pmsearchsetup(3), pmwebapi(3)


...
https://man7.org/linux/man-pages/man3/pmsearchtextsuggest.3.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API