Triggering autocomplete with certain search terms results in Solr exceptions #3872
Labels
Lead: @cdrini
Issues overseen by Drini (Staff: Team Lead & Solr, Library Explorer, i18n) [managed]
Module: Solr
Issues related to the configuration or use of the Solr subsystem. [managed]
Priority: 3
Issues that we can consider at our leisure. [managed]
Type: Bug
Something isn't working. [managed]
Solr throws parsing exceptions when certain search terms are typed into the search bar and autocomplete is triggered.
Search Terms:
title:
author_name:
key:
There may be other terms that will cause this. To make matters worse, if one of the above terms are followed with a double quote character, autocomplete calls will continue to fail until a closing double quote character is typed.
Evidence / Screenshot (if possible)
Search terms for each request in the above screenshot are as follows:
title
title:
title:"abc
title:"abc"
Note: This screenshot is from my local instance.
502
HTTP errors are returned in dev.Relevant url?
https://openlibrary.org/
Steps to Reproduce
all
,title
, orauthor
).200
, and suggested results are listed.Details
Proposal & Constraints
Related files
Stakeholders
The text was updated successfully, but these errors were encountered: