SlideShare a Scribd company logo
Test Driven Relevancy, Presented by Doug Turnbull at SolrExchage DC
Test Driven Relevancy
Doug Turnbull
Search Relevancy Expert, OpenSource Connections
Hi I’m Doug!
Its me!
Also introducing my non-present
client Rena…
@softwaredoug
http://www.linkedin.com/in/softwaredoug
http://bit.ly/softwaredoug
renam@silverchair.com
OpenSource Connections
How do sales/content curators collaborate with devs?
“Myocardial in-what-tion? Dangit Rena, I’m a
Solr consultant – not a doctor”
“When doctors search for ‘myocardial infarction’ these
documents about ‘heart attacks’ should come up”
“I don’t even…”
“let me work my Solr magic and get back to
you next week…”
OpenSource Connections
How do content curators collaborate with devs?
• Doug knows Solr
q={!boost b=log(numCatPictures)}bunnies
• Rena knows her content
Myocardial infarction Renal carcinoma<tokenizer class="solr.WhitespaceTokenizerFactory"/>
• Bob knows his business
Sales
Niche customers
Conversions
Supplier Pressure
This is a universal pattern – it takes different strokes!
OpenSource Connections
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”
OpenSource Connections
• People Problem: Our collaboration stinks
o “Throw problems over the fence… wait a week”
o Siloed by expertise (search vs content experts)
o Potential for politics, anger, frustration (all paths to the dark side)
• Technical Problem: Search testing is hard
o Small set of relevancy rules impacts all user searches
o Therefore: Much easier to have regressions than in software
o Very easy to have regressions
Our Problems
OpenSource Connections
• In short, Broken Workflow:
o Iterations between devs and non-technical experts take a long time
o 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
o Non-technical experts clearly need devs
• Translate business rules to relevancy rules
• Bending sophisticated token matching engine to our approximate user
intent
Our Problems
OpenSource Connections
• Our lack of collaboration means our testing stinks
o Need expert feedback to test
Our Problems
• 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”
“this is good, this is bad, this is ok….”
OpenSource Connections
• In s/w development -- automated testing is often away to collaborate
o Devs Can sit together with content experts and ask:
• What should happen in this case?
o Then record that in the form of a test
Solutions?
@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));
}
OpenSource Connections
• Collaborative testing is absolutely essential for search
o Good search is best defined by experts in the content:
• Marketing, sales, users, etc
Test Driven Development with Search
I’m a search expert! Not a Doctor!
How can I possibly measure search
Help me help you! I have few ways to
record, measure, and evaluate search
• Unfortunately there’s nothing to help content experts communicate with search
devs around search (frankly this is rather shocking to me)
OpenSource Connections
• Collaborative testing is absolutely essential for search
o Every change to search relevancy will cause other queries to change
o MUST know how much our relevancy has changed
Test Driven Development with Search
“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!”
OpenSource Connections
• Apply these ideas to search quality:
o Given query Y
o What documents are awesome/good/ok/bad/terrible?
• Record these ratings somewhere
• Observe the changes of all queries simultaneously as we modify relevancy params
Test Driven Development with Search
Now I’ve got the ultimate relevancy workbench. I can
see if my ideas are working or failing right away!
Now I can see instantly if Doug’s changes are making
progress or if we’re moving backwards!
OpenSource Connections
• We built a tool (a product!) around these ideas
• Now our favorite relevancy workbench
Quepid!
“Hey we’re kicking butt and
taking names on these search
queries!”
http://quepid.com
Try Quepid!
OpenSource Connections
Search Quality is about Collaboration*
*and collaboration is about testing
Test Driven Development with Quepid
Demo time
OpenSource Connections

More Related Content

PPTX
Test Driven Search Relevancy w/ Quepid
PPTX
Break to build - the mindset of the modern day tester
PPTX
Hindsight lessons about API testing
PPTX
"Worst" practices of software testing
PDF
Test automation – the bitter truth
PDF
Worst practices in software testing by the Testing troll
PPTX
Asking Questions and Writing Effectively
PPTX
Automation vs. intelligence - "follow me if you want to live"
Test Driven Search Relevancy w/ Quepid
Break to build - the mindset of the modern day tester
Hindsight lessons about API testing
"Worst" practices of software testing
Test automation – the bitter truth
Worst practices in software testing by the Testing troll
Asking Questions and Writing Effectively
Automation vs. intelligence - "follow me if you want to live"

What's hot (18)

PPTX
Exploring with Automation
PPTX
James thomas
PPTX
How to Test Anything
PDF
Four Stages of Automated Testing by Bradley Temple
PDF
Agile Testing Days 2014 Keynote - Helping Testers Add Value on Agile Projects
PPTX
What is What is Professional Testing?
PDF
Learn Learning + Prototype Testing
PPTX
How did i miss that bug rtc
PPTX
My Futuristic Vision of the Future of Cassandra's Future - NGCC 2015
PDF
No such thing called agile testing
PPT
Testing is dead
PPTX
Usability Testing - Connect With Target Audience With Perfect UX
POTX
Nc tech4 good_presentation_2014_up
PDF
OSMC 2015: Testing in Production by Devdas Bhagat
PDF
2013-11-07 standups, stories, planning & estimates
PDF
Architecture for rookies
PPTX
Product ownership versus product management
KEY
Community and Github: 7/27/2011
Exploring with Automation
James thomas
How to Test Anything
Four Stages of Automated Testing by Bradley Temple
Agile Testing Days 2014 Keynote - Helping Testers Add Value on Agile Projects
What is What is Professional Testing?
Learn Learning + Prototype Testing
How did i miss that bug rtc
My Futuristic Vision of the Future of Cassandra's Future - NGCC 2015
No such thing called agile testing
Testing is dead
Usability Testing - Connect With Target Audience With Perfect UX
Nc tech4 good_presentation_2014_up
OSMC 2015: Testing in Production by Devdas Bhagat
2013-11-07 standups, stories, planning & estimates
Architecture for rookies
Product ownership versus product management
Community and Github: 7/27/2011
Ad

Viewers also liked (20)

PPTX
Maroon5
PDF
How The Guardian Embraced the Internet using Content, Search, and Open Source
PDF
2010 10-building-global-listening-platform-with-solr
PPTX
Technology opportunities in hampton roads (kaszubowski ), nasa technology day...
PPT
Mujer, pajaro y estrella
PDF
All Data Big and Small
PDF
Indexing Text and HTML Files with Solr
PDF
Integration of apache solr with crawlers
PPT
Descritores de linguagem
PPT
Simbad marinela
PPTX
20101023 ie9 cache
PDF
The Gaiety Hotel
PPT
How To Get The Justin Bieber Smile
PPT
Cancer
PPTX
IE12 大予想
PPTX
All the lovers
PDF
Understanding Lucene Search Performance
PDF
Tate Tyler - Designing the Search Experience
PPTX
Network Forensics Puzzle Contest に挑戦 #2
PPT
Bob dylan
Maroon5
How The Guardian Embraced the Internet using Content, Search, and Open Source
2010 10-building-global-listening-platform-with-solr
Technology opportunities in hampton roads (kaszubowski ), nasa technology day...
Mujer, pajaro y estrella
All Data Big and Small
Indexing Text and HTML Files with Solr
Integration of apache solr with crawlers
Descritores de linguagem
Simbad marinela
20101023 ie9 cache
The Gaiety Hotel
How To Get The Justin Bieber Smile
Cancer
IE12 大予想
All the lovers
Understanding Lucene Search Performance
Tate Tyler - Designing the Search Experience
Network Forensics Puzzle Contest に挑戦 #2
Bob dylan
Ad

Similar to Test Driven Relevancy, Presented by Doug Turnbull at SolrExchage DC (20)

PDF
Test driven relevancy
PPT
The right path to making search relevant - Taxonomy Bootcamp London 2019
ODP
Search Solutions 2015: Towards a new model of search relevance testing
KEY
rorosyd - Test Driven Search Development
KEY
Better Search Engine Testing
PDF
Better search engine testing for solr
PDF
Rated Ranking Evaluator (RRE) Hands-on Relevance Testing @Chorus
PDF
How To Structure Your Search Team for Success
PDF
Better Search Engine Testing - Eric Pugh
PDF
iPullRank Webinar - Automated Testing For SEO With Hamlet Batista
PPTX
Haystack keynote 2019: What is Search Relevance? - Max Irwin
PDF
What to Do—Develop Your Own Automation or Use Crowdsourced Testing?
PPTX
Virtual Stress-free Testing in the Cloud
PDF
Rated Ranking Evaluator: an Open Source Approach for Search Quality Evaluation
PDF
Software Testing for SEO
PDF
Haystack 2019 - Rated Ranking Evaluator: an Open Source Approach for Search Q...
PDF
Rated Ranking Evaluator: An Open Source Approach for Search Quality Evaluation
PDF
Evolving The Optimal Relevancy Scoring Model at Dice.com: Presented by Simon ...
PDF
SaaS Testing on an Agile World
PDF
Searchland: Search quality for Beginners
Test driven relevancy
The right path to making search relevant - Taxonomy Bootcamp London 2019
Search Solutions 2015: Towards a new model of search relevance testing
rorosyd - Test Driven Search Development
Better Search Engine Testing
Better search engine testing for solr
Rated Ranking Evaluator (RRE) Hands-on Relevance Testing @Chorus
How To Structure Your Search Team for Success
Better Search Engine Testing - Eric Pugh
iPullRank Webinar - Automated Testing For SEO With Hamlet Batista
Haystack keynote 2019: What is Search Relevance? - Max Irwin
What to Do—Develop Your Own Automation or Use Crowdsourced Testing?
Virtual Stress-free Testing in the Cloud
Rated Ranking Evaluator: an Open Source Approach for Search Quality Evaluation
Software Testing for SEO
Haystack 2019 - Rated Ranking Evaluator: an Open Source Approach for Search Q...
Rated Ranking Evaluator: An Open Source Approach for Search Quality Evaluation
Evolving The Optimal Relevancy Scoring Model at Dice.com: Presented by Simon ...
SaaS Testing on an Agile World
Searchland: Search quality for Beginners

More from Lucidworks (Archived) (20)

PDF
Integrating Hadoop & Solr
PDF
The Data-Driven Paradigm
PDF
Downtown SF Lucene/Solr Meetup - September 17: Thoth: Real-time Solr Monitori...
PDF
SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr
PPTX
SFBay Area Solr Meetup - June 18th: Box + Solr = Content Search for Business
PPTX
SFBay Area Solr Meetup - June 18th: Benchmarking Solr Performance
PPTX
Chicago Solr Meetup - June 10th: This Ain't Your Parents' Search Engine
PPTX
Chicago Solr Meetup - June 10th: Exploring Hadoop with Search
PPTX
What's new in solr june 2014
PPTX
Minneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache Solr
PPTX
Minneapolis Solr Meetup - May 28, 2014: Target.com Search
PPTX
Exploration of multidimensional biomedical data in pub chem, Presented by Lia...
PDF
Unstructured Or: How I Learned to Stop Worrying and Love the xml, Presented...
PDF
Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...
PDF
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DC
PPTX
What's New in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DC
PPTX
Solr At AOL, Presented by Sean Timm at SolrExchage DC
PPTX
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DC
PPTX
Building a data driven search application with LucidWorks SiLK
PPTX
Introducing LucidWorks App for Splunk Enterprise webinar
Integrating Hadoop & Solr
The Data-Driven Paradigm
Downtown SF Lucene/Solr Meetup - September 17: Thoth: Real-time Solr Monitori...
SFBay Area Solr Meetup - July 15th: Integrating Hadoop and Solr
SFBay Area Solr Meetup - June 18th: Box + Solr = Content Search for Business
SFBay Area Solr Meetup - June 18th: Benchmarking Solr Performance
Chicago Solr Meetup - June 10th: This Ain't Your Parents' Search Engine
Chicago Solr Meetup - June 10th: Exploring Hadoop with Search
What's new in solr june 2014
Minneapolis Solr Meetup - May 28, 2014: eCommerce Search with Apache Solr
Minneapolis Solr Meetup - May 28, 2014: Target.com Search
Exploration of multidimensional biomedical data in pub chem, Presented by Lia...
Unstructured Or: How I Learned to Stop Worrying and Love the xml, Presented...
Building a Lightweight Discovery Interface for Chinese Patents, Presented by ...
Big Data Challenges, Presented by Wes Caldwell at SolrExchage DC
What's New in Lucene/Solr Presented by Grant Ingersoll at SolrExchage DC
Solr At AOL, Presented by Sean Timm at SolrExchage DC
Intro to Solr Cloud, Presented by Tim Potter at SolrExchage DC
Building a data driven search application with LucidWorks SiLK
Introducing LucidWorks App for Splunk Enterprise webinar

Recently uploaded (20)

PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Empathic Computing: Creating Shared Understanding
PDF
KodekX | Application Modernization Development
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Encapsulation_ Review paper, used for researhc scholars
The Rise and Fall of 3GPP – Time for a Sabbatical?
Empathic Computing: Creating Shared Understanding
KodekX | Application Modernization Development
20250228 LYD VKU AI Blended-Learning.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Machine learning based COVID-19 study performance prediction
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Reach Out and Touch Someone: Haptics and Empathic Computing
Digital-Transformation-Roadmap-for-Companies.pptx
MYSQL Presentation for SQL database connectivity
Unlocking AI with Model Context Protocol (MCP)
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf

Test Driven Relevancy, Presented by Doug Turnbull at SolrExchage DC

  • 2. Test Driven Relevancy Doug Turnbull Search Relevancy Expert, OpenSource Connections
  • 3. Hi I’m Doug! Its me! Also introducing my non-present client Rena… @softwaredoug http://www.linkedin.com/in/softwaredoug http://bit.ly/softwaredoug renam@silverchair.com OpenSource Connections
  • 4. How do sales/content curators collaborate with devs? “Myocardial in-what-tion? Dangit Rena, I’m a Solr consultant – not a doctor” “When doctors search for ‘myocardial infarction’ these documents about ‘heart attacks’ should come up” “I don’t even…” “let me work my Solr magic and get back to you next week…” OpenSource Connections
  • 5. How do content curators collaborate with devs? • Doug knows Solr q={!boost b=log(numCatPictures)}bunnies • Rena knows her content Myocardial infarction Renal carcinoma<tokenizer class="solr.WhitespaceTokenizerFactory"/> • Bob knows his business Sales Niche customers Conversions Supplier Pressure This is a universal pattern – it takes different strokes! OpenSource Connections
  • 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” OpenSource Connections
  • 7. • People Problem: Our collaboration stinks o “Throw problems over the fence… wait a week” o Siloed by expertise (search vs content experts) o Potential for politics, anger, frustration (all paths to the dark side) • Technical Problem: Search testing is hard o Small set of relevancy rules impacts all user searches o Therefore: Much easier to have regressions than in software o Very easy to have regressions Our Problems OpenSource Connections
  • 8. • In short, Broken Workflow: o Iterations between devs and non-technical experts take a long time o 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 o Non-technical experts clearly need devs • Translate business rules to relevancy rules • Bending sophisticated token matching engine to our approximate user intent Our Problems OpenSource Connections
  • 9. • Our lack of collaboration means our testing stinks o Need expert feedback to test Our Problems • 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” “this is good, this is bad, this is ok….” OpenSource Connections
  • 10. • In s/w development -- automated testing is often away to collaborate o Devs Can sit together with content experts and ask: • What should happen in this case? o Then record that in the form of a test Solutions? @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)); } OpenSource Connections
  • 11. • Collaborative testing is absolutely essential for search o Good search is best defined by experts in the content: • Marketing, sales, users, etc Test Driven Development with Search I’m a search expert! Not a Doctor! How can I possibly measure search Help me help you! I have few ways to record, measure, and evaluate search • Unfortunately there’s nothing to help content experts communicate with search devs around search (frankly this is rather shocking to me) OpenSource Connections
  • 12. • Collaborative testing is absolutely essential for search o Every change to search relevancy will cause other queries to change o MUST know how much our relevancy has changed Test Driven Development with Search “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!” OpenSource Connections
  • 13. • Apply these ideas to search quality: o Given query Y o What documents are awesome/good/ok/bad/terrible? • Record these ratings somewhere • Observe the changes of all queries simultaneously as we modify relevancy params Test Driven Development with Search Now I’ve got the ultimate relevancy workbench. I can see if my ideas are working or failing right away! Now I can see instantly if Doug’s changes are making progress or if we’re moving backwards! OpenSource Connections
  • 14. • We built a tool (a product!) around these ideas • Now our favorite relevancy workbench Quepid! “Hey we’re kicking butt and taking names on these search queries!” http://quepid.com Try Quepid! OpenSource Connections
  • 15. Search Quality is about Collaboration* *and collaboration is about testing Test Driven Development with Quepid Demo time OpenSource Connections