Opened 17 years ago
Closed 17 years ago
#2673 closed enhancement (fixed)
[PATCH] key=value operator for search action
| Reported by: | jttt | Owned by: | team |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
New operator for search action with following semantics:
tagName=tagValue - matches tag with key=tagName and value=tagValue. It's exact match, no partial matches or special key types as with ':' operator
tagName=* - key with any value
tagName= - tagName doesn't exists
*=tagValue - any tag with value = tagValue
*=* - any tag
*= -untagged
The main difference between '=' and ':' is that ':' has some special keys that act differently (type,user,id,modified,...) and ':' is doing fulltext search while '=' is for exact match.
Some of '=' operator features can be emulated by ':' with regular expressions, for example ^type$:^route$, but using regual expression for such a simple thing is not quite comfortable and not everybody knows regual expressions.
Other features can't be afaik emulated, for example "tagName=" (meaning tag with tagName doesn't exist)
Attachments (1)
Change History (2)
by , 17 years ago
| Attachment: | keyvaluesearch.patch added |
|---|
comment:1 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |



In r1641.