SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Solr‹Tuning:Improving‹Relevancy
Agenda


✀   Solr Schema Basics

✀   Some of Drupal’s Apache Solr Hooks

✀   Why isn’t my content at the top?
    ✀ Admin Field Analyser

    ✀ Query Debug


✀   Other Apache Solr Modules
Solr Schema Basics
                       - Schema.xml

✀   Types
    ✀   Raw - int, long, string, date, double, etc
    ✀   Custom - Made up of raw plus
        ✀   analyzers - index and query
            ✀   tokenizers - break up content
            ✀   ïŹlters
Schema Cont..

<ïŹeldType name="text" class="solr.TextField" positionIncrementGap="100">
 <analyzer type="index">
   <charFilter class="solr.MappingCharFilterFactory" mapping="ISOLatin1.txt"/>
   <tokenizer class="solr.WhitespaceTokenizerFactory"/>
   <ïŹlter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
ignoreCase="true" expand="false"/>
   <ïŹlter class="solr.StopFilterFactory" words="stopwords.txt"/>
   <ïŹlter class="solr.WordDelimiterFilterFactory" protected="protwords.txt"
splitOnCaseChange="1" />
   <ïŹlter class="solr.LowerCaseFilterFactory"/>
   <ïŹlter class="solr.SnowballPorterFilterFactory" language="English"
protected="protwords.txt"/>
    <ïŹlter class="solr.RemoveDuplicatesTokenFilterFactory"/>
  </analyzer>
  <analyzer type="query"><!-- Repeated For Query --></analyzer>
</ïŹeldType>
Apache Solr Module Hooks

hook_apachesolr_modify_query
    ✀ Provides ability to override standard solr query



     ✀   Useful additions include:
         ✀   Query Filtering
         ✀   AND/OR keyword separators
         ✀   Term boosting - primary AND literacy^30
         ✀   Term Proximity “primary literacy”~2
Apache Solr Module Hooks

✀   hook_apachesolr_process_results
✀   hook_apachesolr_update_index
✀   hook_apachesolr_search_result
✀   hook_apachesolr_prepare_query
✀   hook_apachesolr_types_exclude
✀   hook_apachesolr_node_exclude
✀   and more added per release....
Why is my content at the top?
 Admin Field Analyser
Why is my content at the top?

✀   Query Debug
    ✀   http://localhost:8080/solr2/core3/select/?q=primary
        +literacy&version=2.2&start=0&rows=10&indent=on&debugQuery=true
        <str name="http://archive.teachïŹnd.com/becta/localauthorities.becta.org.uk/index.html">
        2.3873122 = (MATCH) sum of:
         0.84451145 = (MATCH) weight(body:primari in 14212), product of:
           0.59476876 = queryWeight(body:primari), product of:
            1.54579 = idf(docFreq=13202, maxDocs=22788)
            0.38476688 = queryNorm
           1.4198987 = (MATCH) ïŹeldWeight(body:primari in 14212), product of:
            2.4494898 = tf(termFreq(body:primari)=6)
            1.54579 = idf(docFreq=13202, maxDocs=22788)
            0.375 = ïŹeldNorm(ïŹeld=body, doc=14212)
         1.5428007 = (MATCH) weight(body:literaci in 14212), product of:
           0.8038968 = queryWeight(body:literaci), product of:
            2.0893087 = idf(docFreq=7666, maxDocs=22788)
            0.38476688 = queryNorm
           1.9191527 = (MATCH) ïŹeldWeight(body:literaci in 14212), product of:
            2.4494898 = tf(termFreq(body:literaci)=6)
            2.0893087 = idf(docFreq=7666, maxDocs=22788)
            0.375 = ïŹeldNorm(ïŹeld=body, doc=14212)
        </str>
Other Modules

✀   Multi Server
✀   Attachments
✀   Apache Solr Views
✀   Autocomplete
✀   A12:Find (coming soon)
    ✀ Solr 3.2

    ✀ Field Grouping

    ✀ Drupal 6 and 7 support

    ✀ Geo Local

    ✀ Industry SpeciïŹc Synonyms
Questions?

Weitere Àhnliche Inhalte

Was ist angesagt?

Apache Solr + ajax solr
Apache Solr + ajax solrApache Solr + ajax solr
Apache Solr + ajax solrNet7
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with SolrErik Hatcher
 
Building RESTful API
Building RESTful APIBuilding RESTful API
Building RESTful APIAnna Pietras
 
Real-time search in Drupal with Elasticsearch @Moldcamp
Real-time search in Drupal with Elasticsearch @MoldcampReal-time search in Drupal with Elasticsearch @Moldcamp
Real-time search in Drupal with Elasticsearch @MoldcampAlexei Gorobets
 
Using Apache Solr
Using Apache SolrUsing Apache Solr
Using Apache Solrpittaya
 
Jsoup Tutorial for Beginners - Javatpoint
Jsoup Tutorial for Beginners - JavatpointJsoup Tutorial for Beginners - Javatpoint
Jsoup Tutorial for Beginners - JavatpointJavaTpoint.Com
 
Solr & Lucene @ Etsy by Gregg Donovan
Solr & Lucene @ Etsy by Gregg DonovanSolr & Lucene @ Etsy by Gregg Donovan
Solr & Lucene @ Etsy by Gregg DonovanGregg Donovan
 
ApacheCon: Abdera A Java Atom Pub Implementation
ApacheCon: Abdera A Java Atom Pub ImplementationApacheCon: Abdera A Java Atom Pub Implementation
ApacheCon: Abdera A Java Atom Pub ImplementationDavid Calavera
 
Small wins in a small time with Apache Solr
Small wins in a small time with Apache SolrSmall wins in a small time with Apache Solr
Small wins in a small time with Apache SolrSourcesense
 
Neues aus dem Tindergarten: Auswertung "privater" APIs mit Apache Ignite
Neues aus dem Tindergarten: Auswertung "privater" APIs mit Apache IgniteNeues aus dem Tindergarten: Auswertung "privater" APIs mit Apache Ignite
Neues aus dem Tindergarten: Auswertung "privater" APIs mit Apache IgniteQAware GmbH
 
Presentation
PresentationPresentation
PresentationManav Prasad
 
Zend Framework 1.9 Setup & Using Zend_Tool
Zend Framework 1.9 Setup & Using Zend_ToolZend Framework 1.9 Setup & Using Zend_Tool
Zend Framework 1.9 Setup & Using Zend_ToolGordon Forsythe
 
Python RESTful webservices with Python: Flask and Django solutions
Python RESTful webservices with Python: Flask and Django solutionsPython RESTful webservices with Python: Flask and Django solutions
Python RESTful webservices with Python: Flask and Django solutionsSolution4Future
 
HTML Templates Using Clear Silver
HTML Templates Using Clear SilverHTML Templates Using Clear Silver
HTML Templates Using Clear SilverPaulWay
 
Xslate sv perl-2013-7-11
Xslate sv perl-2013-7-11Xslate sv perl-2013-7-11
Xslate sv perl-2013-7-11Goro Fuji
 
JSR 170: The Key to Unlocking Content Repositories
JSR 170: The Key to Unlocking Content RepositoriesJSR 170: The Key to Unlocking Content Repositories
JSR 170: The Key to Unlocking Content RepositoriesJoel Amoussou
 
10 Catalyst Tips
10 Catalyst Tips10 Catalyst Tips
10 Catalyst TipsJay Shirley
 
CodeIgniter L2 helper & libraries & form validation
CodeIgniter L2 helper & libraries & form validation CodeIgniter L2 helper & libraries & form validation
CodeIgniter L2 helper & libraries & form validation Mohammad Tahsin Alshalabi
 

Was ist angesagt? (20)

Apache Solr + ajax solr
Apache Solr + ajax solrApache Solr + ajax solr
Apache Solr + ajax solr
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with Solr
 
Building RESTful API
Building RESTful APIBuilding RESTful API
Building RESTful API
 
Real-time search in Drupal with Elasticsearch @Moldcamp
Real-time search in Drupal with Elasticsearch @MoldcampReal-time search in Drupal with Elasticsearch @Moldcamp
Real-time search in Drupal with Elasticsearch @Moldcamp
 
Using Apache Solr
Using Apache SolrUsing Apache Solr
Using Apache Solr
 
Jsp
JspJsp
Jsp
 
Jsoup Tutorial for Beginners - Javatpoint
Jsoup Tutorial for Beginners - JavatpointJsoup Tutorial for Beginners - Javatpoint
Jsoup Tutorial for Beginners - Javatpoint
 
Solr & Lucene @ Etsy by Gregg Donovan
Solr & Lucene @ Etsy by Gregg DonovanSolr & Lucene @ Etsy by Gregg Donovan
Solr & Lucene @ Etsy by Gregg Donovan
 
ApacheCon: Abdera A Java Atom Pub Implementation
ApacheCon: Abdera A Java Atom Pub ImplementationApacheCon: Abdera A Java Atom Pub Implementation
ApacheCon: Abdera A Java Atom Pub Implementation
 
Small wins in a small time with Apache Solr
Small wins in a small time with Apache SolrSmall wins in a small time with Apache Solr
Small wins in a small time with Apache Solr
 
Neues aus dem Tindergarten: Auswertung "privater" APIs mit Apache Ignite
Neues aus dem Tindergarten: Auswertung "privater" APIs mit Apache IgniteNeues aus dem Tindergarten: Auswertung "privater" APIs mit Apache Ignite
Neues aus dem Tindergarten: Auswertung "privater" APIs mit Apache Ignite
 
Presentation
PresentationPresentation
Presentation
 
Zend Framework 1.9 Setup & Using Zend_Tool
Zend Framework 1.9 Setup & Using Zend_ToolZend Framework 1.9 Setup & Using Zend_Tool
Zend Framework 1.9 Setup & Using Zend_Tool
 
Python RESTful webservices with Python: Flask and Django solutions
Python RESTful webservices with Python: Flask and Django solutionsPython RESTful webservices with Python: Flask and Django solutions
Python RESTful webservices with Python: Flask and Django solutions
 
HTML Templates Using Clear Silver
HTML Templates Using Clear SilverHTML Templates Using Clear Silver
HTML Templates Using Clear Silver
 
Thinking Beyond ORM in JPA
Thinking Beyond ORM in JPAThinking Beyond ORM in JPA
Thinking Beyond ORM in JPA
 
Xslate sv perl-2013-7-11
Xslate sv perl-2013-7-11Xslate sv perl-2013-7-11
Xslate sv perl-2013-7-11
 
JSR 170: The Key to Unlocking Content Repositories
JSR 170: The Key to Unlocking Content RepositoriesJSR 170: The Key to Unlocking Content Repositories
JSR 170: The Key to Unlocking Content Repositories
 
10 Catalyst Tips
10 Catalyst Tips10 Catalyst Tips
10 Catalyst Tips
 
CodeIgniter L2 helper & libraries & form validation
CodeIgniter L2 helper & libraries & form validation CodeIgniter L2 helper & libraries & form validation
CodeIgniter L2 helper & libraries & form validation
 

Andere mochten auch

OpenStreetMap integration into Wikimedia projects
OpenStreetMap integration into Wikimedia projectsOpenStreetMap integration into Wikimedia projects
OpenStreetMap integration into Wikimedia projectsavarab
 
Netpay Presentation
Netpay PresentationNetpay Presentation
Netpay Presentationdanielledorit
 
Configuration Management Isn't Everything
Configuration Management Isn't EverythingConfiguration Management Isn't Everything
Configuration Management Isn't EverythingJulian Dunn
 
Tendencias Fitness del mercado americano
Tendencias Fitness del mercado americano Tendencias Fitness del mercado americano
Tendencias Fitness del mercado americano Management and Sports
 
Implementing a custom search syntax using solr, lucene & parboiled
Implementing a custom search syntax using solr, lucene & parboiledImplementing a custom search syntax using solr, lucene & parboiled
Implementing a custom search syntax using solr, lucene & parboiledlucenerevolution
 
Blacklight intro - LLI seminar
Blacklight intro - LLI seminarBlacklight intro - LLI seminar
Blacklight intro - LLI seminarChris Awre
 

Andere mochten auch (7)

OpenStreetMap integration into Wikimedia projects
OpenStreetMap integration into Wikimedia projectsOpenStreetMap integration into Wikimedia projects
OpenStreetMap integration into Wikimedia projects
 
Netpay Presentation
Netpay PresentationNetpay Presentation
Netpay Presentation
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with Solr
 
Configuration Management Isn't Everything
Configuration Management Isn't EverythingConfiguration Management Isn't Everything
Configuration Management Isn't Everything
 
Tendencias Fitness del mercado americano
Tendencias Fitness del mercado americano Tendencias Fitness del mercado americano
Tendencias Fitness del mercado americano
 
Implementing a custom search syntax using solr, lucene & parboiled
Implementing a custom search syntax using solr, lucene & parboiledImplementing a custom search syntax using solr, lucene & parboiled
Implementing a custom search syntax using solr, lucene & parboiled
 
Blacklight intro - LLI seminar
Blacklight intro - LLI seminarBlacklight intro - LLI seminar
Blacklight intro - LLI seminar
 

Ähnlich wie Drupal for ng_os

Practical catalyst
Practical catalystPractical catalyst
Practical catalystdwm042
 
Solr Presentation
Solr PresentationSolr Presentation
Solr PresentationGaurav Verma
 
OData: Universal Data Solvent or Clunky Enterprise Goo? (GlueCon 2015)
OData: Universal Data Solvent or Clunky Enterprise Goo? (GlueCon 2015)OData: Universal Data Solvent or Clunky Enterprise Goo? (GlueCon 2015)
OData: Universal Data Solvent or Clunky Enterprise Goo? (GlueCon 2015)Pat Patterson
 
Django Rest Framework and React and Redux, Oh My!
Django Rest Framework and React and Redux, Oh My!Django Rest Framework and React and Redux, Oh My!
Django Rest Framework and React and Redux, Oh My!Eric Palakovich Carr
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with SolrErik Hatcher
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with SolrErik Hatcher
 
[제1회 ëŁšì”Ź 한Ꞁ분석Ʞ êž°ìˆ ì„žëŻžë‚˜] solr로 나만의 êČ€ìƒ‰ì—”ì§„ì„ ë§Œë“€ì–ŽëłŽìž
[제1회 ëŁšì”Ź 한Ꞁ분석Ʞ êž°ìˆ ì„žëŻžë‚˜] solr로 나만의 êČ€ìƒ‰ì—”ì§„ì„ ë§Œë“€ì–ŽëłŽìž[제1회 ëŁšì”Ź 한Ꞁ분석Ʞ êž°ìˆ ì„žëŻžë‚˜] solr로 나만의 êČ€ìƒ‰ì—”ì§„ì„ ë§Œë“€ì–ŽëłŽìž
[제1회 ëŁšì”Ź 한Ꞁ분석Ʞ êž°ìˆ ì„žëŻžë‚˜] solr로 나만의 êČ€ìƒ‰ì—”ì§„ì„ ë§Œë“€ì–ŽëłŽìžDonghyeok Kang
 
Dev8d Apache Solr Tutorial
Dev8d Apache Solr TutorialDev8d Apache Solr Tutorial
Dev8d Apache Solr TutorialSourcesense
 
6 tips for improving ruby performance
6 tips for improving ruby performance6 tips for improving ruby performance
6 tips for improving ruby performanceEngine Yard
 
Beyond full-text searches with Lucene and Solr
Beyond full-text searches with Lucene and SolrBeyond full-text searches with Lucene and Solr
Beyond full-text searches with Lucene and SolrBertrand Delacretaz
 
Rapid prototyping search applications with solr
Rapid prototyping search applications with solrRapid prototyping search applications with solr
Rapid prototyping search applications with solrLucidworks (Archived)
 
Spark Sql for Training
Spark Sql for TrainingSpark Sql for Training
Spark Sql for TrainingBryan Yang
 
IT talk SPb "Full text search for lazy guys"
IT talk SPb "Full text search for lazy guys" IT talk SPb "Full text search for lazy guys"
IT talk SPb "Full text search for lazy guys" DataArt
 
Make your gui shine with ajax solr
Make your gui shine with ajax solrMake your gui shine with ajax solr
Make your gui shine with ajax solrlucenerevolution
 
Solr JDBC: Presented by Kevin Risden, Avalon Consulting
Solr JDBC: Presented by Kevin Risden, Avalon ConsultingSolr JDBC: Presented by Kevin Risden, Avalon Consulting
Solr JDBC: Presented by Kevin Risden, Avalon ConsultingLucidworks
 
Lucene for Solr Developers
Lucene for Solr DevelopersLucene for Solr Developers
Lucene for Solr DevelopersErik Hatcher
 
Letting In the Light: Using Solr as an External Search Component
Letting In the Light: Using Solr as an External Search ComponentLetting In the Light: Using Solr as an External Search Component
Letting In the Light: Using Solr as an External Search ComponentJay Luker
 
Automate That! Scripting Atlassian applications in Python
Automate That! Scripting Atlassian applications in PythonAutomate That! Scripting Atlassian applications in Python
Automate That! Scripting Atlassian applications in PythonAtlassian
 
Automate that
Automate thatAutomate that
Automate thatAtlassian
 

Ähnlich wie Drupal for ng_os (20)

Practical catalyst
Practical catalystPractical catalyst
Practical catalyst
 
Solr Presentation
Solr PresentationSolr Presentation
Solr Presentation
 
OData: Universal Data Solvent or Clunky Enterprise Goo? (GlueCon 2015)
OData: Universal Data Solvent or Clunky Enterprise Goo? (GlueCon 2015)OData: Universal Data Solvent or Clunky Enterprise Goo? (GlueCon 2015)
OData: Universal Data Solvent or Clunky Enterprise Goo? (GlueCon 2015)
 
Django Rest Framework and React and Redux, Oh My!
Django Rest Framework and React and Redux, Oh My!Django Rest Framework and React and Redux, Oh My!
Django Rest Framework and React and Redux, Oh My!
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with Solr
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with Solr
 
[제1회 ëŁšì”Ź 한Ꞁ분석Ʞ êž°ìˆ ì„žëŻžë‚˜] solr로 나만의 êČ€ìƒ‰ì—”ì§„ì„ ë§Œë“€ì–ŽëłŽìž
[제1회 ëŁšì”Ź 한Ꞁ분석Ʞ êž°ìˆ ì„žëŻžë‚˜] solr로 나만의 êČ€ìƒ‰ì—”ì§„ì„ ë§Œë“€ì–ŽëłŽìž[제1회 ëŁšì”Ź 한Ꞁ분석Ʞ êž°ìˆ ì„žëŻžë‚˜] solr로 나만의 êČ€ìƒ‰ì—”ì§„ì„ ë§Œë“€ì–ŽëłŽìž
[제1회 ëŁšì”Ź 한Ꞁ분석Ʞ êž°ìˆ ì„žëŻžë‚˜] solr로 나만의 êČ€ìƒ‰ì—”ì§„ì„ ë§Œë“€ì–ŽëłŽìž
 
Dev8d Apache Solr Tutorial
Dev8d Apache Solr TutorialDev8d Apache Solr Tutorial
Dev8d Apache Solr Tutorial
 
6 tips for improving ruby performance
6 tips for improving ruby performance6 tips for improving ruby performance
6 tips for improving ruby performance
 
Beyond full-text searches with Lucene and Solr
Beyond full-text searches with Lucene and SolrBeyond full-text searches with Lucene and Solr
Beyond full-text searches with Lucene and Solr
 
Rapid prototyping search applications with solr
Rapid prototyping search applications with solrRapid prototyping search applications with solr
Rapid prototyping search applications with solr
 
Spark Sql for Training
Spark Sql for TrainingSpark Sql for Training
Spark Sql for Training
 
IT talk SPb "Full text search for lazy guys"
IT talk SPb "Full text search for lazy guys" IT talk SPb "Full text search for lazy guys"
IT talk SPb "Full text search for lazy guys"
 
Make your gui shine with ajax solr
Make your gui shine with ajax solrMake your gui shine with ajax solr
Make your gui shine with ajax solr
 
Solr JDBC: Presented by Kevin Risden, Avalon Consulting
Solr JDBC: Presented by Kevin Risden, Avalon ConsultingSolr JDBC: Presented by Kevin Risden, Avalon Consulting
Solr JDBC: Presented by Kevin Risden, Avalon Consulting
 
Lucene for Solr Developers
Lucene for Solr DevelopersLucene for Solr Developers
Lucene for Solr Developers
 
Letting In the Light: Using Solr as an External Search Component
Letting In the Light: Using Solr as an External Search ComponentLetting In the Light: Using Solr as an External Search Component
Letting In the Light: Using Solr as an External Search Component
 
Automate That! Scripting Atlassian applications in Python
Automate That! Scripting Atlassian applications in PythonAutomate That! Scripting Atlassian applications in Python
Automate That! Scripting Atlassian applications in Python
 
Automate that
Automate thatAutomate that
Automate that
 
Rails 4.0
Rails 4.0Rails 4.0
Rails 4.0
 

KĂŒrzlich hochgeladen

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vĂĄzquez
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
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
 

KĂŒrzlich hochgeladen (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
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...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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...
 

Drupal for ng_os

  • 2. Agenda ✀ Solr Schema Basics ✀ Some of Drupal’s Apache Solr Hooks ✀ Why isn’t my content at the top? ✀ Admin Field Analyser ✀ Query Debug ✀ Other Apache Solr Modules
  • 3. Solr Schema Basics - Schema.xml ✀ Types ✀ Raw - int, long, string, date, double, etc ✀ Custom - Made up of raw plus ✀ analyzers - index and query ✀ tokenizers - break up content ✀ ïŹlters
  • 4. Schema Cont.. <ïŹeldType name="text" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <charFilter class="solr.MappingCharFilterFactory" mapping="ISOLatin1.txt"/> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <ïŹlter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/> <ïŹlter class="solr.StopFilterFactory" words="stopwords.txt"/> <ïŹlter class="solr.WordDelimiterFilterFactory" protected="protwords.txt" splitOnCaseChange="1" /> <ïŹlter class="solr.LowerCaseFilterFactory"/> <ïŹlter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/> <ïŹlter class="solr.RemoveDuplicatesTokenFilterFactory"/> </analyzer> <analyzer type="query"><!-- Repeated For Query --></analyzer> </ïŹeldType>
  • 5. Apache Solr Module Hooks hook_apachesolr_modify_query ✀ Provides ability to override standard solr query ✀ Useful additions include: ✀ Query Filtering ✀ AND/OR keyword separators ✀ Term boosting - primary AND literacy^30 ✀ Term Proximity “primary literacy”~2
  • 6. Apache Solr Module Hooks ✀ hook_apachesolr_process_results ✀ hook_apachesolr_update_index ✀ hook_apachesolr_search_result ✀ hook_apachesolr_prepare_query ✀ hook_apachesolr_types_exclude ✀ hook_apachesolr_node_exclude ✀ and more added per release....
  • 7. Why is my content at the top? Admin Field Analyser
  • 8. Why is my content at the top? ✀ Query Debug ✀ http://localhost:8080/solr2/core3/select/?q=primary +literacy&version=2.2&start=0&rows=10&indent=on&debugQuery=true <str name="http://archive.teachïŹnd.com/becta/localauthorities.becta.org.uk/index.html"> 2.3873122 = (MATCH) sum of: 0.84451145 = (MATCH) weight(body:primari in 14212), product of: 0.59476876 = queryWeight(body:primari), product of: 1.54579 = idf(docFreq=13202, maxDocs=22788) 0.38476688 = queryNorm 1.4198987 = (MATCH) ïŹeldWeight(body:primari in 14212), product of: 2.4494898 = tf(termFreq(body:primari)=6) 1.54579 = idf(docFreq=13202, maxDocs=22788) 0.375 = ïŹeldNorm(ïŹeld=body, doc=14212) 1.5428007 = (MATCH) weight(body:literaci in 14212), product of: 0.8038968 = queryWeight(body:literaci), product of: 2.0893087 = idf(docFreq=7666, maxDocs=22788) 0.38476688 = queryNorm 1.9191527 = (MATCH) ïŹeldWeight(body:literaci in 14212), product of: 2.4494898 = tf(termFreq(body:literaci)=6) 2.0893087 = idf(docFreq=7666, maxDocs=22788) 0.375 = ïŹeldNorm(ïŹeld=body, doc=14212) </str>
  • 9. Other Modules ✀ Multi Server ✀ Attachments ✀ Apache Solr Views ✀ Autocomplete ✀ A12:Find (coming soon) ✀ Solr 3.2 ✀ Field Grouping ✀ Drupal 6 and 7 support ✀ Geo Local ✀ Industry SpeciïŹc Synonyms

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n