SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
Thanks for joining today’s episode of
                                                                Tech Talk Live on
                                                                         Solr

                                                               We will start just after
                                                       9am PST, 12pm EST, 5pm UK, 6pm CET.
                                                                         
                                              Please use the dial in numbers or your PC (VoIP)
                                                           for the audio portion.
                                                                         
                                                  All lines will be on mute during the webinar.
                                                 Please use the chat box to submit questions. 




© Copyright 2012 Ixxus Ltd. Commercial in Confidence
Speaker Bio

      •      Principal ECM Architect at Ixxus and has been working on Alfresco
             solutions for the past 5 years.
      •      He is a frequent blogger about Alfresco and Solr and his blog is
             published at ecmstuff.blogspot.com.
      •      He has also written a book about Alfresco called Alfresco 3 Business
             Solutions
      •      Alfresco Certified Engineer
      •      At DevCon 2011 he presented a session about customizing the Upload
             File(s) dialog in Alfresco Share
      •      Currently working on an Alfresco and Solr project for major London client



© Copyright 2012 Ixxus Ltd. Commercial in Confidence                                     2
Agenda

      •      What’s Solr?
      •      How is it integrated with Alfresco?
      •      Why is Alfresco using it?
      •      What content is searchable when using Solr?
      •      When not to use Solr?
      •      Demo




© Copyright 2012 Ixxus Ltd. Commercial in Confidence       3
What’s Solr?

         •      Apache Solr is an open source enterprise full-text search server
                   •  Created by Yonik Seeley for CNET
                   •  Contributed to Apache Jan 2006
                   •  Version 1.4 released Nov 2009
         •      Uses Apache Lucene Java search library at its core for full-text indexing and
                search
         •      Runs within a Servlet container such as Apache Tomcat
         •      It supports any programming language since it has REST-like HTTP/XML and
                JSON APIs



© Copyright 2012 Ixxus Ltd. Commercial in Confidence                                            4
What’s Solr continued?

         •      Written in Java and provides plug-in interfaces for building extensions
                to the search server, such as:
                   •  Faceted searches and navigation
                   •  "Did you mean" spell checking on queries
                   •  Query completion
                   •  Finding documents that are "More like this"
                   •  Results highlighting
                   •  Geospatial search for filtering and sorting by distance




© Copyright 2012 Ixxus Ltd. Commercial in Confidence                                      5
What’s Solr continued?

         •      Conceptually, Solr can be broken down into four main areas:
                   •  Schema (schema.xml)
                            •  Field types and fields (including dynamic fields)
                   •  Configuration (solrconfig.xml)
                            •  Lucene index parameters
                            •  Request handler mappings
                            •  Cache settings
                            •  Plug-ins
                   •  Indexing
                   •  Searching



© Copyright 2012 Ixxus Ltd. Commercial in Confidence                               6
What’s Solr continued?

         •      Security?
                   •  Relies on server or container security
                   •  Totally open by default, you need to secure it!
                   •  No standard document level security model




© Copyright 2012 Ixxus Ltd. Commercial in Confidence                    7
What’s a Solr Core?

         •      A Solr core holds one Lucene index and the supporting Solr configuration for
                that index
         •      Sometimes the word "core" is used synonymously with "index“




© Copyright 2012 Ixxus Ltd. Commercial in Confidence                                       8
How is Solr integrated with Alfresco


      •  Alfresco uses a patched Apache Solr 1.4 version
      •  Custom Schema
      •  2 cores:




© Copyright 2012 Ixxus Ltd. Commercial in Confidence       9
Why is Alfresco using Solr?

      •  The following are some of the reasons why Alfresco decided to
         move from an embedded Lucene search engine to the stand-
         alone Solr search server:
               •  Scale content search independently
               •  Make clustering easier
               •  Improve performance
               •  Support cross-locale ordering




© Copyright 2012 Ixxus Ltd. Commercial in Confidence                     10
What Alfresco Repo content is searchable?

      •  What content in the Alfresco repository is searchable via Solr?
               •  All content in the Workspace store (the main store used for most of
                  the live content)
               •  All content in the Archive store (content that has been soft deleted)
      •  What’s not searchable?
               •  Content in other stores such as AVM (deprecated and being phased
                  out) is not supported
               •  Multi-tenant searches are not supported in version 4.0.0 (supposed
                  to be supported in later versions 4.c)
               •  Records Management (RM 2.0 will support Solr)


© Copyright 2012 Ixxus Ltd. Commercial in Confidence                                      11
When not to use Solr?

      •  If you are not running in Tomcat
      •  Want to use Records Management Module
      •  Require in-transaction indexing




© Copyright 2012 Ixxus Ltd. Commercial in Confidence   12
Demo




© Copyright 2012 Ixxus Ltd. Commercial in Confidence   13
Cluster Configuration

      •  Example of cluster configuration:




© Copyright 2012 Ixxus Ltd. Commercial in Confidence   14
Additional Resources

      •  http://docs.alfresco.com/4.0/index.jsp?topic=
         %2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fsolr-intro.html
      •  http://wiki.alfresco.com/wiki/Alfresco_And_SOLR
      •  http://lucene.apache.org/solr/
      •  http://ecmstuff.blogspot.se/2012/05/getting-going-with-solr-in-
         alfresco-4.html




© Copyright 2012 Ixxus Ltd. Commercial in Confidence                       15

Contenu connexe

En vedette

Microsoft Digital Solutions: Content Publishing
Microsoft Digital Solutions: Content PublishingMicrosoft Digital Solutions: Content Publishing
Microsoft Digital Solutions: Content Publishing
Lukas Cudrigh
 

En vedette (7)

WCM-7 Surfing with CMIS
WCM-7 Surfing with CMISWCM-7 Surfing with CMIS
WCM-7 Surfing with CMIS
 
CUST-6 Integrating Alfresco with Publishing Tools
CUST-6 Integrating Alfresco with Publishing ToolsCUST-6 Integrating Alfresco with Publishing Tools
CUST-6 Integrating Alfresco with Publishing Tools
 
BP-8 Global Federation and Search
BP-8 Global Federation and SearchBP-8 Global Federation and Search
BP-8 Global Federation and Search
 
PLAT-16 Using Enterprise Content in Grails
PLAT-16 Using Enterprise Content in GrailsPLAT-16 Using Enterprise Content in Grails
PLAT-16 Using Enterprise Content in Grails
 
Alfresco Tech Talk Live - REST API of the Future
Alfresco Tech Talk Live - REST API of the Future Alfresco Tech Talk Live - REST API of the Future
Alfresco Tech Talk Live - REST API of the Future
 
AIIM + Alfresco Infographic
AIIM + Alfresco InfographicAIIM + Alfresco Infographic
AIIM + Alfresco Infographic
 
Microsoft Digital Solutions: Content Publishing
Microsoft Digital Solutions: Content PublishingMicrosoft Digital Solutions: Content Publishing
Microsoft Digital Solutions: Content Publishing
 

Similaire à Alfresco tech talk live on solr august 2012

Esp2solr eurocon-2011-presentation-111021215049-phpapp02
Esp2solr eurocon-2011-presentation-111021215049-phpapp02Esp2solr eurocon-2011-presentation-111021215049-phpapp02
Esp2solr eurocon-2011-presentation-111021215049-phpapp02
TNR Global
 
How opensourceworks
How opensourceworksHow opensourceworks
How opensourceworks
Rob Davies
 
Introduction to Alfresco
Introduction to AlfrescoIntroduction to Alfresco
Introduction to Alfresco
Wildan Maulana
 
Scratching your own itch
Scratching your own itchScratching your own itch
Scratching your own itch
Joey Echeverria
 
Oracle Systems _ Nathan Kroenert _ New Software New Hardware.pdf
Oracle Systems _ Nathan Kroenert _ New Software New Hardware.pdfOracle Systems _ Nathan Kroenert _ New Software New Hardware.pdf
Oracle Systems _ Nathan Kroenert _ New Software New Hardware.pdf
InSync2011
 

Similaire à Alfresco tech talk live on solr august 2012 (20)

Migration from FAST ESP to Lucene Solr - Apache Lucene Eurocon Barcelona 2011
Migration from FAST ESP to Lucene Solr - Apache Lucene Eurocon Barcelona 2011Migration from FAST ESP to Lucene Solr - Apache Lucene Eurocon Barcelona 2011
Migration from FAST ESP to Lucene Solr - Apache Lucene Eurocon Barcelona 2011
 
Esp2solr eurocon-2011-presentation-111021215049-phpapp02
Esp2solr eurocon-2011-presentation-111021215049-phpapp02Esp2solr eurocon-2011-presentation-111021215049-phpapp02
Esp2solr eurocon-2011-presentation-111021215049-phpapp02
 
Upgrading to Alfresco 6
Upgrading to Alfresco 6Upgrading to Alfresco 6
Upgrading to Alfresco 6
 
GlassFish Community Update 25 Mar2010
GlassFish Community Update 25 Mar2010GlassFish Community Update 25 Mar2010
GlassFish Community Update 25 Mar2010
 
Community Update 25 Mar2010 - English
Community Update 25 Mar2010 - EnglishCommunity Update 25 Mar2010 - English
Community Update 25 Mar2010 - English
 
P2 Introduction
P2 IntroductionP2 Introduction
P2 Introduction
 
How opensourceworks
How opensourceworksHow opensourceworks
How opensourceworks
 
Continuous Integration Fundamentals: Build Automation - OFM Canberra October ...
Continuous Integration Fundamentals: Build Automation - OFM Canberra October ...Continuous Integration Fundamentals: Build Automation - OFM Canberra October ...
Continuous Integration Fundamentals: Build Automation - OFM Canberra October ...
 
But we're already open source! Why would I want to bring my code to Apache?
But we're already open source! Why would I want to bring my code to Apache?But we're already open source! Why would I want to bring my code to Apache?
But we're already open source! Why would I want to bring my code to Apache?
 
BP-5 Application Lifecycle Management
BP-5 Application Lifecycle ManagementBP-5 Application Lifecycle Management
BP-5 Application Lifecycle Management
 
Introduction to Alfresco
Introduction to AlfrescoIntroduction to Alfresco
Introduction to Alfresco
 
Oracle it runs zfs storage appliance
Oracle it runs zfs storage applianceOracle it runs zfs storage appliance
Oracle it runs zfs storage appliance
 
eZ UnConference#2 - eZ Publish 5 basics Philippe Vincent-Royol & Florent Huck
eZ UnConference#2 - eZ Publish 5 basics Philippe Vincent-Royol & Florent HuckeZ UnConference#2 - eZ Publish 5 basics Philippe Vincent-Royol & Florent Huck
eZ UnConference#2 - eZ Publish 5 basics Philippe Vincent-Royol & Florent Huck
 
Running Oracle Database on Docker
Running Oracle Database on DockerRunning Oracle Database on Docker
Running Oracle Database on Docker
 
But We're Already Open Source! Why Would I Want To Bring My Code To Apache?
But We're Already Open Source! Why Would I Want To Bring My Code To Apache?But We're Already Open Source! Why Would I Want To Bring My Code To Apache?
But We're Already Open Source! Why Would I Want To Bring My Code To Apache?
 
WCM-5 WCM Solutions with Drupal and Alfresco
WCM-5 WCM Solutions with Drupal and AlfrescoWCM-5 WCM Solutions with Drupal and Alfresco
WCM-5 WCM Solutions with Drupal and Alfresco
 
Scratching your own itch
Scratching your own itchScratching your own itch
Scratching your own itch
 
Oracle Systems _ Nathan Kroenert _ New Software New Hardware.pdf
Oracle Systems _ Nathan Kroenert _ New Software New Hardware.pdfOracle Systems _ Nathan Kroenert _ New Software New Hardware.pdf
Oracle Systems _ Nathan Kroenert _ New Software New Hardware.pdf
 
Scratching your own itch
Scratching your own itchScratching your own itch
Scratching your own itch
 
Filr 2015
Filr 2015 Filr 2015
Filr 2015
 

Plus de Alfresco Software

Plus de Alfresco Software (20)

Alfresco Day Benelux Inholland studentendossier
Alfresco Day Benelux Inholland studentendossierAlfresco Day Benelux Inholland studentendossier
Alfresco Day Benelux Inholland studentendossier
 
Alfresco Day Benelux Hogeschool Inholland Records Management application
Alfresco Day Benelux Hogeschool Inholland Records Management applicationAlfresco Day Benelux Hogeschool Inholland Records Management application
Alfresco Day Benelux Hogeschool Inholland Records Management application
 
Alfresco Day BeNelux: Customer Success Showcase - Saxion Hogescholen
Alfresco Day BeNelux: Customer Success Showcase - Saxion HogescholenAlfresco Day BeNelux: Customer Success Showcase - Saxion Hogescholen
Alfresco Day BeNelux: Customer Success Showcase - Saxion Hogescholen
 
Alfresco Day BeNelux: Customer Success Showcase - Gemeente Amsterdam
Alfresco Day BeNelux: Customer Success Showcase - Gemeente AmsterdamAlfresco Day BeNelux: Customer Success Showcase - Gemeente Amsterdam
Alfresco Day BeNelux: Customer Success Showcase - Gemeente Amsterdam
 
Alfresco Day BeNelux: The success of Alfresco
Alfresco Day BeNelux: The success of AlfrescoAlfresco Day BeNelux: The success of Alfresco
Alfresco Day BeNelux: The success of Alfresco
 
Alfresco Day BeNelux: Customer Success Showcase - Credendo Group
Alfresco Day BeNelux: Customer Success Showcase - Credendo GroupAlfresco Day BeNelux: Customer Success Showcase - Credendo Group
Alfresco Day BeNelux: Customer Success Showcase - Credendo Group
 
Alfresco Day BeNelux: Digital Transformation - It's All About Flow
Alfresco Day BeNelux: Digital Transformation - It's All About FlowAlfresco Day BeNelux: Digital Transformation - It's All About Flow
Alfresco Day BeNelux: Digital Transformation - It's All About Flow
 
Alfresco Day Vienna 2016: Activiti – ein Katalysator für die DMS-Strategie be...
Alfresco Day Vienna 2016: Activiti – ein Katalysator für die DMS-Strategie be...Alfresco Day Vienna 2016: Activiti – ein Katalysator für die DMS-Strategie be...
Alfresco Day Vienna 2016: Activiti – ein Katalysator für die DMS-Strategie be...
 
Alfresco Day Vienna 2016: Elektronische Geschäftsprozesse auf Basis von Alfre...
Alfresco Day Vienna 2016: Elektronische Geschäftsprozesse auf Basis von Alfre...Alfresco Day Vienna 2016: Elektronische Geschäftsprozesse auf Basis von Alfre...
Alfresco Day Vienna 2016: Elektronische Geschäftsprozesse auf Basis von Alfre...
 
Alfresco Day Vienna 2016: Alfrescos neue Rest API
Alfresco Day Vienna 2016: Alfrescos neue Rest APIAlfresco Day Vienna 2016: Alfrescos neue Rest API
Alfresco Day Vienna 2016: Alfrescos neue Rest API
 
Alfresco Day Vienna 2016: Support Tools für die Admin-Konsole
Alfresco Day Vienna 2016: Support Tools für die Admin-KonsoleAlfresco Day Vienna 2016: Support Tools für die Admin-Konsole
Alfresco Day Vienna 2016: Support Tools für die Admin-Konsole
 
Alfresco Day Vienna 2016: Entwickeln mit Alfresco
Alfresco Day Vienna 2016: Entwickeln mit AlfrescoAlfresco Day Vienna 2016: Entwickeln mit Alfresco
Alfresco Day Vienna 2016: Entwickeln mit Alfresco
 
Alfresco Day Vienna 2016: Activiti goes enterprise: Die Evolution der BPM Sui...
Alfresco Day Vienna 2016: Activiti goes enterprise: Die Evolution der BPM Sui...Alfresco Day Vienna 2016: Activiti goes enterprise: Die Evolution der BPM Sui...
Alfresco Day Vienna 2016: Activiti goes enterprise: Die Evolution der BPM Sui...
 
Alfresco Day Vienna 2016: Partner Lightning Talk: Westernacher
Alfresco Day Vienna 2016: Partner Lightning Talk: WesternacherAlfresco Day Vienna 2016: Partner Lightning Talk: Westernacher
Alfresco Day Vienna 2016: Partner Lightning Talk: Westernacher
 
Alfresco Day Vienna 2016: Bringing Content & Process together with the App De...
Alfresco Day Vienna 2016: Bringing Content & Process together with the App De...Alfresco Day Vienna 2016: Bringing Content & Process together with the App De...
Alfresco Day Vienna 2016: Bringing Content & Process together with the App De...
 
Alfresco Day Vienna 2016: Partner Lightning Talk - it-novum
Alfresco Day Vienna 2016: Partner Lightning Talk - it-novumAlfresco Day Vienna 2016: Partner Lightning Talk - it-novum
Alfresco Day Vienna 2016: Partner Lightning Talk - it-novum
 
Alfresco Day Vienna 2016: How to Achieve Digital Flow in the Enterprise - Joh...
Alfresco Day Vienna 2016: How to Achieve Digital Flow in the Enterprise - Joh...Alfresco Day Vienna 2016: How to Achieve Digital Flow in the Enterprise - Joh...
Alfresco Day Vienna 2016: How to Achieve Digital Flow in the Enterprise - Joh...
 
Alfresco Day Warsaw 2016 - Czy możliwe jest spełnienie wszystkich regulacji p...
Alfresco Day Warsaw 2016 - Czy możliwe jest spełnienie wszystkich regulacji p...Alfresco Day Warsaw 2016 - Czy możliwe jest spełnienie wszystkich regulacji p...
Alfresco Day Warsaw 2016 - Czy możliwe jest spełnienie wszystkich regulacji p...
 
Alfresco Day Warsaw 2016: Identyfikacja i podpiselektroniczny - Safran
Alfresco Day Warsaw 2016: Identyfikacja i podpiselektroniczny - SafranAlfresco Day Warsaw 2016: Identyfikacja i podpiselektroniczny - Safran
Alfresco Day Warsaw 2016: Identyfikacja i podpiselektroniczny - Safran
 
Alfresco Day Warsaw 2016: Advancing the Flow of Digital Business
Alfresco Day Warsaw 2016: Advancing the Flow of Digital BusinessAlfresco Day Warsaw 2016: Advancing the Flow of Digital Business
Alfresco Day Warsaw 2016: Advancing the Flow of Digital Business
 

Dernier

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
Enterprise Knowledge
 
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
giselly40
 

Dernier (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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)
 
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...
 
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
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 

Alfresco tech talk live on solr august 2012

  • 1. Thanks for joining today’s episode of Tech Talk Live on Solr We will start just after 9am PST, 12pm EST, 5pm UK, 6pm CET. Please use the dial in numbers or your PC (VoIP) for the audio portion. All lines will be on mute during the webinar. Please use the chat box to submit questions. © Copyright 2012 Ixxus Ltd. Commercial in Confidence
  • 2. Speaker Bio •  Principal ECM Architect at Ixxus and has been working on Alfresco solutions for the past 5 years. •  He is a frequent blogger about Alfresco and Solr and his blog is published at ecmstuff.blogspot.com. •  He has also written a book about Alfresco called Alfresco 3 Business Solutions •  Alfresco Certified Engineer •  At DevCon 2011 he presented a session about customizing the Upload File(s) dialog in Alfresco Share •  Currently working on an Alfresco and Solr project for major London client © Copyright 2012 Ixxus Ltd. Commercial in Confidence 2
  • 3. Agenda •  What’s Solr? •  How is it integrated with Alfresco? •  Why is Alfresco using it? •  What content is searchable when using Solr? •  When not to use Solr? •  Demo © Copyright 2012 Ixxus Ltd. Commercial in Confidence 3
  • 4. What’s Solr? •  Apache Solr is an open source enterprise full-text search server •  Created by Yonik Seeley for CNET •  Contributed to Apache Jan 2006 •  Version 1.4 released Nov 2009 •  Uses Apache Lucene Java search library at its core for full-text indexing and search •  Runs within a Servlet container such as Apache Tomcat •  It supports any programming language since it has REST-like HTTP/XML and JSON APIs © Copyright 2012 Ixxus Ltd. Commercial in Confidence 4
  • 5. What’s Solr continued? •  Written in Java and provides plug-in interfaces for building extensions to the search server, such as: •  Faceted searches and navigation •  "Did you mean" spell checking on queries •  Query completion •  Finding documents that are "More like this" •  Results highlighting •  Geospatial search for filtering and sorting by distance © Copyright 2012 Ixxus Ltd. Commercial in Confidence 5
  • 6. What’s Solr continued? •  Conceptually, Solr can be broken down into four main areas: •  Schema (schema.xml) •  Field types and fields (including dynamic fields) •  Configuration (solrconfig.xml) •  Lucene index parameters •  Request handler mappings •  Cache settings •  Plug-ins •  Indexing •  Searching © Copyright 2012 Ixxus Ltd. Commercial in Confidence 6
  • 7. What’s Solr continued? •  Security? •  Relies on server or container security •  Totally open by default, you need to secure it! •  No standard document level security model © Copyright 2012 Ixxus Ltd. Commercial in Confidence 7
  • 8. What’s a Solr Core? •  A Solr core holds one Lucene index and the supporting Solr configuration for that index •  Sometimes the word "core" is used synonymously with "index“ © Copyright 2012 Ixxus Ltd. Commercial in Confidence 8
  • 9. How is Solr integrated with Alfresco •  Alfresco uses a patched Apache Solr 1.4 version •  Custom Schema •  2 cores: © Copyright 2012 Ixxus Ltd. Commercial in Confidence 9
  • 10. Why is Alfresco using Solr? •  The following are some of the reasons why Alfresco decided to move from an embedded Lucene search engine to the stand- alone Solr search server: •  Scale content search independently •  Make clustering easier •  Improve performance •  Support cross-locale ordering © Copyright 2012 Ixxus Ltd. Commercial in Confidence 10
  • 11. What Alfresco Repo content is searchable? •  What content in the Alfresco repository is searchable via Solr? •  All content in the Workspace store (the main store used for most of the live content) •  All content in the Archive store (content that has been soft deleted) •  What’s not searchable? •  Content in other stores such as AVM (deprecated and being phased out) is not supported •  Multi-tenant searches are not supported in version 4.0.0 (supposed to be supported in later versions 4.c) •  Records Management (RM 2.0 will support Solr) © Copyright 2012 Ixxus Ltd. Commercial in Confidence 11
  • 12. When not to use Solr? •  If you are not running in Tomcat •  Want to use Records Management Module •  Require in-transaction indexing © Copyright 2012 Ixxus Ltd. Commercial in Confidence 12
  • 13. Demo © Copyright 2012 Ixxus Ltd. Commercial in Confidence 13
  • 14. Cluster Configuration •  Example of cluster configuration: © Copyright 2012 Ixxus Ltd. Commercial in Confidence 14
  • 15. Additional Resources •  http://docs.alfresco.com/4.0/index.jsp?topic= %2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fsolr-intro.html •  http://wiki.alfresco.com/wiki/Alfresco_And_SOLR •  http://lucene.apache.org/solr/ •  http://ecmstuff.blogspot.se/2012/05/getting-going-with-solr-in- alfresco-4.html © Copyright 2012 Ixxus Ltd. Commercial in Confidence 15