Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSS feeds cannot handle facets containing special characters #276

Open
sentry-io bot opened this issue Oct 21, 2020 · 0 comments
Open

RSS feeds cannot handle facets containing special characters #276

sentry-io bot opened this issue Oct 21, 2020 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 21, 2020

More on escaping special characters: https://lucene.apache.org/solr/guide/7_3/the-standard-query-parser.html#escaping-special-characters

Sentry Issue: LA-METRO-COUNCILMATIC-3S

SolrError: Solr responded with an error (HTTP 400): [Reason: org.apache.solr.search.SyntaxError: Cannot parse 'bill_type:Federal Legislation / State Legislation (Position)': Lexical error at line 1, column 61.  Encountered: <EOF> after : "/ State Legislation (Position)"]
(11 additional frame(s) were not displayed)
...
  File "haystack/backends/__init__.py", line 33, in wrapper
    return func(obj, query_string, *args, **kwargs)
  File "haystack/backends/solr_backend.py", line 138, in search
    raw_results = self.conn.search(query_string, **search_kwargs)
  File "pysolr.py", line 742, in search
    response = self._select(params, handler=search_handler)
  File "pysolr.py", line 437, in _select
    return self._send_request('get', path)
  File "pysolr.py", line 412, in _send_request
    raise SolrError(error_message % (resp.status_code, solr_message))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants