Todos los comandos · context

pm search

Search items with keyword, semantic, or hybrid retrieval. Inline field:value tokens (tag:/status:/type:/priority:) in the query are parsed as filters, e.g. 'auth tag:area:search status:open'.

Finds relevant items by keyword, semantic, or hybrid retrieval modes.

Uso

pm search [options] <keywords...>

Argumentos

<keywords…>Keyword query tokensobligatorio

Opciones

--for <intent>Apply a declared context intent projection. Allowed core values: discover. Configured package and workspace intents may extend this domain.opcional
--token-budget <n>Override the selected intent's maximum estimated output tokensopcional
--mode <value>Search mode: keyword|semantic|hybrid (default: auto)opcional
--semanticShorthand for --mode semanticopcional
--hybridShorthand for --mode hybridopcional
--match-mode <value>Token match mode: and|or|exact (default: or with all-terms ranking bonus; and = hard-require every token; exact = exact phrase)opcional
--min-score <value>Per-query minimum score threshold (finite number >= 0); overrides settings search.score_threshold for this query onlyopcional
--countReturn only the count of matching items (post-filter/threshold, pre-limit); skips hit rowsopcional
--semantic-weight <value>Override hybrid semantic weight for this query (0..1); invalid values fall back to settingsopcional
--include-linkedInclude linked files, docs, and tests in the searchable corpusopcional
--title-exactRequire exact normalized title match for the full query stringopcional
--phrase-exactRequire exact normalized phrase match in searchable textopcional
--highlightEmit per-field matched-text snippets (wrapped in «…») on each hit; off by defaultopcional
--status <value>Filter by status before query (all, open/closed/canceled aliases, or configured status id; CSV)opcional
--type <value>Filter by item typeopcional
--tag <value>Filter by tagopcional
--priority <value>Filter by priorityopcional
--deadline-before <value>Filter by deadline upper bound (ISO/date string or relative)opcional
--deadline-after <value>Filter by deadline lower bound (ISO/date string or relative)opcional
--updated-after <value>Filter by updated_at lower bound: ISO timestamp or signed relative (e.g. "-2h"/"-7d" for the past)opcional
--updated-before <value>Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d)opcional
--created-after <value>Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d)opcional
--created-before <value>Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d)opcional
--assignee <value>Filter by assigneeopcional
--sprint <value>Filter by sprintopcional
--release <value>Filter by releaseopcional
--parent <value>Filter by parent item IDopcional
--compactRender compact search hits (default; mutually exclusive with --full/--fields)opcional
--fullRender full search hits with nested item payloads (mutually exclusive with --compact/--fields)opcional
--fields <value>Render custom comma-separated search hit fields (mutually exclusive with --compact/--full). Allowed core values: acceptance_criteria|actual_result|affected_version|assignee|author|blocked_by|blocked_reason|close_reason|comments|component|confidence|created_at|customer_impact|deadline|definition_of_ready|dependencies|description|docs|environment|estimated_minutes|events|expected_result|files|fixed_version|goal|highlights|id|impact|learnings|matched_fields|notes|objective|order|outcome|parent|plan|priority|rank|regression|release|reminders|reporter|repro_steps|resolution|reviewer|risk|score|severity|sprint|status|tags|tests|title|type|updated_at|value|why_now. item.<field> aliases and configured runtime metadata fields are also accepted.opcional
--format <value>Search output format override: json|ndjson|toonopcional
--limit <n>Limit returned item countopcional
--after <cursor>Continue after an opaque next_cursor from a previous search responseopcional
--has-notesShow only items that have notesopcional
--has-learningsShow only items that have learningsopcional
--has-filesShow only items that have linked filesopcional
--has-docsShow only items that have linked docsopcional
--has-testsShow only items that have linked testsopcional
--has-commentsShow only items that have commentsopcional
--has-depsShow only items that have dependenciesopcional
--has-bodyShow only items that have a non-empty bodyopcional
--has-linked-commandShow only items whose linked tests carry a runnable commandopcional
--no-notesShow only items that have no notesopcional
--no-learningsShow only items that have no learningsopcional
--no-filesShow only items that have no linked filesopcional
--no-docsShow only items that have no linked docsopcional
--no-testsShow only items that have no linked testsopcional
--no-commentsShow only items that have no commentsopcional
--no-depsShow only items that have no dependenciesopcional
--empty-bodyShow only items with an empty bodyopcional
--no-linked-commandShow only items whose linked tests carry no runnable commandopcional
--filter-reviewer-missingShow only items missing revieweropcional
--filter-risk-missingShow only items missing riskopcional
--filter-confidence-missingShow only items missing confidenceopcional
--filter-sprint-missingShow only items missing sprintopcional
--filter-release-missingShow only items missing releaseopcional

Ejemplos

pm search "lock stale retry" --mode keyword --limit 10

Comandos relacionados