Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Exclamation points in queries cause "bad request" errors. #1

Open
omc opened this issue May 14, 2010 · 2 comments
Open

Exclamation points in queries cause "bad request" errors. #1

omc opened this issue May 14, 2010 · 2 comments

Comments

@omc
Copy link
Collaborator

omc commented May 14, 2010

An example error:

org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse '(Availability!) AND (type_s:Business)': Encountered " ")" ") "" at line 1, column 14

@oleander
Copy link

Any news on this?

@nz
Copy link
Member

nz commented Sep 16, 2010

Guessing most apps are dealing with this by stripping or escaping exclamation points before they get to acts_as_solr.

I'm accepting pull requests to address this issue in acts_as_solr itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants