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

Parsing of Field Grouping not working #30

Open
JanCejka opened this issue Feb 17, 2023 · 0 comments
Open

Parsing of Field Grouping not working #30

JanCejka opened this issue Feb 17, 2023 · 0 comments

Comments

@JanCejka
Copy link

Problem

  • Parsing of Field Grouping throws error
  • Error is thrown as well in case of +/- prefix and missing field name
  • All examples below parse correctly with Java Lucene parser
  • Syntax is in line with:
  • Fixing this would:
    • Increase compatibility with Lucene
    • Provide alternative for providing list of values in format a:(b OR c OR d) or a:(b c d) (later in case of possibility to change default operator to OR)

Example of failing searches

  • +(a b)
  • -(a b)
  • c:(a b)
  • +c:(a b)
  • -c:(a b)

Versions
3.5.0 - on https://npm.runkit.com/liqe
3.6.0 - with Angular 14.0.4

Demonstration

https://runkit.com/embed/msogu7iiwefg

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

No branches or pull requests

1 participant