relevanssiRelevanssi (search) Abilities
Site search integration. Search-plugin health: index state and scale, query-log statistics, and configured search forms. Read-only diagnostic.
manage_options 3Available Tools (3)
relevanssi_get_index_statusmanage_optionsRelevanssi search-index health: whether the index has been built (index_state: done / not_built), the number of indexed documents and distinct terms (read from Relevanssi's own cached count options, with a live COUNT fallback), whether query logging is enabled, and the total logged-query count when it is. Read-only.
Parameter Schema0 parameters
{
"type": "object",
"properties": {}
}relevanssi_get_query_statsmanage_optionsAggregate Relevanssi query-log statistics: total logged searches, distinct search terms, average hits per search, and the top search terms by hit count (query text and hit count only). Requires query logging to be enabled (see relevanssi_get_index_status). The log table stores user ids, IPs, and session ids - those columns are never selected. Read-only.
Parameter Schema1 parameter
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Maximum top queries to return (default 10, max 50)."
}
}
}relevanssi_searchmanage_optionsRun a search through Relevanssi's own index (relevanssi_do_query) and return the matching posts: id, title, post type, and permalink, capped at 20 results with the total match count. Bounded by design; not a replacement for the core search tool, but the way to see what the Relevanssi index (which can include custom fields, taxonomies, and user content) actually matches. Read-only.
Parameter Schema1 parameter
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search phrase, passed to Relevanssi as typed."
}
},
"required": [
"query"
]
}