SlideShare una empresa de Scribd logo
1 de 26
Suche mit Apache Solr
Nader Cserny, compuccino
Agenda


• Vorstellung

• Einführung

• Funktionen

• Beispiele

• Praxis

• Fragen
Vorstellung
Vorstellung

                             Hamburg.de, BILD, WELT, Moneywise,
                             Berliner Morgenpost, Merian, FAZ, WWF,
Entwicklung, Design,         Hedgemedia, Schwäbische Post, 24h Berlin,
                             Mercedes, Berliner Bank, Pernod Ricard,
Konzeption, Beratung         Milchverband, easyJet, XAVER.de, OTTO




Nader Cserny
Klas Roggenkamp        15!                          2007!
Einführung
Einführung – Was ist Solr?


• Enterprise Suchmaschine

• Ursprung bei CNET Networks Inc.

• seit 2004 in Entwicklung, aktive Community

• Open Source > kostenlos

• Multi-Plattform dank Java

• Apache Lizenz
Funktionen
Funktionen – Was kann Solr? (1)


• Volltext-Suche

• Ranking und Relevanz

• Faceted Search => vielfältige Kategorisierung

• Stammworterkennung / Rechtstrunkierung

• Filterung mit regulären Ausdrücken, phonetische Filter

• „Meinten Sie...?“ => Rechtschreibvorschläge
Funktionen – Was kann Solr? (2)


• Unterstützung von Synonymen, Stop-Wortlisten

• Auto-Vervollständigung

• Hervorheben des Suchbegriffs in Ergebnissen

• Verfeinerung des Suchergebnisses durch Filter, Sortierung

• Vorschläge für ähnliche Treffer

• Indizierung von Inhalten in Dokumenten (Word, PDF, ... mit Tika)
Funktionen – Was kann Solr? (3)


• Schnell, schneller, am schnellsten bei vielen Zugriffen (Caching)

• Skalierbar durch verteilte Indizes auf mehreren Rechnern

  • Mehr Performance, ausfallsicher

• Flexibel erweiterbar durch Plugins

• Schnittstellen (RESTful API) zur Eingabe / Ausgabe von Daten

• Administrationsober äche
Funktionen – Was kann Solr? (4)


• Monitoring, Logging von Suchanfragen

• Kon guration über XML-Dateien

• Multiple Daten-Schemas

  • numerisch, Datum, dynamisch, eindeutiger Schlüssel (UUID)

• Daten-Import Handler

  • CSV, URL, Dateien, ...
Beispiele
Beispiele – White House




                            Sortierung




                          Suchergebnis




                                         Filter
Beispiele – CNET Networks Inc.




                                 Verwandte Suchbegriffe




                                          Suchergebnis
Beispiele – MTV




                  Auto-Vervollständigung
Beispiele – Net ix




            Auto-Vervollständigung
Beispiele – Mattel




                     Zufalls-Produkt aus Ergebnis




          Filter
Beispiele – Disney




       Filter
Beispiele – CNN




                  Suchergebnis




                                 Filter
Beispiele – la Repubblica




                            Erweiterte Suche   Anderer Inhaltstyp
Praxis
Praxis – Prototyp


• Langsamer, alter Rechner im Büro (Kosten: EUR 200,00)

  • AMD, 512 MB RAM => trotzdem schnell

• Webserver, CMS & Solr installiert

• Datenbank-Inhalte eingespielt

  • 400.000 kategorisierte Artikel, PDF-Dokumente
     (Stand: 19.05.2010)



• Standardinstallation bringt bessere Ergebnisse
  als MySQL Full-Text Search
Praxis – Suchanfragen


• Suche: „schwäbich“ => Meinen Sie: „schwäbisch“

• Auto-Vervollständigung: „Polizei“ => „Polizeibericht“,
  „Polizeirevier“, „Polizeidirektion“, ...

• Suche: „einkaufen aalen mitternacht“ (785 Treffer, vgl. SP => 12
  Treffer und kein direktes Ergebnis)

• Suche: „Schatzsuche Umweltmuseum“ => Meinen Sie:
  „Schatzsuche Urweltmuseum“ (vgl. SP => Unterschriften)

• Suche: „Gmünder Pferdetage“ => Findet etwas im PDF (vgl. SP:
  kein direktes Ergebnis)

• Suche: „Aalen Wandern“ => Findet im Titel „Wandern in Aalen“
Fragen
Abschließend...
Abschließend...


• Mehr über uns:

  • http://compuccino.com



• Fragen:

  • of ce@compuccino.com

  • T: 030 247 24 000

Más contenido relacionado

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destacado (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Suche mit Apache Solr

  • 1. Suche mit Apache Solr Nader Cserny, compuccino
  • 2. Agenda • Vorstellung • Einführung • Funktionen • Beispiele • Praxis • Fragen
  • 4. Vorstellung Hamburg.de, BILD, WELT, Moneywise, Berliner Morgenpost, Merian, FAZ, WWF, Entwicklung, Design, Hedgemedia, Schwäbische Post, 24h Berlin, Mercedes, Berliner Bank, Pernod Ricard, Konzeption, Beratung Milchverband, easyJet, XAVER.de, OTTO Nader Cserny Klas Roggenkamp 15! 2007!
  • 6. Einführung – Was ist Solr? • Enterprise Suchmaschine • Ursprung bei CNET Networks Inc. • seit 2004 in Entwicklung, aktive Community • Open Source > kostenlos • Multi-Plattform dank Java • Apache Lizenz
  • 8. Funktionen – Was kann Solr? (1) • Volltext-Suche • Ranking und Relevanz • Faceted Search => vielfältige Kategorisierung • Stammworterkennung / Rechtstrunkierung • Filterung mit regulären Ausdrücken, phonetische Filter • „Meinten Sie...?“ => Rechtschreibvorschläge
  • 9. Funktionen – Was kann Solr? (2) • Unterstützung von Synonymen, Stop-Wortlisten • Auto-Vervollständigung • Hervorheben des Suchbegriffs in Ergebnissen • Verfeinerung des Suchergebnisses durch Filter, Sortierung • Vorschläge für ähnliche Treffer • Indizierung von Inhalten in Dokumenten (Word, PDF, ... mit Tika)
  • 10. Funktionen – Was kann Solr? (3) • Schnell, schneller, am schnellsten bei vielen Zugriffen (Caching) • Skalierbar durch verteilte Indizes auf mehreren Rechnern • Mehr Performance, ausfallsicher • Flexibel erweiterbar durch Plugins • Schnittstellen (RESTful API) zur Eingabe / Ausgabe von Daten • Administrationsober äche
  • 11. Funktionen – Was kann Solr? (4) • Monitoring, Logging von Suchanfragen • Kon guration über XML-Dateien • Multiple Daten-Schemas • numerisch, Datum, dynamisch, eindeutiger Schlüssel (UUID) • Daten-Import Handler • CSV, URL, Dateien, ...
  • 13. Beispiele – White House Sortierung Suchergebnis Filter
  • 14. Beispiele – CNET Networks Inc. Verwandte Suchbegriffe Suchergebnis
  • 15. Beispiele – MTV Auto-Vervollständigung
  • 16. Beispiele – Net ix Auto-Vervollständigung
  • 17. Beispiele – Mattel Zufalls-Produkt aus Ergebnis Filter
  • 19. Beispiele – CNN Suchergebnis Filter
  • 20. Beispiele – la Repubblica Erweiterte Suche Anderer Inhaltstyp
  • 22. Praxis – Prototyp • Langsamer, alter Rechner im Büro (Kosten: EUR 200,00) • AMD, 512 MB RAM => trotzdem schnell • Webserver, CMS & Solr installiert • Datenbank-Inhalte eingespielt • 400.000 kategorisierte Artikel, PDF-Dokumente (Stand: 19.05.2010) • Standardinstallation bringt bessere Ergebnisse als MySQL Full-Text Search
  • 23. Praxis – Suchanfragen • Suche: „schwäbich“ => Meinen Sie: „schwäbisch“ • Auto-Vervollständigung: „Polizei“ => „Polizeibericht“, „Polizeirevier“, „Polizeidirektion“, ... • Suche: „einkaufen aalen mitternacht“ (785 Treffer, vgl. SP => 12 Treffer und kein direktes Ergebnis) • Suche: „Schatzsuche Umweltmuseum“ => Meinen Sie: „Schatzsuche Urweltmuseum“ (vgl. SP => Unterschriften) • Suche: „Gmünder Pferdetage“ => Findet etwas im PDF (vgl. SP: kein direktes Ergebnis) • Suche: „Aalen Wandern“ => Findet im Titel „Wandern in Aalen“
  • 26. Abschließend... • Mehr über uns: • http://compuccino.com • Fragen: • of ce@compuccino.com • T: 030 247 24 000

Notas del editor

  1. compuccino wurde 2007 von Klas Roggenkamp & Nader Cserny gegründet Organisch auf 15 Mitarbeiter gewachsen Spezialisierung auf Entwicklung und Design von komplexen Inhalten
  2. Cnet: Medien-Unternehmen aus den USA Multi-Plattform: Windows, Mac, Linux Apache Lizenz: frei verwenden, Änderungen müssen nicht veröffentlicht werden
  3. Faceted: Kategorisierung nach Autor, Kategorie, Datum, Inhaltstyp, etc. Ranking: relevante Faktoren flexibel konfigurierbar Stammworterkennung: Haus findet Häuser, Porter-/Snowball-Stemmer für versch. Sprachen Meinten Sie: Korrektur von „schwäbich“ zu „schwäbisch“
  4. Synonyme: Fahrzeug = Auto, Computer = PC Hervorheben mit CSS-Attributen Verfeinerung durch Auswahl von Parametern
  5. Flexibel, ...: Suchfunktionalitäten mit Plugins erweiterbar Caching: je mehr Suchanfragen umso schneller => Zwischenspeicher
  6. Daten-Import Handler: CSV, URLs, Files
  7. Faceted Search => Filterungsoptionen Sortierung nach Relevanz, Titel, ..., Datum auf-/absteigend
  8. Kategorien: Product Reviews, Downloads, News & Photos, Videos Darstellung des Suchergebnisses frei wählbar Narrow your results
  9. Auto-Vervollständigung bei Eingabe des Suchbegriffs „Michael“ findet „Michael Jackson“, „Michael Jackson Music Videos“ auf Basis der häufigsten Suchbegriff-Nennung
  10. Suche in Videos per Auto-Vervollständigung
  11. „Surprise Me“ wählt zufälliges Suchergebnis aus und leitet direkt auf die Produktseite
  12. „Toy Story“ findet den aktuellsten Film „Toy Story 3“
  13. Erweiterte Suche: Datum von/bis, Autor, etc. Foto: Direkte Anzeige von anderen Inhaltstypen
  14. DB Import: Felder definiert, Inhalte & Dokumente geparsed, etc. Initialer Import hat ca. 10 Stunden gedauert Bereits mit der Standardinstallation erzielt man bessere Suchergebnisse als mit MySQL Full-Text Search