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.

of

YouTube videos are no longer supported on SlideShare

View original on YouTube

Elasticsearch in Zalando Slide 2 Elasticsearch in Zalando Slide 3 Elasticsearch in Zalando Slide 4 Elasticsearch in Zalando Slide 5 Elasticsearch in Zalando Slide 6 Elasticsearch in Zalando Slide 7 Elasticsearch in Zalando Slide 8 Elasticsearch in Zalando Slide 9 Elasticsearch in Zalando Slide 10 Elasticsearch in Zalando Slide 11 Elasticsearch in Zalando Slide 12 Elasticsearch in Zalando Slide 13 Elasticsearch in Zalando Slide 14 Elasticsearch in Zalando Slide 15 Elasticsearch in Zalando Slide 16 Elasticsearch in Zalando Slide 17 Elasticsearch in Zalando Slide 18 Elasticsearch in Zalando Slide 19 Elasticsearch in Zalando Slide 20 Elasticsearch in Zalando Slide 21 Elasticsearch in Zalando Slide 22 Elasticsearch in Zalando Slide 23 Elasticsearch in Zalando Slide 24 Elasticsearch in Zalando Slide 25 Elasticsearch in Zalando Slide 26 Elasticsearch in Zalando Slide 27 Elasticsearch in Zalando Slide 28 Elasticsearch in Zalando Slide 29 Elasticsearch in Zalando Slide 30 Elasticsearch in Zalando Slide 31 Elasticsearch in Zalando Slide 32 Elasticsearch in Zalando Slide 33 Elasticsearch in Zalando Slide 34 Elasticsearch in Zalando Slide 35 Elasticsearch in Zalando Slide 36 Elasticsearch in Zalando Slide 37 Elasticsearch in Zalando Slide 38 Elasticsearch in Zalando Slide 39 Elasticsearch in Zalando Slide 40 Elasticsearch in Zalando Slide 41 Elasticsearch in Zalando Slide 42 Elasticsearch in Zalando Slide 43 Elasticsearch in Zalando Slide 44 Elasticsearch in Zalando Slide 45 Elasticsearch in Zalando Slide 46 Elasticsearch in Zalando Slide 47 Elasticsearch in Zalando Slide 48 Elasticsearch in Zalando Slide 49 Elasticsearch in Zalando Slide 50 Elasticsearch in Zalando Slide 51 Elasticsearch in Zalando Slide 52 Elasticsearch in Zalando Slide 53 Elasticsearch in Zalando Slide 54 Elasticsearch in Zalando Slide 55 Elasticsearch in Zalando Slide 56 Elasticsearch in Zalando Slide 57 Elasticsearch in Zalando Slide 58 Elasticsearch in Zalando Slide 59 Elasticsearch in Zalando Slide 60 Elasticsearch in Zalando Slide 61 Elasticsearch in Zalando Slide 62 Elasticsearch in Zalando Slide 63 Elasticsearch in Zalando Slide 64 Elasticsearch in Zalando Slide 65 Elasticsearch in Zalando Slide 66 Elasticsearch in Zalando Slide 67 Elasticsearch in Zalando Slide 68 Elasticsearch in Zalando Slide 69 Elasticsearch in Zalando Slide 70 Elasticsearch in Zalando Slide 71
Upcoming SlideShare
Elasticsearch - Devoxx France 2012 - English version
Next
Download to read offline and view in fullscreen.

Share

Elasticsearch in Zalando

Download to read offline

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Elasticsearch in Zalando

  1. 1. Elasticsearch Meetup Alaa Elhadba alaa.elhadba@gmail.com
  2. 2. A C P
  3. 3. REST Distributed Scalable Queryable
  4. 4. Search Engine
  5. 5. Red basketball tshirt...
  6. 6. Search Engine Red basketball tshirt...
  7. 7. Search Engine Red basketball tshirt...
  8. 8. Search Engine Red basketball tshirt...
  9. 9. Search Engine Red basketball tshirt...
  10. 10. Search Engine Red basketball tshirt...
  11. 11. Search Engine Red basketball tshirt...
  12. 12. Search Engine
  13. 13. Search Engine
  14. 14. Search Engine
  15. 15. Search Engine
  16. 16. Search Engine
  17. 17. Search Engine
  18. 18. Search Engine Red basketball tshirt...
  19. 19. Search Engine Red basketball tshirt...
  20. 20. Feature Extraction
  21. 21. Extracting features It’s all about…….. TOKENS This parka is crafted from sturdy cotton in classic army green and comes with a removable wool gilet that we've printed in leopard and can be worn inside or as an outer. The parka features all the essentials: a quilted hood, a drawstring waist, a fishtail, and utilitarian pockets. Detailed with silky padded sleeves for extra warmth and superb comfort. ?
  22. 22. Char Filters Tokenizer Token Filters Analyzer
  23. 23. Char Filters Tokenizer Token Filters Analyzer & => and, ph => f Mapping char filter
  24. 24. Char Filters Tokenizer Token Filters Analyzer <b> Elasticsearch </b> -> Elasticsearch HTML strip filter
  25. 25. Char Filters Tokenizer Token Filters Analyzer Elasticsearch is an awesome technology White space tokenizer
  26. 26. Char Filters Tokenizer Token Filters Analyzer “Foo”, “bar”, “baz” Pattern Tokenizer [^w]+ foo,bar baz
  27. 27. Char Filters Tokenizer Token Filters Analyzer Stemmer Token Filter Playing, Played, Player => play
  28. 28. Char Filters Tokenizer Token Filters Analyzer Shingle Token Filter "please divide", "divide this", "this sentence", "sentence into", "into shingles" Please divide this sentence into shingles
  29. 29. Char Filters Tokenizer Token Filters Analyzer Stop Token Filter a, about, above, after, again, against, all, am, an, and, any, are, aren't, as, at, be
  30. 30. Char Filters Tokenizer Token Filters Analyzer Synonyms Token Filter - america, usa - british, english - blue, duke blue, jade blue - cuisine, food
  31. 31. Char Filters Tokenizer Token Filters Analyzer
  32. 32. <p> in the U.S.A. anyone can become president. that’s the problem </p> Char Filters Tokenizer Analyzer HTML strip filter White space Stop Stemmer Synonyms Token Filters
  33. 33. Char Filters Tokenizer Token Filters Analyzer { “america” “anyone” “become” “president” “problem” } <p> in the U.S.A. anyone can become president. that’s the problem </p>
  34. 34. Extracting features It’s all about…….. TOKENS fishtail, utilitarian pockets parka, military, army green, army, green, wool, hoodie, silky sleeves, 100% cotton, winter, leopard, jacket, coat, winter, coat, tiger, warm, casual, hiking, … This parka is crafted from sturdy cotton in classic army green and comes with a removable wool gilet that we've printed in leopard and can be worn inside or as an outer. The parka features all the essentials: a quilted hood, a drawstring waist, a fishtail, and utilitarian pockets. Detailed with silky padded sleeves for extra warmth and superb comfort.
  35. 35. Design for user expectations Acronyms: “I.B.M” , “Wi-Fi”, “U.S.A” , “IT” , “AFAIK” , “LOL” Telephone Numbers: (+49) 152-02434977, (0049)15202434977, 015202434977 Names: “John Smith”, “John A. Smith”, “John Adam Smith”, “John S.”
  36. 36. Tailored analysis per field
  37. 37. The Art of Ranking
  38. 38. Ranking ● Filtering ● Boosting ● Scoring
  39. 39. Ranking User Query white sneakers Color Category
  40. 40. Ranking User Query Color Category Recency Availability Location Business Value
  41. 41. Ranking User Query Color Category Recency Availability Location Business Value
  42. 42. Ranking User Query Color Category Recency Availability Location Business Value
  43. 43. Ranking Boosting Boosting Score Func. Filtering Score Func.Filtering User Query Boosting Boosting Score Func. Filtering Score Func.Filtering Color Category Recency Availability Location Business Value
  44. 44. Ranking Color Category Recency Availability Location Business Value Boosting Boosting Score Func. Filtering Score Func.Filtering User Query
  45. 45. Boosting Base score Base Score Total score = Base score + Additive Score Total score = Base score X Multiplicative Score Adding Scores Multiplying Scores
  46. 46. Scoring in Elasticsearch Function Score Query ● weight ● field_value_factor ● random_score ● Decay functions ● script_score
  47. 47. Search Engine Data ingestion & enrichment Data retrieval & ranking
  48. 48. Elasticsearch in Zalando
  49. 49. Shop The Look
  50. 50. Shop The Look
  51. 51. Product Service ● Fetch articles by sku ● Fetch articles by urlkey ● Fetch articles by family_sku
  52. 52. Key-Value Store ?
  53. 53. Catalog use-case example: 100 Articles X
  54. 54. Catalog use-case example: 100 Articles X 5 Colors
  55. 55. Catalog use-case example: 100 Articles X 5 Colors X 1000 RPS
  56. 56. Catalog use-case example: 100 Articles X 5 Colors X 1000 RPS = 500,000 RPS
  57. 57. Catalog use-case Key-Value Store example: 100 Articles X 5 Colors X 1000 RPS = 500,000 RPS
  58. 58. Product Service
  59. 59. Auto Scaling shards_per_node: 3
  60. 60. Auto Scaling shards_per_node: 1
  61. 61. The New PDP Reviews Shop The LookProducts
  62. 62. Elasticsearch Express ● Easy deployment across multiple AZs ● Start serving data in less than 10 minutes ● Full data availability guarantee on each AZ ● Role separation of nodes ● Stable master election ● No manual configuration on AWS ● Automatic data backups in S3 bucket ● ES Monitoring dashboard template
  63. 63. www.search-relevancy-workshop.com A hands-on workshop for building killer search applications with Elasticsearch. ?
  • molodchik

    Apr. 26, 2019
  • andresilveirah

    Dec. 14, 2017
  • mniebes

    May. 18, 2017
  • dbcom

    Nov. 1, 2016

Views

Total views

2,059

On Slideshare

0

From embeds

0

Number of embeds

19

Actions

Downloads

33

Shares

0

Comments

0

Likes

4

×