pat / thinking-sphinx

Sphinx/Manticore plugin for ActiveRecord/Rails
http://freelancing-gods.com/thinking-sphinx
MIT License
1.63k stars 469 forks source link

handle rt and plain indices the same #1249

Closed akostadinov closed 1 year ago

akostadinov commented 1 year ago

because of my oversight in #1222 all rt indices lost the sphinx_internal_class_name field and this is not correct. In either index type, when single table inheritance is used, then sphinx_internal_class_name should be present. Now also added a test for it - to make sure both index types are handled.