SlideShare uma empresa Scribd logo
1 de 67
Baixar para ler offline
Search Intelligently
Building the Digital Experience with
Liferay DXP, new queries and Elasticsearch
André Ricardo Barreto de Oliveira ("Arbo")
Search Infrastructure Lead - Liferay, Inc.
Chicago, USA
September 27, 2016
Search
in the age of
Digital Transformation
The classic approach to Search
● A tool for content retrieval, and little else
● Analyze - Index - Query - Display - Repeat
● Website finished: "add a Search Bar" as an afterthought
● No real correlation between Search and Business Case
@arbocombr
Meanwhile, in the Search landscape...
● Big Data
● Analytics and Statistics
● Post-text content
● Maps and Geolocation
@arbocombr
● Natural Language Processing
● Bots
● Machine Learning
● Artificial Intelligence
Search meets Digital Transformation
● Well-designed Search, now central to digital business
● A search is often the starting point for the User Journey
● Results with nonlinear interaction- and action
● Impossible to tell apart: Search and the Digital Experience
@arbocombr
The
Search Centric
Digital Experience
@arbocombr
Business assets designed for Search
@arbocombr
Turn chaotic into manageable
@arbocombr
Find the needle in the haystack
@arbocombr
Predict user intention
@arbocombr
Show what they need to see
@arbocombr
Liferay DXP Demo:
What's new in Search
@arbocombr
Liferay DXP Search: Demo Time
New and upcoming features:
building your own Search experience
@arbocombr
Building
intelligent
queries
@arbocombr
The classic approach to queries
● Full text "bag of words" → all results with same relevance
● Substring (*wildcards*) → performance hit in large indices
● Limited flexibility for special parsing cases (e.g. emails)
● Manual configuration for fields with custom analyzers
@arbocombr
Intelligent queries in Liferay DXP
● Modular OSGi extension points for query builders
● Construct sophisticated, compound queries per field
● Add custom analyzers and type mappings programmatically
● Design searchable assets and fine tune relevance
@arbocombr
Rich data requires tailored search
@arbocombr
TITLE
(Short, autocomplete aware)
Description
(Lengthy, full text)
Email address
(Special formats, symbols)
Geolocation
(Coordinates)
Description field style - ready to use
● Classic full text search
● Match by any number of words (or phrases in quotes)
● Proximity: words near each other become top results
@arbocombr
Title field style - ready to use
● Full text search like classic Description- with tweaks
● Autocomplete ready: match to start will boost relevance
● A perfect match to the exact title becomes a top result
● Ignore proximity, since titles are short- best performance
@arbocombr
Substring field style (discouraged)
● Find anywhere in "keyword" field: "user@liferay.com"
● Not actually analyzed- full scan- kills performance
● Kept for backward compatibility only ("wildcard", "like")
● Use intelligent mappings, analyzers and queries instead
@arbocombr
An intelligent platform
● A well designed User Journey- an increase in Search volume
● Content suggestion- incremental filters- advanced queries
● Liferay DXP: focus on application and content management
● Search engine: external scalability, dynamic advantages
@arbocombr
Elasticsearch:
the Liferay DXP
official search engine
@arbocombr
● Match
● Multi Match
● Match All
● Query String
● Term / Terms
Elasticsearch queries for any use case
@arbocombr
● Regexp
● Fuzzy
● Type
● Ids
● DisMax
● REST API for compound queries- Lucene with better syntax
● Range
● Exists
● Missing
● Prefix
● Wildcard
● Geo Distance
● Geo Distance Range
● Geo Bounding Box
● Geo Polygon
● More Like This
Fine tune relevance rapidly...
… then bring it back
into your Liferay search
@arbocombr
GET /cars/transactions/_search
{
"query" : {
"constant_score": {
"filter": {
"range": {
"price": {
"gte": 10000
}
}
}
}
},
"aggs" : {
"single_avg_price": {
"avg" : { "field" : "price" }
}
}
}
Similarity suggestion: More Like This
● Liferay DXP: MoreLikeThisQuery
● User viewing blogs, documents, your own custom entities
● Automatically suggest related assets, based on content
● Full text and specific fields
@arbocombr
Massive queries need great scalability
@arbocombr
A seamless transition
@arbocombr
Production mode
Dev mode
Enterprise-grade security: Shield
@arbocombr
Cluster monitoring: Marvel
@arbocombr
Visualization: Kibana
@arbocombr
Takeaways
@arbocombr
The Digital Experience and Search
● Digital Transformation: not just index-and-find anymore
● Your User Journey will often start with a search
● Effective matches and refinements generate business
● With more user searches, underlying platform must scale
@arbocombr
Liferay DXP: innovations in Search
● Elasticsearch: Lucene at core, improvements at every level
● Enterprise-grade Search with Shield, Marvel and Kibana
● Maximum scalability, decoupled from the DXP footprint
● Flexibility with modular API and OSGi extension points
@arbocombr
Intelligent queries for all use cases
● DXP: many new filters and queries to mix and match
● Ultimate relevance with per-field analyzers, queries, boosts
● Geolocation and more native field type mappings
@arbocombr
Intelligent Search for your User Journey
● Leverage modularity for fast, extensible development
● Small components that modify queries and share results
● Aggregations, filters, boxes, lists, maps, custom UI portlets
● Search Pages tailored to the needs of your business
@arbocombr
Thank you
- The Liferay Search Infrastructure Team -
@arbocombr
André de Oliveira ➤ Lead, Engineering (USA)
Tibor Lipusz ➤ SME, Support (Hungary)
Felipe Pires, Vitor Fernandes ➤ Design (Brazil)
Rodrigo Paulino ➤ Back-end (Brazil)
Jonathan Mak, Kevin Tan ➤ Front-end (USA)
Albert Lee, Brian Lee ➤ QA (USA)
Russell Bohl, Rich Sezov ➤ Tech writing (USA)
David Truong, Michael Han ➤ Product Management (USA)
http://j.mp/SearchLiferayNorthAmerica2016
andre.oliveira@liferay.com
github.com/arboliveira

Mais conteúdo relacionado

Mais procurados

The original vision of Nutch, 14 years later: Building an open source search ...
The original vision of Nutch, 14 years later: Building an open source search ...The original vision of Nutch, 14 years later: Building an open source search ...
The original vision of Nutch, 14 years later: Building an open source search ...Sylvain Zimmer
 
Growing with elastic search
Growing with elastic searchGrowing with elastic search
Growing with elastic searchDevi A S L
 
Faceted search using Solr and Ontopia
Faceted search using Solr and OntopiaFaceted search using Solr and Ontopia
Faceted search using Solr and OntopiaGeir Ove Grønmo
 
Intro to Cypher
Intro to CypherIntro to Cypher
Intro to CypherNeo4j
 
Managed Search: Presented by Jacob Graves, Getty Images
Managed Search: Presented by Jacob Graves, Getty ImagesManaged Search: Presented by Jacob Graves, Getty Images
Managed Search: Presented by Jacob Graves, Getty ImagesLucidworks
 
Using Joomla, Zoo & SOLR to power Asia's Largest Auction House
Using Joomla, Zoo & SOLR to power Asia's Largest Auction HouseUsing Joomla, Zoo & SOLR to power Asia's Largest Auction House
Using Joomla, Zoo & SOLR to power Asia's Largest Auction HouseParth Lawate
 
Data IO: Next Generation Search with Lucene and Solr 4
Data IO: Next Generation Search with Lucene and Solr 4Data IO: Next Generation Search with Lucene and Solr 4
Data IO: Next Generation Search with Lucene and Solr 4Grant Ingersoll
 
Mindtalk Tech - Behind the scenes
Mindtalk Tech - Behind the scenesMindtalk Tech - Behind the scenes
Mindtalk Tech - Behind the scenesrobin_sy
 
Enhanced site search with cognitive APIs - Glynn Bird
Enhanced site search with cognitive APIs - Glynn BirdEnhanced site search with cognitive APIs - Glynn Bird
Enhanced site search with cognitive APIs - Glynn BirdData Driven Innovation
 
This Ain't Your Parent's Search Engine
This Ain't Your Parent's Search EngineThis Ain't Your Parent's Search Engine
This Ain't Your Parent's Search EngineGrant Ingersoll
 

Mais procurados (11)

The original vision of Nutch, 14 years later: Building an open source search ...
The original vision of Nutch, 14 years later: Building an open source search ...The original vision of Nutch, 14 years later: Building an open source search ...
The original vision of Nutch, 14 years later: Building an open source search ...
 
Growing with elastic search
Growing with elastic searchGrowing with elastic search
Growing with elastic search
 
Faceted search using Solr and Ontopia
Faceted search using Solr and OntopiaFaceted search using Solr and Ontopia
Faceted search using Solr and Ontopia
 
Intro to Cypher
Intro to CypherIntro to Cypher
Intro to Cypher
 
Managed Search: Presented by Jacob Graves, Getty Images
Managed Search: Presented by Jacob Graves, Getty ImagesManaged Search: Presented by Jacob Graves, Getty Images
Managed Search: Presented by Jacob Graves, Getty Images
 
Using Joomla, Zoo & SOLR to power Asia's Largest Auction House
Using Joomla, Zoo & SOLR to power Asia's Largest Auction HouseUsing Joomla, Zoo & SOLR to power Asia's Largest Auction House
Using Joomla, Zoo & SOLR to power Asia's Largest Auction House
 
Data IO: Next Generation Search with Lucene and Solr 4
Data IO: Next Generation Search with Lucene and Solr 4Data IO: Next Generation Search with Lucene and Solr 4
Data IO: Next Generation Search with Lucene and Solr 4
 
Solr for Data Science
Solr for Data ScienceSolr for Data Science
Solr for Data Science
 
Mindtalk Tech - Behind the scenes
Mindtalk Tech - Behind the scenesMindtalk Tech - Behind the scenes
Mindtalk Tech - Behind the scenes
 
Enhanced site search with cognitive APIs - Glynn Bird
Enhanced site search with cognitive APIs - Glynn BirdEnhanced site search with cognitive APIs - Glynn Bird
Enhanced site search with cognitive APIs - Glynn Bird
 
This Ain't Your Parent's Search Engine
This Ain't Your Parent's Search EngineThis Ain't Your Parent's Search Engine
This Ain't Your Parent's Search Engine
 

Semelhante a Search Intelligently - Liferay Symposium North America 2016, Chicago, USA

When to Use MongoDB
When to Use MongoDBWhen to Use MongoDB
When to Use MongoDBMongoDB
 
Webinar: When to Use MongoDB
Webinar: When to Use MongoDBWebinar: When to Use MongoDB
Webinar: When to Use MongoDBMongoDB
 
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...Cambridge Semantics
 
SDSC18 and DSATL Meetup March 2018
SDSC18 and DSATL Meetup March 2018 SDSC18 and DSATL Meetup March 2018
SDSC18 and DSATL Meetup March 2018 CareerBuilder.com
 
Knowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceKnowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceCambridge Semantics
 
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global Lucidworks
 
Building multi billion ( dollars, users, documents ) search engines on open ...
Building multi billion ( dollars, users, documents ) search engines  on open ...Building multi billion ( dollars, users, documents ) search engines  on open ...
Building multi billion ( dollars, users, documents ) search engines on open ...Andrei Lopatenko
 
Exploring MongoDB & Elasticsearch: Better Together
Exploring MongoDB & Elasticsearch: Better TogetherExploring MongoDB & Elasticsearch: Better Together
Exploring MongoDB & Elasticsearch: Better TogetherObjectRocket
 
Python Web Scraper for ACM and Google Scholar.pptx
Python Web Scraper for ACM and Google Scholar.pptxPython Web Scraper for ACM and Google Scholar.pptx
Python Web Scraper for ACM and Google Scholar.pptxASIMKHAN840563
 
Building data "Py-pelines"
Building data "Py-pelines"Building data "Py-pelines"
Building data "Py-pelines"Rob Winters
 
Webinar: Scaling MongoDB
Webinar: Scaling MongoDBWebinar: Scaling MongoDB
Webinar: Scaling MongoDBMongoDB
 
20181019 code.talks graph_analytics_k_patenge
20181019 code.talks graph_analytics_k_patenge20181019 code.talks graph_analytics_k_patenge
20181019 code.talks graph_analytics_k_patengeKarin Patenge
 
MongoDB Partner Program Update - November 2013
MongoDB Partner Program Update - November 2013MongoDB Partner Program Update - November 2013
MongoDB Partner Program Update - November 2013MongoDB
 
Building a Scalable Web Crawler with Hadoop
Building a Scalable Web Crawler with HadoopBuilding a Scalable Web Crawler with Hadoop
Building a Scalable Web Crawler with HadoopHadoop User Group
 
How Auto Microcubes Work with Indexing & Caching to Deliver a Consistently Fa...
How Auto Microcubes Work with Indexing & Caching to Deliver a Consistently Fa...How Auto Microcubes Work with Indexing & Caching to Deliver a Consistently Fa...
How Auto Microcubes Work with Indexing & Caching to Deliver a Consistently Fa...Remy Rosenbaum
 
SEO Do's and Dont's - Search in 2018
SEO Do's and Dont's - Search in 2018SEO Do's and Dont's - Search in 2018
SEO Do's and Dont's - Search in 2018Linus Logren
 
Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...
Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...
Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...Perficient, Inc.
 

Semelhante a Search Intelligently - Liferay Symposium North America 2016, Chicago, USA (20)

MongoDB Basics
MongoDB BasicsMongoDB Basics
MongoDB Basics
 
When to Use MongoDB
When to Use MongoDBWhen to Use MongoDB
When to Use MongoDB
 
Webinar: When to Use MongoDB
Webinar: When to Use MongoDBWebinar: When to Use MongoDB
Webinar: When to Use MongoDB
 
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
AnzoGraph DB: Driving AI and Machine Insights with Knowledge Graphs in a Conn...
 
SDSC18 and DSATL Meetup March 2018
SDSC18 and DSATL Meetup March 2018 SDSC18 and DSATL Meetup March 2018
SDSC18 and DSATL Meetup March 2018
 
Knowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data ScienceKnowledge Graph for Machine Learning and Data Science
Knowledge Graph for Machine Learning and Data Science
 
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
Solr Under the Hood at S&P Global- Sumit Vadhera, S&P Global
 
Building multi billion ( dollars, users, documents ) search engines on open ...
Building multi billion ( dollars, users, documents ) search engines  on open ...Building multi billion ( dollars, users, documents ) search engines  on open ...
Building multi billion ( dollars, users, documents ) search engines on open ...
 
Exploring MongoDB & Elasticsearch: Better Together
Exploring MongoDB & Elasticsearch: Better TogetherExploring MongoDB & Elasticsearch: Better Together
Exploring MongoDB & Elasticsearch: Better Together
 
Python Web Scraper for ACM and Google Scholar.pptx
Python Web Scraper for ACM and Google Scholar.pptxPython Web Scraper for ACM and Google Scholar.pptx
Python Web Scraper for ACM and Google Scholar.pptx
 
Building data "Py-pelines"
Building data "Py-pelines"Building data "Py-pelines"
Building data "Py-pelines"
 
Webinar: Scaling MongoDB
Webinar: Scaling MongoDBWebinar: Scaling MongoDB
Webinar: Scaling MongoDB
 
The SEO Magic of Structured Data
The SEO Magic of Structured DataThe SEO Magic of Structured Data
The SEO Magic of Structured Data
 
20181019 code.talks graph_analytics_k_patenge
20181019 code.talks graph_analytics_k_patenge20181019 code.talks graph_analytics_k_patenge
20181019 code.talks graph_analytics_k_patenge
 
MongoDB Partner Program Update - November 2013
MongoDB Partner Program Update - November 2013MongoDB Partner Program Update - November 2013
MongoDB Partner Program Update - November 2013
 
Common crawlpresentation
Common crawlpresentationCommon crawlpresentation
Common crawlpresentation
 
Building a Scalable Web Crawler with Hadoop
Building a Scalable Web Crawler with HadoopBuilding a Scalable Web Crawler with Hadoop
Building a Scalable Web Crawler with Hadoop
 
How Auto Microcubes Work with Indexing & Caching to Deliver a Consistently Fa...
How Auto Microcubes Work with Indexing & Caching to Deliver a Consistently Fa...How Auto Microcubes Work with Indexing & Caching to Deliver a Consistently Fa...
How Auto Microcubes Work with Indexing & Caching to Deliver a Consistently Fa...
 
SEO Do's and Dont's - Search in 2018
SEO Do's and Dont's - Search in 2018SEO Do's and Dont's - Search in 2018
SEO Do's and Dont's - Search in 2018
 
Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...
Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...
Big Data Open Source Tools and Trends: Enable Real-Time Business Intelligence...
 

Mais de André Ricardo Barreto de Oliveira

Liferay Search: Best Practices to Dramatically Improve Relevance - Liferay Sy...
Liferay Search: Best Practices to Dramatically Improve Relevance - Liferay Sy...Liferay Search: Best Practices to Dramatically Improve Relevance - Liferay Sy...
Liferay Search: Best Practices to Dramatically Improve Relevance - Liferay Sy...André Ricardo Barreto de Oliveira
 
Search: Explorando Todo O Poder das Buscas - Liferay Symposium Brasil 2015, S...
Search: Explorando Todo O Poder das Buscas - Liferay Symposium Brasil 2015, S...Search: Explorando Todo O Poder das Buscas - Liferay Symposium Brasil 2015, S...
Search: Explorando Todo O Poder das Buscas - Liferay Symposium Brasil 2015, S...André Ricardo Barreto de Oliveira
 
Harnessing The Power of Search - Liferay DEVCON 2015, Darmstadt, Germany
Harnessing The Power of Search - Liferay DEVCON 2015, Darmstadt, GermanyHarnessing The Power of Search - Liferay DEVCON 2015, Darmstadt, Germany
Harnessing The Power of Search - Liferay DEVCON 2015, Darmstadt, GermanyAndré Ricardo Barreto de Oliveira
 
Onde nenhum desenvolvedor jamais testou: Introduzindo testes unitários em cód...
Onde nenhum desenvolvedor jamais testou: Introduzindo testes unitários em cód...Onde nenhum desenvolvedor jamais testou: Introduzindo testes unitários em cód...
Onde nenhum desenvolvedor jamais testou: Introduzindo testes unitários em cód...André Ricardo Barreto de Oliveira
 
Escrevendo testes unitários para código legado: técnicas de isolamento
Escrevendo testes unitários para código legado: técnicas de isolamentoEscrevendo testes unitários para código legado: técnicas de isolamento
Escrevendo testes unitários para código legado: técnicas de isolamentoAndré Ricardo Barreto de Oliveira
 

Mais de André Ricardo Barreto de Oliveira (6)

Liferay Search: Best Practices to Dramatically Improve Relevance - Liferay Sy...
Liferay Search: Best Practices to Dramatically Improve Relevance - Liferay Sy...Liferay Search: Best Practices to Dramatically Improve Relevance - Liferay Sy...
Liferay Search: Best Practices to Dramatically Improve Relevance - Liferay Sy...
 
Search: Explorando Todo O Poder das Buscas - Liferay Symposium Brasil 2015, S...
Search: Explorando Todo O Poder das Buscas - Liferay Symposium Brasil 2015, S...Search: Explorando Todo O Poder das Buscas - Liferay Symposium Brasil 2015, S...
Search: Explorando Todo O Poder das Buscas - Liferay Symposium Brasil 2015, S...
 
Harnessing The Power of Search - Liferay DEVCON 2015, Darmstadt, Germany
Harnessing The Power of Search - Liferay DEVCON 2015, Darmstadt, GermanyHarnessing The Power of Search - Liferay DEVCON 2015, Darmstadt, Germany
Harnessing The Power of Search - Liferay DEVCON 2015, Darmstadt, Germany
 
Liferay e Modularização com Arquitetura OSGi
Liferay e Modularização com Arquitetura OSGiLiferay e Modularização com Arquitetura OSGi
Liferay e Modularização com Arquitetura OSGi
 
Onde nenhum desenvolvedor jamais testou: Introduzindo testes unitários em cód...
Onde nenhum desenvolvedor jamais testou: Introduzindo testes unitários em cód...Onde nenhum desenvolvedor jamais testou: Introduzindo testes unitários em cód...
Onde nenhum desenvolvedor jamais testou: Introduzindo testes unitários em cód...
 
Escrevendo testes unitários para código legado: técnicas de isolamento
Escrevendo testes unitários para código legado: técnicas de isolamentoEscrevendo testes unitários para código legado: técnicas de isolamento
Escrevendo testes unitários para código legado: técnicas de isolamento
 

Último

WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 

Último (20)

WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
WSO2Con2024 - From Blueprint to Brilliance: WSO2's Guide to API-First Enginee...
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Boksburg [(+27832195400*)] 🏥 Women's Abortion Clinic in ...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 

Search Intelligently - Liferay Symposium North America 2016, Chicago, USA

  • 1. Search Intelligently Building the Digital Experience with Liferay DXP, new queries and Elasticsearch André Ricardo Barreto de Oliveira ("Arbo") Search Infrastructure Lead - Liferay, Inc. Chicago, USA September 27, 2016
  • 2. Search in the age of Digital Transformation
  • 3. The classic approach to Search ● A tool for content retrieval, and little else ● Analyze - Index - Query - Display - Repeat ● Website finished: "add a Search Bar" as an afterthought ● No real correlation between Search and Business Case @arbocombr
  • 4. Meanwhile, in the Search landscape... ● Big Data ● Analytics and Statistics ● Post-text content ● Maps and Geolocation @arbocombr ● Natural Language Processing ● Bots ● Machine Learning ● Artificial Intelligence
  • 5. Search meets Digital Transformation ● Well-designed Search, now central to digital business ● A search is often the starting point for the User Journey ● Results with nonlinear interaction- and action ● Impossible to tell apart: Search and the Digital Experience @arbocombr
  • 7. Business assets designed for Search @arbocombr
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. Turn chaotic into manageable @arbocombr
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Find the needle in the haystack @arbocombr
  • 18.
  • 19.
  • 20.
  • 21.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. Show what they need to see @arbocombr
  • 28.
  • 29.
  • 30.
  • 31.
  • 32. Liferay DXP Demo: What's new in Search @arbocombr
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43. Liferay DXP Search: Demo Time New and upcoming features: building your own Search experience @arbocombr
  • 45. The classic approach to queries ● Full text "bag of words" → all results with same relevance ● Substring (*wildcards*) → performance hit in large indices ● Limited flexibility for special parsing cases (e.g. emails) ● Manual configuration for fields with custom analyzers @arbocombr
  • 46. Intelligent queries in Liferay DXP ● Modular OSGi extension points for query builders ● Construct sophisticated, compound queries per field ● Add custom analyzers and type mappings programmatically ● Design searchable assets and fine tune relevance @arbocombr
  • 47. Rich data requires tailored search @arbocombr TITLE (Short, autocomplete aware) Description (Lengthy, full text) Email address (Special formats, symbols) Geolocation (Coordinates)
  • 48. Description field style - ready to use ● Classic full text search ● Match by any number of words (or phrases in quotes) ● Proximity: words near each other become top results @arbocombr
  • 49. Title field style - ready to use ● Full text search like classic Description- with tweaks ● Autocomplete ready: match to start will boost relevance ● A perfect match to the exact title becomes a top result ● Ignore proximity, since titles are short- best performance @arbocombr
  • 50. Substring field style (discouraged) ● Find anywhere in "keyword" field: "user@liferay.com" ● Not actually analyzed- full scan- kills performance ● Kept for backward compatibility only ("wildcard", "like") ● Use intelligent mappings, analyzers and queries instead @arbocombr
  • 51.
  • 52. An intelligent platform ● A well designed User Journey- an increase in Search volume ● Content suggestion- incremental filters- advanced queries ● Liferay DXP: focus on application and content management ● Search engine: external scalability, dynamic advantages @arbocombr
  • 53. Elasticsearch: the Liferay DXP official search engine @arbocombr
  • 54. ● Match ● Multi Match ● Match All ● Query String ● Term / Terms Elasticsearch queries for any use case @arbocombr ● Regexp ● Fuzzy ● Type ● Ids ● DisMax ● REST API for compound queries- Lucene with better syntax ● Range ● Exists ● Missing ● Prefix ● Wildcard ● Geo Distance ● Geo Distance Range ● Geo Bounding Box ● Geo Polygon ● More Like This
  • 55. Fine tune relevance rapidly... … then bring it back into your Liferay search @arbocombr GET /cars/transactions/_search { "query" : { "constant_score": { "filter": { "range": { "price": { "gte": 10000 } } } } }, "aggs" : { "single_avg_price": { "avg" : { "field" : "price" } } } }
  • 56. Similarity suggestion: More Like This ● Liferay DXP: MoreLikeThisQuery ● User viewing blogs, documents, your own custom entities ● Automatically suggest related assets, based on content ● Full text and specific fields @arbocombr
  • 57. Massive queries need great scalability @arbocombr
  • 63. The Digital Experience and Search ● Digital Transformation: not just index-and-find anymore ● Your User Journey will often start with a search ● Effective matches and refinements generate business ● With more user searches, underlying platform must scale @arbocombr
  • 64. Liferay DXP: innovations in Search ● Elasticsearch: Lucene at core, improvements at every level ● Enterprise-grade Search with Shield, Marvel and Kibana ● Maximum scalability, decoupled from the DXP footprint ● Flexibility with modular API and OSGi extension points @arbocombr
  • 65. Intelligent queries for all use cases ● DXP: many new filters and queries to mix and match ● Ultimate relevance with per-field analyzers, queries, boosts ● Geolocation and more native field type mappings @arbocombr
  • 66. Intelligent Search for your User Journey ● Leverage modularity for fast, extensible development ● Small components that modify queries and share results ● Aggregations, filters, boxes, lists, maps, custom UI portlets ● Search Pages tailored to the needs of your business @arbocombr
  • 67. Thank you - The Liferay Search Infrastructure Team - @arbocombr André de Oliveira ➤ Lead, Engineering (USA) Tibor Lipusz ➤ SME, Support (Hungary) Felipe Pires, Vitor Fernandes ➤ Design (Brazil) Rodrigo Paulino ➤ Back-end (Brazil) Jonathan Mak, Kevin Tan ➤ Front-end (USA) Albert Lee, Brian Lee ➤ QA (USA) Russell Bohl, Rich Sezov ➤ Tech writing (USA) David Truong, Michael Han ➤ Product Management (USA) http://j.mp/SearchLiferayNorthAmerica2016 andre.oliveira@liferay.com github.com/arboliveira