#88 ✓resolved

Performing restriction with "OR" causes syntax error

Reported by mat | March 10th, 2010 @ 10:57 AM | in Bugs

Something to the effect of:

with(:state_abbrev, "OR")

causes a syntax error. This is because OR is a reserved keyword in Solr boolean queries, but it should be escaped. I believe this is an RSolr bug but capturing it here as well.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Awesome Solr interaction for Ruby

People watching this ticket

Referenced by