Successfully reported this slideshow.

Search Engine

0

Share

Upcoming SlideShare
Scrapy-101
Scrapy-101
Loading in …3
×
1 of 57
1 of 57

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

Search Engine

  1. 1. @dylanninin 2016-04-14
  2. 2. • Ctrl + F • String Search • Regular Expression • SQL • NoSQL • Search Engine • Site Search
  3. 3. ElasticSearch
  4. 4. • • Lucene • • • • • • RESTful API •
  5. 5. ElasticSearch MongoDB MySQL Index Database Database Type Collection Table Doc Document Row Field Field Column Mapping Schema Schema Everything Indexed Index Index DSL Query Query SQL
  6. 6. http://openplay-staging:19200/_plugin/hq/
  7. 7. OPID, /
  8. 8. Doc
  9. 9. mapping instance
  10. 10. 2. _id Document ObjectId 1. JSON Document 3. RESTful API
  11. 11. OpenPlay query syntax URL
  12. 12. ElasticSearch Query DSL
  13. 13. 1. 2.
  14. 14. ElasticSearch
  15. 15. OpenPlay example 1. Mongo-Connector 2. Create/Update/Delete 3. Mongo-Connector
  16. 16. OpenPlay example 1. • • • •
  17. 17. OpenPlay example 1. 2. • •
  18. 18. jieba
  19. 19. 1.
  20. 20. 1. ik
  21. 21. 1. 2. “ / ”, “ ” O(n)
  22. 22. Search: brown quick
  23. 23. inverted index
  24. 24. brown quick inverted index
  25. 25. inverted index inverted index Quick, quick
 dog, dogs jumped, leap
  26. 26. 1. aggs 2.
  27. 27. 1. highlight 2.
  28. 28. 1. Mapping suggest
  29. 29. 1. Mapping suggest 2.
  30. 30. 1. Mapping suggest 3.
  31. 31. 1. (precision) 2. (recall)
  32. 32. 1. 2.
  33. 33. QA
  34. 34. • Wiki: Search Engine • https://www.elastic.co/guide/index.html • ElasticSearch • ElasticSearch • Lucene • Mongo-Connector • Jieba • • Inverted Index • Wiki: Precision Recall • Information Retrieval and Web Search

×