Permalink
Browse files

Merge pull request #19 from ialiendeg/master

Don't escape the field_type value when update the index.
  • Loading branch information...
2 parents 483380e + f9035f3 commit 955e93fde90cc8c218a6ca53e1ed4cac0beca926 @dcrec1 committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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(self.class.name),
+ solr_configuration[:type_field] => self.class.name,
solr_configuration[:primary_key_field] => record_id(self).to_s}
# iterate through the fields and add them to the document,

1 comment on commit 955e93f

Contributor

jumph4x commented on 955e93f Apr 13, 2012

Wooo, legit.

Please sign in to comment.