Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Introductions

Slide 3

Slide 3 text

Twitter @lgleasain Github lgleasain ! www.lancegleason.com www.polyglotprogrammincinc.com [email protected] !

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

http://www.polyglotprogramminginc.com/purr- programming-2-0/

Slide 9

Slide 9 text

www.purrprogramming.com

Slide 10

Slide 10 text

?

Slide 11

Slide 11 text

Search

Slide 12

Slide 12 text

Active Record

Slide 13

Slide 13 text

User.where :name => ‘beavis’

Slide 14

Slide 14 text

Bea

Slide 15

Slide 15 text

Beavis

Slide 16

Slide 16 text

User.where ‘name like ?’, ‘bea’

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

Person action: ‘eat’ Eating

Slide 19

Slide 19 text

Stemming

Slide 20

Slide 20 text

Stemming

Slide 21

Slide 21 text

•Postgres Stemming

Slide 22

Slide 22 text

•Postgres •Mongodb Stemming

Slide 23

Slide 23 text

•Postgres •Mongodb •Riak Stemming

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

•Inconsistent

Slide 26

Slide 26 text

•Inconsistent •Slow

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

Sunspot

Slide 30

Slide 30 text

Strengths

Slide 31

Slide 31 text

•Faceted Search Strengths

Slide 32

Slide 32 text

•Faceted Search •Multilingual Support Strengths

Slide 33

Slide 33 text

•Faceted Search •Multilingual Support •Field Weighting Strengths

Slide 34

Slide 34 text

•Faceted Search •Multilingual Support •Field Weighting •Auto Suggest Strengths

Slide 35

Slide 35 text

•Faceted Search •Multilingual Support •Field Weighting •Auto Suggest •Geospacial Search Strengths

Slide 36

Slide 36 text

•Faceted Search •Multilingual Support •Field Weighting •Auto Suggest •Geospacial Search •Find Similar Strengths

Slide 37

Slide 37 text

Strengths

Slide 38

Slide 38 text

•Did you mean Strengths

Slide 39

Slide 39 text

•Did you mean •Rich Document Support Strengths

Slide 40

Slide 40 text

•Did you mean •Rich Document Support •Stemming Strengths

Slide 41

Slide 41 text

•Did you mean •Rich Document Support •Stemming •Testability Strengths

Slide 42

Slide 42 text

Weaknesses

Slide 43

Slide 43 text

Weaknesses •Scaling

Slide 44

Slide 44 text

Weaknesses •Scaling •Index distribution and partitions

Slide 45

Slide 45 text

Weaknesses •Scaling •Index distribution and partitions •Index replication

Slide 46

Slide 46 text

Weaknesses •Scaling •Index distribution and partitions •Index replication •High Availability

Slide 47

Slide 47 text

Weaknesses •Scaling •Index distribution and partitions •Index replication •High Availability •Cost at scale

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

Asari

Slide 51

Slide 51 text

Asari Active Asari

Slide 52

Slide 52 text

Strengths

Slide 53

Slide 53 text

•Faceted Search Strengths

Slide 54

Slide 54 text

•Faceted Search •Field Weighting Strengths

Slide 55

Slide 55 text

•Faceted Search •Field Weighting •Rich Document Support Strengths

Slide 56

Slide 56 text

•Faceted Search •Field Weighting •Rich Document Support •Stemming Strengths

Slide 57

Slide 57 text

Strengths

Slide 58

Slide 58 text

•Index distribution and partitions Strengths

Slide 59

Slide 59 text

•Index distribution and partitions •Index replication Strengths

Slide 60

Slide 60 text

•Index distribution and partitions •Index replication •High Availability Strengths

Slide 61

Slide 61 text

•Index distribution and partitions •Index replication •High Availability •Cost at scale Strengths

Slide 62

Slide 62 text

•Index distribution and partitions •Index replication •High Availability •Cost at scale •Scaling Strengths

Slide 63

Slide 63 text

Weaknesses

Slide 64

Slide 64 text

Weaknesses •Multilingual Support

Slide 65

Slide 65 text

Weaknesses •Multilingual Support •Auto Suggest

Slide 66

Slide 66 text

Weaknesses •Multilingual Support •Auto Suggest •Find Similar

Slide 67

Slide 67 text

Weaknesses •Multilingual Support •Auto Suggest •Find Similar •Did you mean

Slide 68

Slide 68 text

Weaknesses •Multilingual Support •Auto Suggest •Find Similar •Did you mean •Proprietary

Slide 69

Slide 69 text

Key Terms

Slide 70

Slide 70 text

No content

Slide 71

Slide 71 text

Domain

Slide 72

Slide 72 text

Domain Index Fields

Slide 73

Slide 73 text

Domain Index Fields •uint - 32 bit unsigned integer

Slide 74

Slide 74 text

Domain Index Fields •uint - 32 bit unsigned integer •literal

Slide 75

Slide 75 text

Domain Index Fields •uint - 32 bit unsigned integer •literal •text

Slide 76

Slide 76 text

Search Facet Result Uint R R R Literal O O O Text R O O

Slide 77

Slide 77 text

Access Policies are IP based like S3

Slide 78

Slide 78 text

No content

Slide 79

Slide 79 text

Add/Remove

Slide 80

Slide 80 text

Add/Remove

Slide 81

Slide 81 text

No content

Slide 82

Slide 82 text

Adding Indexes

Slide 83

Slide 83 text

Adding Indexes

Slide 84

Slide 84 text

No content

Slide 85

Slide 85 text

Searching

Slide 86

Slide 86 text

Searching

Slide 87

Slide 87 text

Searching

Slide 88

Slide 88 text

Things You Have To Manage

Slide 89

Slide 89 text

Things You Have To Manage •Domain Names

Slide 90

Slide 90 text

Things You Have To Manage •Domain Names •Domain Id’s for each domain

Slide 91

Slide 91 text

Things You Have To Manage •Domain Names •Domain Id’s for each domain •Boiler plate code for searches

Slide 92

Slide 92 text

Things You Have To Manage •Domain Names •Domain Id’s for each domain •Boiler plate code for searches •Calls to update indexes

Slide 93

Slide 93 text

Things You Have To Manage •Domain Names •Domain Id’s for each domain •Boiler plate code for searches •Calls to update indexes •Access Permissions.

Slide 94

Slide 94 text

Things You Have To Manage •Domain Names •Domain Id’s for each domain •Boiler plate code for searches •Calls to update indexes •Access Permissions. •Etc….

Slide 95

Slide 95 text

No content

Slide 96

Slide 96 text

An Easier Way

Slide 97

Slide 97 text

An Easier Way

Slide 98

Slide 98 text

An Easier Way

Slide 99

Slide 99 text

No content

Slide 100

Slide 100 text

active_asari.yml

Slide 101

Slide 101 text

active_asari.yml

Slide 102

Slide 102 text

No content

Slide 103

Slide 103 text

active_asari_config.yml

Slide 104

Slide 104 text

active_asari_config.yml

Slide 105

Slide 105 text

active_asari = ActiveAsari::Migrations.new active_asari.migrate_all

Slide 106

Slide 106 text

Migrations can take up to 30 minutes

Slide 107

Slide 107 text

No content

Slide 108

Slide 108 text

In Your Model

Slide 109

Slide 109 text

In Your Model

Slide 110

Slide 110 text

All Transactions Are Synced with Cloud Search

Slide 111

Slide 111 text

No content

Slide 112

Slide 112 text

Searching

Slide 113

Slide 113 text

Searching

Slide 114

Slide 114 text

Searching

Slide 115

Slide 115 text

No content

Slide 116

Slide 116 text

Result

Slide 117

Slide 117 text

{‘666’ => ActiveAsari::ResultObject} Result

Slide 118

Slide 118 text

{‘666’ => ActiveAsari::ResultObject} Result

Slide 119

Slide 119 text

{‘666’ => ActiveAsari::ResultObject} All result fields have methods off of the object Result

Slide 120

Slide 120 text

All Asari Methods are Available

Slide 121

Slide 121 text

No content

Slide 122

Slide 122 text

Roadmap

Slide 123

Slide 123 text

Roadmap • Possibly merge Asari and Active Asari

Slide 124

Slide 124 text

Roadmap • Possibly merge Asari and Active Asari • Add Rake tasks for migrations

Slide 125

Slide 125 text

Roadmap • Possibly merge Asari and Active Asari • Add Rake tasks for migrations • ?

Slide 126

Slide 126 text

Twitter @lgleasain Github lgleasain ! www.lancegleason.com www.polyglotprogrammincinc.com [email protected] !