Skip to content

Document advanced search grammar and reserved syntax - #250

Closed
bendichter wants to merge 1 commit into
masterfrom
search-grammar
Closed

bendichter wants to merge 1 commit into
masterfrom
search-grammar

Conversation

@bendichter

@bendichter bendichter commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Adds a Grammar section to the advanced search page with the query syntax in EBNF, and documents that AND, OR, NOT, -key:value, and unquoted parentheses now return an error. This matches dandi/dandi-archive#2981 and should merge after it deploys.


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N2anEz4ym27pZiTRdUeNGx
@netlify

netlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for dandi-docs ready!

Name Link
🔨 Latest commit 3157eeb
🔍 Latest deploy log https://app.netlify.com/projects/dandi-docs/deploys/6ae101ffb503f234229b62d8
😎 Deploy Preview https://deploy-preview-250--dandi-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@bendichter bendichter closed this Oct 27, 2026
| "-" , key , ":" , { non-space }
| { non-space } , ( "(" | ")" ) , { non-space } ;
ws = " " , { " " } ;
```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh hoh -- we are arriving there !

IMHO such schema might be worth listing in some appendix but ideally it should just be codified (as otherwise who is to validate it?) and referred to. I have mentioned before that we could potentially make use of e.g. https://github.com/lark-parser/lark or another beast like that.

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