Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

actually search tweets

  • Loading branch information...
commit 405122d2947d56f7b409bb309526793835911a6f 1 parent 1b7acd4
@bscofield bscofield authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 app/models/tweet_indexer.rb
View
5 app/models/tweet_indexer.rb
@@ -19,10 +19,7 @@ def self.create_index
# retrieve tweets from IndexTank
def self.search(query)
- {
- :matches => 0,
- :results => []
- }
+ index.search(query, :snippet=>'text', :fetch=>'thumbnail_url,screen_name,plixi_id,timestamp')
end
# load tweets from Plixi API into IndexTank
Please sign in to comment.
Something went wrong with that request. Please try again.