dougal / acts_as_indexed

Acts As Indexed is a plugin which provides a pain-free way to add fulltext search to your Ruby on Rails app
http://douglasfshearer.com/blog/rails-plugin-acts_as_indexed
MIT License
211 stars 49 forks source link

STI support #50

Open ultimatenexus opened 11 years ago

ultimatenexus commented 11 years ago

Any plans on integrating STI support?

Currently, I have to define my indexed fields in each subclass. Defining the indexed fields in the base class results in undefined behavior during initial index construction (on the fly updates seam to work though...).

Not a big problem in my case, as I am not searching in the base class anyway, but in other cases this might be desirable.

dougal commented 11 years ago

Hi.

This is possibly trivial to implement, I shall look into it.

Thanks.

On Thursday, 19 September 2013 at 12:28, ultimatenexus wrote:

Any plans on integrating STI support? Currently, I have to define my indexed fields in each subclass. Defining the indexed fields in the base class results in undefined behavior during initial index construction (on the fly updates seam to work though...). Not a big problem in my case, as I am not searching in the base class anyway, but in other cases this might be desirable.

— Reply to this email directly or view it on GitHub (https://github.com/dougal/acts_as_indexed/issues/50).