Remix.run Logo
barren_suricata 5 hours ago

Cool idea, did you come up with your own query language or did you adopt/influence from an existing one?

atrettel 3 hours ago | parent [-]

I developed my own query language influenced by the one used at the United States Patent and Trademark Office (USPTO). Their query language is a implementation of another used in a piece of software called BRS/Search [1]. Most of these kind of query languages are pretty similar and really only differ in how they treat proximity operations and field selection.

I liked the USPTO's query language because it is quite expressive and powerful while still being relatively compact when compared to other query languages [2] out there, but I disliked some of the other syntax in it for that matter. I added several additional operations, including ALONG for lines and AMONG for clauses. The fuzzy search aspect of my language is also unique. I don't know of any other query language that lets searchers specify that locally rather than globally.

[1] https://en.wikipedia.org/wiki/BRS/Search

[2] https://en.wikipedia.org/wiki/Contextual_Query_Language