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

[Solr search] Auto-switch to expert mode when search field contain a facet field #2307

Closed
youennmerel opened this issue Jul 10, 2024 · 0 comments · Fixed by #2434
Closed
Assignees

Comments

@youennmerel
Copy link
Collaborator

youennmerel commented Jul 10, 2024

When a valid field name (e.g. centerName, datasetCreationDate, studyName, etc) followed by : and any string is submitted in the Solr search field, the "Expert mode" should be automatically switched on.

Conversely, "Expert mode" should be automatically switched off if no query syntax is detected.

We could even add auto-complete for these fields !

Also, we could also maybe show more of the error message from Solr instead of just "syntax error", e.g. Cannot parse 'examinationId:': Encountered "<EOF>" at line 1, column 14.

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