Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Consistent search query predicate names #39767

@benvenker

Description

@benvenker

Rename:

repo:contains(file:foo content:bar) => repo:contains.file(path:foo content:bar)
repo:contains.file(foo) => repo:contains.path(foo)

After rename, add aliases for:

  • repo:contains.file(path:foo content:bar) => repo:has.file(path:foo content:bar)

  • repo:contains.content(foo) => repo:has.content(foo)

  • repo:contains.path(foo) => repo:has.path(foo)

  • repo:contains.commit.after(foo) => repo:has.commit.after(foo)

Will need changes to frontend for hovers/descriptions, and highlighting for aliases

Will need doc updates and changelog

Metadata

Metadata

Assignees

Labels

team/search-productIssues owned by the search product team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions