-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Describe the bug
When searching a hyphenated terms such as non-invasive via the Search API, the term after the hyphen is not present in any results. That second term is treated as though it were a Boolean NOT term.
To Reproduce
Steps to reproduce the behavior:
- From the Search API, search the term
non-invasive - You will likely get zero results (on 28-August-2023 this was the case)
- From the API, search the term
non invasive - You will get many results, and most/all will contain the term
non-invasive, WITH the hyphen. - You can repeat these steps with any hyphenated query term that should retrieve results normally.
Expected behavior
That searches through the API for the term non-invasive would return results that contain that phrase.
Screenshots
Two screenshots attached, both from Postman searches of the arXiv Search API. The first is for the term non-invasive and shows zero results returned (see the opensearch:totalResults value).
The second is for the term non invasive and returns over 35K results.
Desktop (please complete the following information):
- OS: MacOS 13.5.1
- Browser: Brave
- Version: v1.57.53 (Aug 23, 2023)
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.