dart-lang / dart-lang/pub-dev

Search expression parsing library

Open
#1,752 1 comment 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
944
Forks
184
Avg merge
1d 15h
Merged PRs (30d)
12

Description

Search expressions on the pub site are a bit ad-hoc, and their parsing is will get more and more complex as new requests come in. We'll need a formalized query format with a (separate) query library that does the parsing and exposes the query structure.

This should include:
- grouping expressions: `AND`, `OR`, with `( ... )` sub-groups
- `field:value` expressions
- `"exact match phrases"`
- (optionally) weights

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.