Slide 1

Slide 1 text

Making WordPress Search Kick-ass with Elasticsearch aaronjholbrook aaronjholbrook.com

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

Why is search important?

Slide 4

Slide 4 text

More than half of all users are search dominant http://www.nngroup.com/articles/search-and-you-may-find/

Slide 5

Slide 5 text

Search lets users control their own destiny “I don't want to have to navigate this site the way they want me to. I just want to find the thing I'm looking for.” http://www.nngroup.com/articles/search-visible-and-simple/

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Search is users’ escape hatch when they are stuck Make it easy to use, make it available http://www.nngroup.com/articles/search-visible-and-simple/

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

Assume most users will be unwilling or unable to refine their search query http://www.nngroup.com/articles/search-visible-and-simple/

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Emphasis should be on increasing users’ success on their first search attempt http://www.nngroup.com/articles/search-visible-and-simple/

Slide 13

Slide 13 text

Help users succeed before they even hit enter

Slide 14

Slide 14 text

Most users cannot use advanced search or Boolean query syntax http://www.nngroup.com/articles/search-visible-and-simple/

Slide 15

Slide 15 text

Emphasize your search engine’s ability to handle simple queries and still produce high-quality results http://www.nngroup.com/articles/search-navigation/

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

WordPress Search (sucks)

Slide 18

Slide 18 text

Poor Performance

Slide 19

Slide 19 text

Inflexible and rigid matching algorithms (match based on regular expression)

Slide 20

Slide 20 text

Does not comprehend typos or ‘close’ words

Slide 21

Slide 21 text

Does not search metadata or taxonomies

Slide 22

Slide 22 text

Can not (easily) determine facets of results

Slide 23

Slide 23 text

Relevancy of results is poor

Slide 24

Slide 24 text

Improving WordPress Search

Slide 25

Slide 25 text

Improving WordPress Search with Elasticsearch

Slide 26

Slide 26 text

Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents http://en.wikipedia.org/wiki/Elasticsearch

Slide 27

Slide 27 text

Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents http://en.wikipedia.org/wiki/Elasticsearch

Slide 28

Slide 28 text

Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents http://en.wikipedia.org/wiki/Elasticsearch

Slide 29

Slide 29 text

Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents http://en.wikipedia.org/wiki/Elasticsearch

Slide 30

Slide 30 text

Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents http://en.wikipedia.org/wiki/Elasticsearch

Slide 31

Slide 31 text

Relevant results

Slide 32

Slide 32 text

Relevant results Autosuggest

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Relevant results Autosuggest Fuzzy Matching

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

Relevant results Autosuggest Fuzzy Matching Proximity Search

Slide 37

Slide 37 text

Relevant results Autosuggest Fuzzy Matching Proximity Search Search Metadata

Slide 38

Slide 38 text

Relevant results Autosuggest Fuzzy Matching Proximity Search Search Metadata Search Taxonomies

Slide 39

Slide 39 text

Relevant results Autosuggest Fuzzy Matching Proximity Search Search Metadata Search Taxonomies Facets

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

Many more features: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search.html

Slide 44

Slide 44 text

ElasticPress

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

Install the Elasticsearch Application https://www.elastic.co/downloads/elasticsearch

Slide 47

Slide 47 text

Install ElasticPress https://github.com/10up/ElasticPress

Slide 48

Slide 48 text

Deep breath..

Slide 49

Slide 49 text

Activate and connect to Elasticsearch address/port (default port is 9200)

Slide 50

Slide 50 text

Success!

Slide 51

Slide 51 text

Without ElasticPress With ElasticPress

Slide 52

Slide 52 text

aaronjholbrook aaronjholbrook.com