Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Don't escape the field_type value when update the index. #19

merged 1 commit into from

2 participants


The reindex process fills the type_field value but this has to be written as is, not escaped.

@dcrec1 dcrec1 merged commit 955e93f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/acts_as_solr/instance_methods.rb
2  lib/acts_as_solr/instance_methods.rb
@@ -40,7 +40,7 @@ def to_solr_doc
doc.boost = validate_boost(configuration[:boost]) if configuration[:boost]
doc << {:id => solr_id,
- solr_configuration[:type_field] => Solr::Util.query_parser_escape(,
+ solr_configuration[:type_field] =>,
solr_configuration[:primary_key_field] => record_id(self).to_s}
# iterate through the fields and add them to the document,
Something went wrong with that request. Please try again.