You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I just stumbled into the same bug. Advanced search for report numbers with CERN-TH returns 6910 results, the API with rn:CERN-TH returns just 2. Also, I think #292 is the same thing.
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:
non-invasive
non invasive
non-invasive
, WITH the hyphen.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 theopensearch:totalResults
value).The second is for the term
non invasive
and returns over 35K results.Desktop (please complete the following information):
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: