Elasticsearch

996 views

Published on

Basics of elasticsearch, for code visit https://github.com/omarqureshi/moviesearch

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

No Downloads
Views
Total views
996
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
15
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Elasticsearch

  1. 1. http://omarqureshi.net@omarqureshiElasticsearchThursday, 20 June 13
  2. 2. why should youcare?Thursday, 20 June 13
  3. 3. search is importantThursday, 20 June 13
  4. 4. hand-rolling isunnecessarilycomplexThursday, 20 June 13
  5. 5. complex queriesselect *from movieswhere :q = any(string_to_array(title, ‘’))or :q = any(string_to_array(plot, ‘’));multiple word search? ordering?indexing (performance)?nearest matches?Thursday, 20 June 13
  6. 6. better with built-in fulltext searchselect *,ts_rank_cd(tsv, :q, 32) as rankfrom movieswhere tsv @@ :qorder by rank desc;Thursday, 20 June 13
  7. 7. performancedegradation onnon-trivial data setsThursday, 20 June 13
  8. 8. read (and write)strain on thedatabaseThursday, 20 June 13
  9. 9. elasticsearchThursday, 20 June 13
  10. 10. The non-searchbits ofelasticsearchThursday, 20 June 13
  11. 11. Straightforward installURL=https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.1.debFILE=`mktemp`wget "$URL" -qO $FILE && sudo dpkg -i $FILErm $FILERPM packages also availableThursday, 20 June 13
  12. 12. scales horizontally,easily!Thursday, 20 June 13
  13. 13. rebalancing of shardsThursday, 20 June 13
  14. 14. no ZooKeeperThursday, 20 June 13
  15. 15. split-brainavoidanceThursday, 20 June 13
  16. 16. multicast nodediscoveryThursday, 20 June 13
  17. 17. query any nodeThursday, 20 June 13
  18. 18. HTTP returningJSONThursday, 20 June 13
  19. 19. rebalance demoThursday, 20 June 13
  20. 20. karmi/tireThursday, 20 June 13
  21. 21. see Railscasts306 and 307Thursday, 20 June 13
  22. 22. example appThursday, 20 June 13
  23. 23. questions?Thursday, 20 June 13

×