Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lucene/Solr Architecture 1 Apache Lucene /select/spellXMLCSVXMLBinaryJSON Data Import Handler (SQL/RSS) Extracting Request Handler (PDF/WORD) CachingFaceting.

Similar presentations


Presentation on theme: "Lucene/Solr Architecture 1 Apache Lucene /select/spellXMLCSVXMLBinaryJSON Data Import Handler (SQL/RSS) Extracting Request Handler (PDF/WORD) CachingFaceting."— Presentation transcript:

1 Lucene/Solr Architecture 1 Apache Lucene /select/spellXMLCSVXMLBinaryJSON Data Import Handler (SQL/RSS) Extracting Request Handler (PDF/WORD) CachingFaceting Query Parsing Apache Tika binary/admin High- lighting Schema Index Replication Request HandlersUpdate HandlersResponse Writers Query Search Components Spelling Faceting Highlighting Signature Logging Update Processors Indexing Config Debug Statistics More like this Distributed Search Clustering FilteringSearch Core Search IndexReader/Searcher Indexing IndexWriter Text Analysis Analysis

2 Lucene/Solr plugins RequestHandlers – handle a request at a URL like /select SearchComponents – part of a SearchHandler, a componentized request handler – Includes, Query, Facet, Highlight, Debug, Stats – Distributed Search capable UpdateHandlers – handle an indexing request Update Processor Chains – per-handler componentized chain that handle updates Query Parser plugins – Mix and match query types in a single request – Function plugins for Function Query Text Analysis plugins: Analyzers, Tokenizers, TokenFilters ResponseWriters serialize & stream response to client 2

3 Lucene/Solr Query Plugin Architecture 3 schema.xml solrconfig.xml Function QParser sqrt sum pow custom max log MyCustom QParser DisMax QParser Function Range Q XML QParser Lucene QParser { "@context": "http://schema.org", "@type": "ImageObject", "contentUrl": "http://images.slideplayer.com/8/2293397/slides/slide_3.jpg", "name": "Lucene/Solr Query Plugin Architecture 3 schema.xml solrconfig.xml Function QParser sqrt sum pow custom max log MyCustom QParser DisMax QParser Function Range Q XML QParser Lucene QParser

4 Lucene/Solr Request Plugins 4 /select RequestHandler Query Component Facet Component Highlight Component Debug Component Distributed Search MoreLikeThisStatisticsTerms SpellcheckTermVectorQueryElevation My Custom Binary response writer JSON response writer Custom response writer Request Handler (non- component based) /admin/luke Request Handler (custom) /mypath XML response writer XSLT response writer http://.../select?q=cheese&wt=json Query Response {“response”={ “docs”={ Additional plug-n-play search components Clustering

5 Lucene/Solr Indexing 5 XML Update Handler CSV Update Handler /update/update/csv XML Update with custom processor chain /update/xml Extracting RequestHandler (PDF, Word, …) /update/extract Lucene Index Data Import Handler Database pull RSS pull Simple transforms SQL DB RSS feed Remove Duplicates processor Logging processor Index processor Custom Transform processor PDF HTTP POST pull Update Processor Chain (per handler) Lucene Text Index Analyzers


Download ppt "Lucene/Solr Architecture 1 Apache Lucene /select/spellXMLCSVXMLBinaryJSON Data Import Handler (SQL/RSS) Extracting Request Handler (PDF/WORD) CachingFaceting."

Similar presentations


Ads by Google