I would like to create a standalone query string compacting all the search inputs under a “q” URL parameter. This idea is inspired from github search syntax.
This demands to set a whole syntax that allows AND, OR and NOT operators. Besides this is “client friendly” as user can elaborate their advanced search strings by respecting the syntax terminology.
I am not familiar with this kind of problem, and I am seeking some inspiration to get started. I found this github repository that seems to be what I am looking for as this converts the query parameter to a usable json object. However, the project is not maintained anymore.
Is anyone know a stable solution to make this query to json conversion? Or some piece of advice to write my own solution?
Thank you
via Tefa
No comments:
Post a Comment