Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Apache SOLR in AEM 6

Introduction to Apache SOLR and configuring Apache SOLR with AEM 6

Related Books

Free with a 30 day trial from Scribd

See all

Apache SOLR in AEM 6

  1. 1. Introduction to Apache SOLR in Adobe AEM 6 Dr.Yash Mody, PhD CTO | Tekno Point Consulting
  2. 2. About Me Adobe AEM,Apache Hadoop Instructor & Consultant Application Architecture and Design Consultant Need I say more? www.teknopoint.us  
  3. 3. www.teknopoint.us  
  4. 4. Information Retrieval Document Term Inverted Index Term Frequency (tf) Skip Pointers Positional Index Collection Frequency Document Frequency (df) Inverse Frequency Idf = Log10(N/df) Term Frequency Inverse Document Frequency tf-idf = tf * Idf www.teknopoint.us  
  5. 5. More??? PHEW! No Way www.teknopoint.us  
  6. 6. Apache SOLR Fire Powered Lucene Distributed Replicated Remote And just for the record its… SEARCH On LUCENE w/REPLICATION (TBHPHB) www.teknopoint.us  
  7. 7. Installation Unpack SOLR distribution Add solr.war to webapps Add –Dsolr.solr.home = … OR http://bitnami.com/stack/solr www.teknopoint.us  
  8. 8. Getting solr ready Starting SOLR cd /usr/local/Cellar/solr/4.7.2/libexec/example/ - jetty java -jar start.jar http://localhost:8983/solr/#/ Adding content using www.teknopoint.us  
  9. 9. Index and search Indexing Data java -jar post.jar solr.xml Searching http://localhost:8983/solr/select?q=solr&wt=json www.teknopoint.us  
  10. 10. Configurations Configurations are done in 2 xml files schema.xml – SOLR index configurations solrconfig.xml – SOLR configurations www.teknopoint.us  
  11. 11. Indexing Indexing is using HTTP POST. So indexed can be posted to SOLR via a web request Data can be pulled using Data Import Handler (uses HTTP GET or DB) SOLR can index binary content (textual + metadata) from docs, video, mp3, images and other binary content www.teknopoint.us  
  12. 12. Search Search features: Paging, Filtering, Sorting, Faceting Results: xml (Default), json, php, ruby, python etc. Query Parser: used to interpret queries. 2 types of query parsers Lucene Query Syntax Parser DisMax Parser (Disjunction Max) www.teknopoint.us  
  13. 13. Solr integration approaches Crawl using an external crawler like Nutch or Heritrix CQ servlets to serialize content into a Solr (JSON/XML) JCR Observer for page modifications to trigger indexing to Solr. www.teknopoint.us  
  14. 14. AEM 6 2 Types In Built Remote (For distributed) Zookeeper (for setting up a cluster) Shard – horizontal Partition Replication – no of copies of the index files www.teknopoint.us  
  15. 15. SOLR things we didn’t see https://github.com/evolvingweb/ajax-solr http://wiki.apache.org/solr/SolrQuerySyntax www.teknopoint.us  
  16. 16. Thanks @yash_mody http://www.linkedin.com/in/modyyash

    Be the first to comment

    Login to see the comments

  • denisgalukhin

    Jul. 10, 2014
  • praveenmodi

    Oct. 25, 2014
  • ejslideshare

    Nov. 7, 2014
  • gajananl

    Nov. 18, 2014
  • andrewmkhoury

    Nov. 20, 2014
  • yagya300

    Jan. 2, 2015
  • ShivaHr

    Jan. 5, 2015
  • rommelsharma

    Feb. 18, 2015
  • syedmuhammadqamar

    Jul. 29, 2015
  • jmaonline

    Sep. 15, 2015
  • akashmalik7165

    Feb. 10, 2016
  • scalan

    Apr. 6, 2016
  • ethomasjoseph

    Jul. 6, 2016

Introduction to Apache SOLR and configuring Apache SOLR with AEM 6

Views

Total views

8,828

On Slideshare

0

From embeds

0

Number of embeds

73

Actions

Downloads

197

Shares

0

Comments

0

Likes

13

×