Hi,
I'm running the following snipped to parse and check a lucene query with the luqum=0.12.1 packet.
from luqum.parser import parser
from luqum.check import LuceneCheck
query = parser.parse('size:[1 TO 10]')
check = LuceneCheck()
print(check.errors(query))
I expect there to be no error as this is a valid query as mentioned in the official documentation of elastic. But instead the LuceneCheck returns the following error:
['field expression is not valid : size:[1 TO 10]']
I therefore suspect that there might be a problem in the check.py module. Can anyone confirm my findings or is this a problem on my end?