invenio-app-rdm icon indicating copy to clipboard operation
invenio-app-rdm copied to clipboard

Exact match searching is unnecessarily picky about quotes

Open tmorrell opened this issue 1 year ago • 1 comments

Package version (if known): v12-v13

Describe the bug

Exact match searching is unnecessarily sensitive to the type of quote character. Copy and pasted “curly” quotes or single quotes aren't respected, resulting in confusing behavior.

Steps to Reproduce

  1. Go to 'Zenodo'
  2. See 41,909 results
  3. Enter “Flow cytometry” into the search box
  4. Still see 41,909 results
  5. Enter 'Flow cytometry' into the search box
  6. Still see 41,909 results
  7. Replace the quotes with " from your keyboard
  8. Get the expected 1,517 results

Expected behavior

The search query parser should normalize quotes to generate exact matches regardless of the quote type used.

tmorrell avatar Feb 19 '25 00:02 tmorrell

This issue was automatically marked as stale.

github-actions[bot] avatar May 17 '25 06:05 github-actions[bot]