Skip to content
Simple Search Query Engine (Demo at https://larais.github.io/SQE/)
JavaScript C# Other
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src
test
.gitignore
LICENSE
README.md
SQE.sln
appveyor.yml

README.md

(Simple) Search Query Engine Build status

What is this?

Have you ever thought about letting users search data in the frontend by writing search queries like SQL, but didn't because validation was too complicated?

SQE implements a parser using Antlr4 that allows users to type in queries. This project is primarily used to allow frontend searching Serilog Logs provided by the Serilog Microsoft SQL Server Sink and is used in our seriView WebApp.

Here are some examples of valid search strings:

Id = 3
Id = 3 OR Message = "Hello"
Id = 3 AND (Message = "Hello" OR Level != 4)
SomeProperty >= 5

Feel free to try some queries in our Demo!

Can I use this in my project that doesn't have anything to do with Serilog?

Sure! The grammar itself is not limited to Serilog, so you can use it as a starting point and generate your own parser and implement your own validation.

Contributing

Feel free to contribute by creating issues or pull requests!

License

This project is licensed under the MIT License

Maintainers

SQE is maintained by Sebastian Lang and David Morais Ferreira.

You can’t perform that action at this time.