query-translator icon indicating copy to clipboard operation
query-translator copied to clipboard

Implement support for ranges

Open pspanja opened this issue 7 years ago • 1 comments

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

pspanja avatar Dec 01 '17 06:12 pspanja

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

thePanz avatar Apr 04 '18 18:04 thePanz