clarify use of special characters in item-search
currently, the backend gives special meaning to characters like a "-" (minus) in item search queries. i'm guessing this is because the query string is passed to solr as is.
this is great in principle, but can lead to unexpected behavior, when the autosuggest endpoint returns suggestions which include special characters. using the suggestion as a query param will not return the expected result in an item-search query.
example:
-
https://sshoc-marketplace-api.acdh-dev.oeaw.ac.at/api/item-search/autocomplete?q=stopifu
will return{ suggestions: 'stopifu - supporting task-specific stoplisting for topic models.' }
-
https://sshoc-marketplace-api.acdh-dev.oeaw.ac.at/api/item-search?q=stopifu+-+supporting+task-specific+stoplisting+for+topic+models.
will however return no result. - removing the "-" from the query params will return the correct result.