Searching the Now Josh Lucas EarthLink XTech 2007
Searching the Past
The Black Box
Under the Influence of Crawlers
Bigger is Better
The Rise of One Box
More, More, More
Faster, Faster, Faster
The Challenge
Who Am I ?
Where Am I?
What Time Is It ?
Let’s Build Something
How about an XTech Event search engine?
create_table :events do |t| t.column :location, :string t.column :date_start, :datetime t.column :date_end, :datetime t.co...
Real-Time Data <ul><li>Pingerati ( http://www.pingerati.net ) </li></ul><ul><li>Microformats ( http://www.microformats.org...
<div class=&quot;en_session_title  summary&quot; > <a href=&quot;http://2007.xtech.org/public/schedule/detail/161&quot;  c...
require 'mofo' def index lat = 48.8583 lng = 2.2945 url = params[:url] cal = hCalendar.find url cal.each do |c| e = Event....
Indexing and Searching <ul><li>Lucene ( http://lucene.apache.org ) </li></ul><ul><li>Solr ( http://lucene.apache.org/solr/...
class Event < ActiveRecord::Base acts_as_ferret :fields => [ :summary ,  :description ] end results = Event.find_by_conten...
Personalization <ul><li>Taste ( http://taste.sourceforge.net/ ) </li></ul>
Location <ul><li>GeoKit ( http://geokit.rubyforge.org/ ) </li></ul>
The Future
Thanks! Josh Lucas [email_address]
Upcoming SlideShare
Loading in...5
×

Searching the Now

1,256

Published on

My presentation from XTech this year.

Published in: Technology, Design
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,256
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
46
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Searching the Now"

  1. 1. Searching the Now Josh Lucas EarthLink XTech 2007
  2. 2. Searching the Past
  3. 3. The Black Box
  4. 4. Under the Influence of Crawlers
  5. 5. Bigger is Better
  6. 6. The Rise of One Box
  7. 7. More, More, More
  8. 8. Faster, Faster, Faster
  9. 9. The Challenge
  10. 10. Who Am I ?
  11. 11. Where Am I?
  12. 12. What Time Is It ?
  13. 13. Let’s Build Something
  14. 14. How about an XTech Event search engine?
  15. 15. create_table :events do |t| t.column :location, :string t.column :date_start, :datetime t.column :date_end, :datetime t.column :summary, :string t.column :description, :string t.column :url, :string t.column :lat, :float t.column :lng, :float end
  16. 16. Real-Time Data <ul><li>Pingerati ( http://www.pingerati.net ) </li></ul><ul><li>Microformats ( http://www.microformats.org ) </li></ul><ul><li>Mofo ( http://mofo.rubyforge.org ) </li></ul>
  17. 17. <div class=&quot;en_session_title summary&quot; > <a href=&quot;http://2007.xtech.org/public/schedule/detail/161&quot; class=&quot; url uid&quot;>Searching the Now</a> </div> <div class=&quot;en_session_roominfo&quot;> <span class=&quot;en_session_topics&quot;> <a href=&quot;http://2007.xtech.org/public/schedule/topic/1&quot;> Applications</a> </span> <span class=&quot;en_session_room location &quot;> Louvre-Palais Royal</span> <span class=&quot;uf_timing&quot;> <abbr class=&quot; dtstart dtstamp&quot; title=&quot;20070518T0900&quot;></abbr> <abbr class=&quot; dtend &quot; title=&quot;20070518T0945&quot;> </abbr> </span> </div>
  18. 18. require 'mofo' def index lat = 48.8583 lng = 2.2945 url = params[:url] cal = hCalendar.find url cal.each do |c| e = Event.new(:summary => c.summary, :url => c.url, :lat => lat, :lng => lng, :date_end => c.dtend, :date_start => c.dtstart, :location => c.location, :description => c.description).save end @num = cal.size end
  19. 19. Indexing and Searching <ul><li>Lucene ( http://lucene.apache.org ) </li></ul><ul><li>Solr ( http://lucene.apache.org/solr/ ) </li></ul><ul><li>Ferret ( http://ferret.davebalmain.com/trac ) </li></ul><ul><li>acts_as_ferret ( http://projects.jkraemer.net/acts_as_ferret/wiki ) </li></ul>
  20. 20. class Event < ActiveRecord::Base acts_as_ferret :fields => [ :summary , :description ] end results = Event.find_by_contents(q)
  21. 21. Personalization <ul><li>Taste ( http://taste.sourceforge.net/ ) </li></ul>
  22. 22. Location <ul><li>GeoKit ( http://geokit.rubyforge.org/ ) </li></ul>
  23. 23. The Future
  24. 24. Thanks! Josh Lucas [email_address]
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×