We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Luqum parser yields UnknownOperation when parsing inequality with a FieldGroup.
UnknownOperation
Equality with FieldGroup:
>>> a = "a:(1 OR 2)" >>> tree = parser.parse(a) >>> print(repr(tree)) SearchField('a', FieldGroup(OrOperation(Word('1'), Word('2'))))
Inequality with FieldGroup:
>>> a = "a:>(1 OR 2)" >>> tree = parser.parse(a) >>> print(repr(tree)) UnknownOperation(SearchField('a', Word('>')), Group(OrOperation(Word('1'), Word('2'))))
Expected result:
SearchField('a', FieldGroup(OrOperation(Word('>1'), Word('>2'))))
The text was updated successfully, but these errors were encountered:
Hello @borissnd
You're right it's not supported right now. We would have to change the lexer and the grammar to support it.
Feel free to propose to make a PR with test coverage.
Sorry for, on my side I wan't be able to work on this before at least one month.
Sorry, something went wrong.
No branches or pull requests
Luqum parser yields
UnknownOperation
when parsing inequality with a FieldGroup.Equality with FieldGroup:
Inequality with FieldGroup:
Expected result:
The text was updated successfully, but these errors were encountered: