Skip to content

Instantly share code, notes, and snippets.

@vwall
Created November 16, 2010 02:21
Show Gist options
  • Select an option

  • Save vwall/701331 to your computer and use it in GitHub Desktop.

Select an option

Save vwall/701331 to your computer and use it in GitHub Desktop.
irb(main):016:0> ThinkingSphinx.search 'test', :classes => [Article, BlogPost]
Sphinx Querying: 'test'
Sphinx (0.004608s) Found 20 results
Article Load (0.5ms) SELECT `emp_articles`.* FROM `emp_articles` WHERE (`emp_articles`.`id` IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10))
(Object doesn't support #inspect)
=>
irb(main):017:0>
@char-star
Copy link

Did you manage to get this issues solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment