dougal/acts_as_indexed — Issue #27: search not working
Author: kritik
Created: 2012-02-28 20:39:19+00:00
State: open

I have Windows, ruby 1.9.3p0, mysql as a database

```ruby
class Tour
acts_as_indexed :fields => [:ascii_name, :type_name, :ascii_description, :routename, :cover_image_uid, :cover_image_name]
private

def ascii_name
(self.name || '').to_ascii
end

def ascii_description
(self.description || '').to_ascii
end
end
```
```ruby
irb(main):005:0> Tour.last.name
=> "Нью-Йорк + Отдых в Мексике (без авиа)"
irb(main):006:0> Tour.last.name.to_ascii
=> "N'iu-Iork + Otdykh v Mieksikie (biez avia)"
irb(main):007:0> Tour.with_query('avia')
=> []
```
I have removed removed all indexes and re-saved all documents. But still cannot find anything