Search capabilities span from free text (think Google) to raw data access (think SQL). In between, there’s a wide range of options for narrowing a search that are often provided with UI elements. But what if there are too many fields for a UI to search on? Search DSLs can give a user more granular access to searching without exposing an overly complicated interface.
GitHub issues provide a DSL that’s accompanied by UI elements.
This is really cool. I tried something like this long time ago, but pretty limited and crappy. Currently I don’t need it for any of my current projects, but I want to implement one.
Same, this has come up on a couple different projects for me. Right now, we only really take defined GET query params in a DRF endpoint and django-filter has been handling that perfectly.
But, I’ll be on the lookout for places to use this approach!