Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for ranges #2

Open
pspanja opened this issue Dec 1, 2017 · 1 comment
Open

Implement support for ranges #2

pspanja opened this issue Dec 1, 2017 · 1 comment

Comments

@pspanja
Copy link
Member

pspanja commented Dec 1, 2017

Ranges can be implemented as an extension with a custom Term token, but it would still be nice to have them in the base syntax. The way Elasticsearch defines them looks pretty nice:

  • inclusive: date:[2012-01-01 TO 2012-12-31]
  • exclusive: tag:{alpha TO omega}
  • one side unbounded: age:>10 age:>=10 age:<10 age:<=10
@thePanz
Copy link
Contributor

thePanz commented Apr 4, 2018

A first implementation for value:[123 TO 555] is in #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants