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

shanoir-issue#2307: solr search detects keywords and switch to expertMode #2434

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

pierrehenri-dauvergne
Copy link
Collaborator

@pierrehenri-dauvergne pierrehenri-dauvergne commented Oct 9, 2024

How to test:
Open solr
In the search field at the top, write one of the keywords of expertMode: centerName datasetCreationDate studyName subjectName subjectType acquisitionEquipmentName datasetId datasetName datasetNature datasetType processed examinationComment examinationDate importDate tags magneticFieldStrength pixelBandwidth sliceThickness studyId

As soon as you write any of those keyword, the research automatically switch to expertMode:
image

This PR also changes the syntax error message to display something more accurate:
image

@pierrehenri-dauvergne pierrehenri-dauvergne added the REVIEWABLE Has to be reviewed label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend REVIEWABLE Has to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Solr search] Auto-switch to expert mode when search field contain a facet field
1 participant