Just found out that 37 is an illegal solr character…
x.gsub(“37″,”) solves the problem…
Patch
# acts_as_solr/instance_methods.rb:62
# remove illegal control character in text cannot be added ("#{i}" does not work...)
["\032","\033","\034","\035","\036","\037"].each do |char|
v = v.gsub(char,'')
end
2 comments
Comments feed for this article
2009-12-04 at 17:16:08
michael
shouldn’t it be ssth like this ?
["\032","\033","\034","\035","\036","\037"].each do |char|
v = v.gsub(char,”)
end
2009-12-04 at 18:22:00
pragmatig
wordpress kills \0, now it should work after writing \\00