Solr Introduction

445 views

Published on

1 - What is Solr?
2 - Solr Features
3 - Solr Schema
4 - Solr Query

Published in: Software, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
445
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Solr Introduction

  1. 1. Solr - Introduction Eng. Ismail Enjreny Solr Expert ismaeel.enjreny@gmail.com
  2. 2. What is Solr? • http://lucene.apache.org/solr/ • Open Source Search Engine • Java based • Build on top of Lucene • Supported by Apache Community
  3. 3. Solr Features • Advanced Full-Text Search Capabilities • Optimized for High Volume Web Traffic • Standards Based Open Interfaces - XML, JSON and HTTP • Comprehensive HTML Administration Interfaces • Server statistics exposed over JMX for monitoring • Linearly scalable, auto index replication, auto failover and recovery • Near Real-time indexing • Flexible and Adaptable with XML configuration • Extensible Plugin Architecture
  4. 4. Solr Schema • Defines the field types and fields of documents • Dynamic Fields enables on-the-fly addition of new fields • CopyField functionality allows indexing a single field multiple ways, or combining multiple fields into a single searchable field • Explicit types eliminates the need for guessing types of fields • External file-based configuration of stopword lists, synonym lists, and protected word lists • Many additional text analysis components including word splitting, regex and sounds-like filters • Pluggable similarity model per field
  5. 5. Solr Query • HTTP interface with configurable response formats (XML/XSLT, JSON, Python, Ruby, PHP, Velocity, CSV, binary) • Sort by any number of fields, and by complex functions of numeric fields • Highlighted context snippets • Faceted Searching based on unique field values, explicit queries, date ranges, numeric ranges or pivot • Multi-Select Faceting by tagging and selectively excluding filters • Spelling suggestions for user queries • More Like This suggestions for given document
  6. 6. Solr Query … • Function Query - influence the score by user specified complex functions of numeric fields or query relevancy scores. • Range filter over Function Query results • Date Math - specify dates relative to "NOW" in queries and updates • Numeric field statistics such as min, max, average, standard deviation • Combine queries derived from different syntaxes • Auto-suggest functionality for completing user queries • Allow configuration of top results for a query, overriding normal scoring and sorting • Simple join capability between two document types
  7. 7. Examples • www.cnet.com • www.twitter.com • www.facebook.com • www.whitehouse.gov • www.netflix.com
  8. 8. Demo • Solr UI • Index • Query • Analyzer
  9. 9. Questions?
  10. 10. Thanks

×