Skip to content

Scc 5296/8#696

Open
danamansana wants to merge 19 commits intomainfrom
scc-5296/8
Open

Scc 5296/8#696
danamansana wants to merge 19 commits intomainfrom
scc-5296/8

Conversation

@danamansana
Copy link
Copy Markdown
Contributor

@danamansana danamansana commented Apr 2, 2026

This PR addresses issues in SCC-5296 and SCC-5298, and makes extensive use of AI assistance.

Some modifications to the grammar:

  • allow whitespace around parentheses
  • allow (and ignore) surrounding whitespace in query terms
  • allow single-word queries to not use quotes
  • make controlled vocab terms (e.g. scope terms like title or author, operators like AND or NOT, relation terms like any or all) case insensitive

Fix bug where displayParsed was returning text backwards

Fix bug where top-level query for cql queries was should instead of must, which allowed spurious matches whenever filters were applied

Add a CqlQuery class so we can use the same AST for buildEsQuery and displayParsed and not parse twice

Require date format to pass validation

Include items with cql results

Fix/Update/Add tests

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

Successfully merging this pull request may close these issues.

2 participants