diff options
author | Max Magorsch <max@magorsch.de> | 2019-10-18 00:50:51 +0200 |
---|---|---|
committer | Max Magorsch <max@magorsch.de> | 2019-10-18 00:50:51 +0200 |
commit | a5a8ff8c763ae3d25c15a90190403fbd854f3f48 (patch) | |
tree | a9dbbac408ea5b7e59f1ff372f730f3910f3fa7b /Gemfile | |
parent | Add a couple of initial integration tests (diff) | |
download | packages-5-a5a8ff8c763ae3d25c15a90190403fbd854f3f48.tar.gz packages-5-a5a8ff8c763ae3d25c15a90190403fbd854f3f48.tar.bz2 packages-5-a5a8ff8c763ae3d25c15a90190403fbd854f3f48.zip |
Add a query parser for advanced search queries
Add a query parser using parslet which is able to parse advanced
queries. This way, it is possible to run queries like:
> +maintainers.emails:haskell@gentoo.org
or
> +maintainers.emails:haskell@gentoo.org -category:dev-haskell
to find all packages that are maintained by the haskell herd and
respectively all packages that are maintained by the haskell herd
but not part of dev-haskell.
Documentation on how to use the advanced queries is included
into the website and can be viewed by clicking on a question mark
next to the search bar on the landing page.
Signed-off-by: Max Magorsch <max@magorsch.de>
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -33,6 +33,8 @@ gem 'sidekiq', require: false gem 'rdiscount' +gem 'parslet' + # UI gem 'octicons_helper' |