Hi J
Presuming you’re using Thinking Sphinx v3, you’ve got two options:
* Perform a standard TS search, but use the ‘raw’ middleware set (which doesn’t translate Sphinx results into ActiveRecord objects):
results = Model.search ‘foo’, :middleware => ThinkingSphinx::Middlewares::RAW_ONLY
* Or, construct the SphinxQL queries yourself by hand, and send them through to the underlying connection (essentially, a wrapper around the mysql2 gem):
results = ThinkingSphinx::Connection.take do |connection|
connection.execute “SELECT * FROM foo_core"
end
Cheers
—
Pat
> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
thinking-sphi...@googlegroups.com.
> To post to this group, send email to
thinkin...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/thinking-sphinx.
> For more options, visit
https://groups.google.com/d/optout.