trafficcontrol
trafficcontrol copied to clipboard
Improve TP search query
I'm primarily concerned with the server list, but similar considerations would apply elsewhere.
I'd like the ability to express more complex statements in the TP search box. Currently you get a substring whitelist across all visible fields. I'd like to be able to express things like NOT, AND, OR, and groups. As an additional consideration, being able to supply an optional attribute to each search tuple to specify on what fields it should apply would be nice. An over the top consideration would be regex support.
This would tie into #2326, #2385, and #2568
Also related #1796
Also related #2630
this is only actually fixed for the servers table of TP. not all of the other tables. reopening.
given that this request mentions tuples and regex, i would not consider it low effort @jhg03a :) also, TP (and TPv2) use a "data grid" component that comes with certain search capabilities at the column level. afaik adding to those capabilities is no small task but i could be wrong. @ocket8888 @shamrickus would know better.
also, TPv2 is going to add "fuzzy searching". i do recognize that better searching/filtering is very valuable to operators so we should consider what is possible.