SlideShare ist ein Scribd-Unternehmen logo
1 von 15
TEST DRIVEN RELEVANCY
How to Work with Content Experts to Optimize and
Maintain Search Relevancy

Doug Turnbull

Rena Morse

Search Relevancy Expert Director of Semantic Tech
OpenSource Connections Silverchair Information
Systems
Its us!
Hi I‟m Doug!

@softwaredoug
http://www.linkedin.com/in/softwaredoug
http://bit.ly/softwaredoug

Hi I‟m Rena!

renam@silverchair.com
How do sales/content curators collaborate with devs?
“When doctors search for „myocardial infarction‟ these
documents about „heart attacks‟ should come up”

“Myocardial in-what-tion? Dangit Rena, I‟m a
Solr consultant – not a doctor”
“I don‟t even…”
“let me work my Solr magic and get back to
you next week…”
How do content curators collaborate with devs?
•

Doug knows Solr

•

Bob knows his business
Rena knows her content
Supplier Pressure
Sales
Conversions
Niche customers

q={!boost b=log(numCatPictures)}bunnies
<tokenizer class="solr.WhitespaceTokenizerFactory"/>

Myocardial infarction

Renal carcinoma

This is a universal pattern – it takes different strokes!
How do content curators collaborate with devs?
“Rena, I fixed that myocardial in-whatever-tion relevancy
issue”
“Ok but you broke this other thing I thought
was fixed!”
<reiterates that he‟s a search expert not a doctor>
<reiterates she‟s a paying client>
“ok let me see what I can do…. I‟ll get back to you in a
week”
Our Problems
•

People Problem: Our collaboration stinks
– “Throw problems over the fence… wait a week”
– Siloed by expertise (search vs content experts)
– Potential for politics, anger, frustration (all paths to the dark side)

•

Technical Problem: Search testing is hard
– Small set of relevancy rules impacts all user searches
– Therefore: Much easier to have regressions than in software
– Very easy to have regressions
Our Problems
•

In short, Broken Workflow:
– Iterations between devs and non-technical experts take a long time
– Devs need immediate access to non-technical expertise to make rapid
progress
• Gather broken searches
• Rate existing searches
• Find searches that have slid backwards in quality
– Non-technical experts clearly need devs
• Translate business rules to relevancy rules
• Bending sophisticated token matching engine to our approximate user
intent
Our Problems
•

Our lack of collaboration means our testing stinks
– Need expert feedback to test
“this is good, this is bad, this is ok….”

•

Search devs often don‟t know good search! They need help.
“I need an army of Renas locked in a room
telling me what is good and bad”
Solutions?
•

In s/w development -- automated testing is often away to collaborate
– Devs Can sit together with content experts and ask:
• What should happen in this case?
– Then record that in the form of a test
@Given("tab $asciiTab")
public void tab(String asciiTab) {
tab = new Tab(asciiTab, new TabParser());
}

@When("the guitar plays")
public void guitarPlays() {
guitar = new Guitar();
guitar.play(tab);
}
@Then("the following notes will be played $notes")
public void theFollowingNotesWillBePlayed(String notes) {
ensureThat(expectedNotes(notes), arePlayedBy(guitar));
}
Test Driven Development with Search
•

Collaborative testing is absolutely essential for search
– Good search is best defined by experts in the content:
• Marketing, sales, users, etc
I‟m a search expert! Not a Doctor!
How can I possibly measure search

•

Unfortunately there‟s nothing to help content experts communicate with search
devs around search (frankly this is rather shocking to me)
Help me help you! I have few ways to
record, measure, and evaluate search
Test Driven Development with Search
•

Collaborative testing is absolutely essential for search
– Every change to search relevancy will cause other queries to change
– MUST know how much our relevancy has changed
“I fixed your search… Does it matter that toe fungus query
changed by 30%?”
“Yeah lets see if we can work together to balance
the two relevancy concerns”
“I‟m glad we have tests to know what‟s changed!”
Test Driven Development with Search
•

Apply these ideas to search quality:
– Given query Y
– What documents are awesome/good/ok/bad/terrible?

•
•

Record these ratings somewhere
Observe the changes of all queries simultaneously as we modify relevancy params
Now I‟ve got the ultimate relevancy workbench. I can
see if my ideas are working or failing right away!
Now I cane see instantly if Doug‟s changes are making
progress or if we‟re moving backwards!
Quepid! (give your queries some love!)
•
•

We built a tool (a product!) around these ideas
Now our favorite relevancy workbench

Learn more about Quepid!

http://quepid.io

“Hey we‟re kicking butt and
taking names on these search
queries!”
Test Driven Development with Quepid
Search Quality is about Collaboration*
*and collaboration is about testing

Demo time

Weitere ähnliche Inhalte

Mehr von lucenerevolution

Implementing a Custom Search Syntax using Solr, Lucene, and Parboiled
Implementing a Custom Search Syntax using Solr, Lucene, and ParboiledImplementing a Custom Search Syntax using Solr, Lucene, and Parboiled
Implementing a Custom Search Syntax using Solr, Lucene, and Parboiledlucenerevolution
 
Using Solr to Search and Analyze Logs
Using Solr to Search and Analyze Logs Using Solr to Search and Analyze Logs
Using Solr to Search and Analyze Logs lucenerevolution
 
Enhancing relevancy through personalization & semantic search
Enhancing relevancy through personalization & semantic searchEnhancing relevancy through personalization & semantic search
Enhancing relevancy through personalization & semantic searchlucenerevolution
 
Real-time Inverted Search in the Cloud Using Lucene and Storm
Real-time Inverted Search in the Cloud Using Lucene and StormReal-time Inverted Search in the Cloud Using Lucene and Storm
Real-time Inverted Search in the Cloud Using Lucene and Stormlucenerevolution
 
Solr's Admin UI - Where does the data come from?
Solr's Admin UI - Where does the data come from?Solr's Admin UI - Where does the data come from?
Solr's Admin UI - Where does the data come from?lucenerevolution
 
Schemaless Solr and the Solr Schema REST API
Schemaless Solr and the Solr Schema REST APISchemaless Solr and the Solr Schema REST API
Schemaless Solr and the Solr Schema REST APIlucenerevolution
 
High Performance JSON Search and Relational Faceted Browsing with Lucene
High Performance JSON Search and Relational Faceted Browsing with LuceneHigh Performance JSON Search and Relational Faceted Browsing with Lucene
High Performance JSON Search and Relational Faceted Browsing with Lucenelucenerevolution
 
Text Classification with Lucene/Solr, Apache Hadoop and LibSVM
Text Classification with Lucene/Solr, Apache Hadoop and LibSVMText Classification with Lucene/Solr, Apache Hadoop and LibSVM
Text Classification with Lucene/Solr, Apache Hadoop and LibSVMlucenerevolution
 
Faceted Search with Lucene
Faceted Search with LuceneFaceted Search with Lucene
Faceted Search with Lucenelucenerevolution
 
Recent Additions to Lucene Arsenal
Recent Additions to Lucene ArsenalRecent Additions to Lucene Arsenal
Recent Additions to Lucene Arsenallucenerevolution
 
Spellchecking in Trovit: Implementing a Contextual Multi-language Spellchecke...
Spellchecking in Trovit: Implementing a Contextual Multi-language Spellchecke...Spellchecking in Trovit: Implementing a Contextual Multi-language Spellchecke...
Spellchecking in Trovit: Implementing a Contextual Multi-language Spellchecke...lucenerevolution
 
Shrinking the haystack wes caldwell - final
Shrinking the haystack   wes caldwell - finalShrinking the haystack   wes caldwell - final
Shrinking the haystack wes caldwell - finallucenerevolution
 
The First Class Integration of Solr with Hadoop
The First Class Integration of Solr with HadoopThe First Class Integration of Solr with Hadoop
The First Class Integration of Solr with Hadooplucenerevolution
 
A Novel methodology for handling Document Level Security in Search Based Appl...
A Novel methodology for handling Document Level Security in Search Based Appl...A Novel methodology for handling Document Level Security in Search Based Appl...
A Novel methodology for handling Document Level Security in Search Based Appl...lucenerevolution
 
How Lucene Powers the LinkedIn Segmentation and Targeting Platform
How Lucene Powers the LinkedIn Segmentation and Targeting PlatformHow Lucene Powers the LinkedIn Segmentation and Targeting Platform
How Lucene Powers the LinkedIn Segmentation and Targeting Platformlucenerevolution
 
Query Latency Optimization with Lucene
Query Latency Optimization with LuceneQuery Latency Optimization with Lucene
Query Latency Optimization with Lucenelucenerevolution
 
Large Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and FriendsLarge Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and Friendslucenerevolution
 
Hacking Lucene and Solr for Fun and Profit
Hacking Lucene and Solr for Fun and ProfitHacking Lucene and Solr for Fun and Profit
Hacking Lucene and Solr for Fun and Profitlucenerevolution
 

Mehr von lucenerevolution (20)

Implementing a Custom Search Syntax using Solr, Lucene, and Parboiled
Implementing a Custom Search Syntax using Solr, Lucene, and ParboiledImplementing a Custom Search Syntax using Solr, Lucene, and Parboiled
Implementing a Custom Search Syntax using Solr, Lucene, and Parboiled
 
Using Solr to Search and Analyze Logs
Using Solr to Search and Analyze Logs Using Solr to Search and Analyze Logs
Using Solr to Search and Analyze Logs
 
Enhancing relevancy through personalization & semantic search
Enhancing relevancy through personalization & semantic searchEnhancing relevancy through personalization & semantic search
Enhancing relevancy through personalization & semantic search
 
Real-time Inverted Search in the Cloud Using Lucene and Storm
Real-time Inverted Search in the Cloud Using Lucene and StormReal-time Inverted Search in the Cloud Using Lucene and Storm
Real-time Inverted Search in the Cloud Using Lucene and Storm
 
Solr's Admin UI - Where does the data come from?
Solr's Admin UI - Where does the data come from?Solr's Admin UI - Where does the data come from?
Solr's Admin UI - Where does the data come from?
 
Schemaless Solr and the Solr Schema REST API
Schemaless Solr and the Solr Schema REST APISchemaless Solr and the Solr Schema REST API
Schemaless Solr and the Solr Schema REST API
 
High Performance JSON Search and Relational Faceted Browsing with Lucene
High Performance JSON Search and Relational Faceted Browsing with LuceneHigh Performance JSON Search and Relational Faceted Browsing with Lucene
High Performance JSON Search and Relational Faceted Browsing with Lucene
 
Text Classification with Lucene/Solr, Apache Hadoop and LibSVM
Text Classification with Lucene/Solr, Apache Hadoop and LibSVMText Classification with Lucene/Solr, Apache Hadoop and LibSVM
Text Classification with Lucene/Solr, Apache Hadoop and LibSVM
 
Faceted Search with Lucene
Faceted Search with LuceneFaceted Search with Lucene
Faceted Search with Lucene
 
Recent Additions to Lucene Arsenal
Recent Additions to Lucene ArsenalRecent Additions to Lucene Arsenal
Recent Additions to Lucene Arsenal
 
Spellchecking in Trovit: Implementing a Contextual Multi-language Spellchecke...
Spellchecking in Trovit: Implementing a Contextual Multi-language Spellchecke...Spellchecking in Trovit: Implementing a Contextual Multi-language Spellchecke...
Spellchecking in Trovit: Implementing a Contextual Multi-language Spellchecke...
 
Shrinking the haystack wes caldwell - final
Shrinking the haystack   wes caldwell - finalShrinking the haystack   wes caldwell - final
Shrinking the haystack wes caldwell - final
 
The First Class Integration of Solr with Hadoop
The First Class Integration of Solr with HadoopThe First Class Integration of Solr with Hadoop
The First Class Integration of Solr with Hadoop
 
A Novel methodology for handling Document Level Security in Search Based Appl...
A Novel methodology for handling Document Level Security in Search Based Appl...A Novel methodology for handling Document Level Security in Search Based Appl...
A Novel methodology for handling Document Level Security in Search Based Appl...
 
How Lucene Powers the LinkedIn Segmentation and Targeting Platform
How Lucene Powers the LinkedIn Segmentation and Targeting PlatformHow Lucene Powers the LinkedIn Segmentation and Targeting Platform
How Lucene Powers the LinkedIn Segmentation and Targeting Platform
 
Query Latency Optimization with Lucene
Query Latency Optimization with LuceneQuery Latency Optimization with Lucene
Query Latency Optimization with Lucene
 
10 keys to Solr's Future
10 keys to Solr's Future10 keys to Solr's Future
10 keys to Solr's Future
 
Large Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and FriendsLarge Scale Crawling with Apache Nutch and Friends
Large Scale Crawling with Apache Nutch and Friends
 
The Typed Index
The Typed IndexThe Typed Index
The Typed Index
 
Hacking Lucene and Solr for Fun and Profit
Hacking Lucene and Solr for Fun and ProfitHacking Lucene and Solr for Fun and Profit
Hacking Lucene and Solr for Fun and Profit
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 

Kürzlich hochgeladen (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Test Driven Relevancy -- How to Work with Content Experts to Optimize and Maintain Search Relevancy

  • 1.
  • 2. TEST DRIVEN RELEVANCY How to Work with Content Experts to Optimize and Maintain Search Relevancy Doug Turnbull Rena Morse Search Relevancy Expert Director of Semantic Tech OpenSource Connections Silverchair Information Systems
  • 3. Its us! Hi I‟m Doug! @softwaredoug http://www.linkedin.com/in/softwaredoug http://bit.ly/softwaredoug Hi I‟m Rena! renam@silverchair.com
  • 4. How do sales/content curators collaborate with devs? “When doctors search for „myocardial infarction‟ these documents about „heart attacks‟ should come up” “Myocardial in-what-tion? Dangit Rena, I‟m a Solr consultant – not a doctor” “I don‟t even…” “let me work my Solr magic and get back to you next week…”
  • 5. How do content curators collaborate with devs? • Doug knows Solr • Bob knows his business Rena knows her content Supplier Pressure Sales Conversions Niche customers q={!boost b=log(numCatPictures)}bunnies <tokenizer class="solr.WhitespaceTokenizerFactory"/> Myocardial infarction Renal carcinoma This is a universal pattern – it takes different strokes!
  • 6. How do content curators collaborate with devs? “Rena, I fixed that myocardial in-whatever-tion relevancy issue” “Ok but you broke this other thing I thought was fixed!” <reiterates that he‟s a search expert not a doctor> <reiterates she‟s a paying client> “ok let me see what I can do…. I‟ll get back to you in a week”
  • 7. Our Problems • People Problem: Our collaboration stinks – “Throw problems over the fence… wait a week” – Siloed by expertise (search vs content experts) – Potential for politics, anger, frustration (all paths to the dark side) • Technical Problem: Search testing is hard – Small set of relevancy rules impacts all user searches – Therefore: Much easier to have regressions than in software – Very easy to have regressions
  • 8. Our Problems • In short, Broken Workflow: – Iterations between devs and non-technical experts take a long time – Devs need immediate access to non-technical expertise to make rapid progress • Gather broken searches • Rate existing searches • Find searches that have slid backwards in quality – Non-technical experts clearly need devs • Translate business rules to relevancy rules • Bending sophisticated token matching engine to our approximate user intent
  • 9. Our Problems • Our lack of collaboration means our testing stinks – Need expert feedback to test “this is good, this is bad, this is ok….” • Search devs often don‟t know good search! They need help. “I need an army of Renas locked in a room telling me what is good and bad”
  • 10. Solutions? • In s/w development -- automated testing is often away to collaborate – Devs Can sit together with content experts and ask: • What should happen in this case? – Then record that in the form of a test @Given("tab $asciiTab") public void tab(String asciiTab) { tab = new Tab(asciiTab, new TabParser()); } @When("the guitar plays") public void guitarPlays() { guitar = new Guitar(); guitar.play(tab); } @Then("the following notes will be played $notes") public void theFollowingNotesWillBePlayed(String notes) { ensureThat(expectedNotes(notes), arePlayedBy(guitar)); }
  • 11. Test Driven Development with Search • Collaborative testing is absolutely essential for search – Good search is best defined by experts in the content: • Marketing, sales, users, etc I‟m a search expert! Not a Doctor! How can I possibly measure search • Unfortunately there‟s nothing to help content experts communicate with search devs around search (frankly this is rather shocking to me) Help me help you! I have few ways to record, measure, and evaluate search
  • 12. Test Driven Development with Search • Collaborative testing is absolutely essential for search – Every change to search relevancy will cause other queries to change – MUST know how much our relevancy has changed “I fixed your search… Does it matter that toe fungus query changed by 30%?” “Yeah lets see if we can work together to balance the two relevancy concerns” “I‟m glad we have tests to know what‟s changed!”
  • 13. Test Driven Development with Search • Apply these ideas to search quality: – Given query Y – What documents are awesome/good/ok/bad/terrible? • • Record these ratings somewhere Observe the changes of all queries simultaneously as we modify relevancy params Now I‟ve got the ultimate relevancy workbench. I can see if my ideas are working or failing right away! Now I cane see instantly if Doug‟s changes are making progress or if we‟re moving backwards!
  • 14. Quepid! (give your queries some love!) • • We built a tool (a product!) around these ideas Now our favorite relevancy workbench Learn more about Quepid! http://quepid.io “Hey we‟re kicking butt and taking names on these search queries!”
  • 15. Test Driven Development with Quepid Search Quality is about Collaboration* *and collaboration is about testing Demo time