Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
@dylanninin
2016-04-14
• Ctrl + F
• String Search
• Regular Expression
• SQL
• NoSQL
• Search Engine
• Site Search
ElasticSearch
•
• Lucene
•
•
•
•
•
• RESTful API
•
ElasticSearch MongoDB MySQL
Index Database Database
Type Collection Table
Doc Document Row
Field Field Column
Mapping Sche...
http://openplay-staging:19200/_plugin/hq/
OPID, /
Doc
mapping instance
2. _id Document ObjectId
1. JSON Document
3. RESTful API
OpenPlay query syntax
URL
ElasticSearch Query DSL
1.
2.
ElasticSearch
OpenPlay example
1. Mongo-Connector
2. Create/Update/Delete
3. Mongo-Connector
OpenPlay example
1.
•
•
•
•
OpenPlay example
1.
2.
•
•
jieba
1.
1. ik
1.
2.
“ / ”, “ ”
O(n)
Search: brown quick
inverted index
brown quick
inverted index
inverted index
inverted index
Quick, quick

dog, dogs
jumped, leap
1. aggs
2.
1. highlight
2.
1. Mapping suggest
1. Mapping suggest
2.
1. Mapping suggest
3.
1. (precision)
2. (recall)
1.
2.
QA
• Wiki: Search Engine
• https://www.elastic.co/guide/index.html
• ElasticSearch
• ElasticSearch
• Lucene
• Mongo-Connector...
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Search Engine
Upcoming SlideShare
Loading in …5
×

Search Engine

138 views

Published on

- Search Engine Concept
- ElasticSearch introduction

  • Be the first to comment

  • Be the first to like this

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

×