Alle Befehle · 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.

Aufruf

pm search [options] <keywords...>

Argumente

<keywords…>Keyword query tokenserforderlich

Optionen

--for <intent>Apply a declared context intent projection. Allowed core values: discover. Configured package and workspace intents may extend this domain.optional
--token-budget <n>Override the selected intent's maximum estimated output tokensoptional
--mode <value>Search mode: keyword|semantic|hybrid (default: auto)optional
--semanticShorthand for --mode semanticoptional
--hybridShorthand for --mode hybridoptional
--match-mode <value>Token match mode: and|or|exact (default: or with all-terms ranking bonus; and = hard-require every token; exact = exact phrase)optional
--min-score <value>Per-query minimum score threshold (finite number >= 0); overrides settings search.score_threshold for this query onlyoptional
--countReturn only the count of matching items (post-filter/threshold, pre-limit); skips hit rowsoptional
--semantic-weight <value>Override hybrid semantic weight for this query (0..1); invalid values fall back to settingsoptional
--include-linkedInclude linked files, docs, and tests in the searchable corpusoptional
--title-exactRequire exact normalized title match for the full query stringoptional
--phrase-exactRequire exact normalized phrase match in searchable textoptional
--highlightEmit per-field matched-text snippets (wrapped in «…») on each hit; off by defaultoptional
--status <value>Filter by status before query (all, open/closed/canceled aliases, or configured status id; CSV)optional
--type <value>Filter by item typeoptional
--tag <value>Filter by tagoptional
--priority <value>Filter by priorityoptional
--deadline-before <value>Filter by deadline upper bound (ISO/date string or relative)optional
--deadline-after <value>Filter by deadline lower bound (ISO/date string or relative)optional
--updated-after <value>Filter by updated_at lower bound: ISO timestamp or signed relative (e.g. "-2h"/"-7d" for the past)optional
--updated-before <value>Filter by updated_at upper bound: ISO timestamp or signed relative (-2h/+1d)optional
--created-after <value>Filter by created_at lower bound: ISO timestamp or signed relative (-2h/+1d)optional
--created-before <value>Filter by created_at upper bound: ISO timestamp or signed relative (-2h/+1d)optional
--assignee <value>Filter by assigneeoptional
--sprint <value>Filter by sprintoptional
--release <value>Filter by releaseoptional
--parent <value>Filter by parent item IDoptional
--compactRender compact search hits (default; mutually exclusive with --full/--fields)optional
--fullRender full search hits with nested item payloads (mutually exclusive with --compact/--fields)optional
--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.optional
--format <value>Search output format override: json|ndjson|toonoptional
--limit <n>Limit returned item countoptional
--after <cursor>Continue after an opaque next_cursor from a previous search responseoptional
--has-notesShow only items that have notesoptional
--has-learningsShow only items that have learningsoptional
--has-filesShow only items that have linked filesoptional
--has-docsShow only items that have linked docsoptional
--has-testsShow only items that have linked testsoptional
--has-commentsShow only items that have commentsoptional
--has-depsShow only items that have dependenciesoptional
--has-bodyShow only items that have a non-empty bodyoptional
--has-linked-commandShow only items whose linked tests carry a runnable commandoptional
--no-notesShow only items that have no notesoptional
--no-learningsShow only items that have no learningsoptional
--no-filesShow only items that have no linked filesoptional
--no-docsShow only items that have no linked docsoptional
--no-testsShow only items that have no linked testsoptional
--no-commentsShow only items that have no commentsoptional
--no-depsShow only items that have no dependenciesoptional
--empty-bodyShow only items with an empty bodyoptional
--no-linked-commandShow only items whose linked tests carry no runnable commandoptional
--filter-reviewer-missingShow only items missing revieweroptional
--filter-risk-missingShow only items missing riskoptional
--filter-confidence-missingShow only items missing confidenceoptional
--filter-sprint-missingShow only items missing sprintoptional
--filter-release-missingShow only items missing releaseoptional

Beispiele

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

Verwandte Befehle