trusted, expert engineering content, information, insight, tools and more • Nearly 9 million registered engineers and technical professionals • Business model – providing comprehensive media solutions that connect manufacturers, distributors and service providers with our audience Introduction to IEEE GlobalSpec 4 www.globalspec.com
stored in memory • Additional separate search content on site: • In-memory Lucene indices • Full-text SQL search • Solr 6 What we had before A home-grown Java search application
with Lucene Open source • Actively supported • Growing community • Familiar with Lucene Ease of use • Scalable • Auto-recovery • Shard rebalancing • Easy to add new content Ease of use • Scalable • Auto-recovery • Shard rebalancing • Easy to add new content Features • Custom features available out of the box • Real-time log analytics • More like this How we came to Elastic 8
process • Build data for both systems at once • SME feedback • A/B testing • Create the Gateway process • Build data for both systems at once • Flip the switch! Migration Process 9
their products • Showcase best result from each catalog • Two goals: • UX goal: display the most relevant results • Business goal: showcase breadth of index 18 Product Search on GlobalSpec.com
the user’s query Understand Understand • Create a ranked list of possible interpretations of the user’s query Understand Plan • Combine all the interpretations of a user’s query Plan • Combine all the interpretations of a user’s query Translate • Translate the plan into Elasticsearch query DSL Ambiguous Queries: Strategy 22
role in BM25 • Common terms contribute significantly less to the score • The same term might be common in a large index, and uncommon in a small index Why we care about IDF 25 Doc Frequency
custom type field Option 1 • Merge into a single index with a custom type field Option 2 • Change search_type to calculate global IDF values Consistent IDF Options 26
built-in functionality • Use aggregations to power our diversification business rules • Understand user queries, send targeted, complex queries to Elastic • Leverage DFS query-then-fetch to search indices of varying sizes • Realized ROI • Search performance improved 2x! • Improved user engagement: time on site, clicks, bails • More productive developers 30 Success!
Single unified Elastic search backend • Server consolidation -> Lower bottom line costs • Better access to logs and metrics • Debugging • Report generation • Rolling out changes in Production • Recommendations and personalization 31 We’re just getting started…