Apache Solr Beginner's Guide
By Alfredo Serafini
Publisher: Packt Publishing
Released: December 2013
Pages: 324

In Detail

With over 40 billion web pages, the importance of optimizing a search engine's performance is essential.

Solr is an open source enterprise search platform from the Apache Lucene project. Full-text search, faceted search, hit highlighting, dynamic clustering, database integration, and rich document handling are just some of its many features. Solr is highly scalable thanks to its distributed search and index replication.

Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Apache Tomcat or Jetty. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it usable with most popular programming languages. Solr's powerful external configuration allows it to be tailored to many types of application without Java coding, and it has a plugin architecture to support more advanced customization.

With "Apache Solr Beginner's Guide" you will learn how to configure your own search engine experience. Using real data as an example, you will have the chance to start writing step-by-step, simple, real-world configurations and understand when and where to adopt this technology.

"Apache Solr Beginner's Guide" will start by letting you explore a simple search over real data. You will then go through a step-by-step description that gives you the chance to explore several practical features. At the end of the book you will see how Solr is used in different real-world contexts.

Using data from public domains like DBpedia, you will define several different configurations, exploring some of the most interesting Solr features, such as faceted search and navigation, auto-suggestion, and rich document indexing. You will see how to configure different analysers for handling different data types, without programming.

You will learn the basics of Solr, focusing on real-world examples and practical configurations.

Approach

Written in a friendly, example-driven format, the book includes plenty of step-by-step instructions and examples that are designed to help you get started with Apache Solr.

Who this book is for

This book is an entry level text into the wonderful world of Apache Solr. The book will center around a couple of simple projects such as setting up Solr and all the stuff that comes with customizing the Solr schema and configuration. This book is for developers looking to start using Apache Solr who are stuck or intimidated by the difficulty of setting it up and using it.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyApache Solr Beginner's Guide
 
4.5

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (3)

Cons

    Best Uses

      Reviewed by 4 customers

      Sort by

      Displaying reviews 1-4

      Back to top

      (1 of 1 customers found this review helpful)

       
      5.0

      Good basic at Apache Solr

      By pekollik

      from Tampere, Finland

      Verified Reviewer

      Comments about oreilly Apache Solr Beginner's Guide:

      I was total newbie with Apache Solr but I do have some java studies background. This was given me good jump start to dive into world of this book.

      From the very first examples given at the book , I actually started to like Apache Solr and this book very much as it is giving me good learning experience on issues of how to conduct full-text search, faceted search etc.in practise at Java backend. Overall, I dare to say it gives good beginners view of what kind of results one could reach at their web sites/applications by putting engine such as Apache Solr under the hood of their Java (web) installation.

      As soon as you manage to do your local installation of Solr , there is plenty of good receipts on this book e.g how to do indexed search with Solr and at the same time it will teach your basic concepts of how to conduct and configure modern own search engine for your (web) customer.

      (1 of 1 customers found this review helpful)

       
      4.0

      Wonderful Book

      By Vishnu

      from Bangalore, IN

      Verified Reviewer

      Pros

      • Easy to understand

      Cons

        Best Uses

          Comments about oreilly Apache Solr Beginner's Guide:

          Apache Solr Beginner's Guide is a very good book with lot of fundamentals covered for learning solr. I am a lucene beginner before starting this book. I do have knowledge about lucene before starting this book.That made me bit easy for understanding concepts. But i feel it is not mandatory to know about lucene before reading about solr. This book absolutely helps beginners even if you don't have knowledge about lucene. Great book to start with to learn about SOLR.

          (2 of 2 customers found this review helpful)

           
          4.0

          Grand Book

          By Pule Nong

          from Mochudi, Botswana

          About Me Designer, Developer

          Verified Reviewer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Well-written

          Cons

            Best Uses

            • Expert
            • Intermediate

            Comments about oreilly Apache Solr Beginner's Guide:

            Apache Solr is an open source full-text search server written in Java. This book is billed as being for anyone who has the will to learn.

            The author asserts that no prior programming experience is required. In my opinion, prior programming knowledge is a necessity to follow along.

            On page 68 of the book the author states that "both XML and json are widely used on Internet applications and mashups, so I suggest you become familiar with both of them." One can only be fully familiar with these afore-mentioned technologies only when one has some sort of programming knowledge. Knowledge of using the command prompt is also important.

            Other than that I think this is an awesome book that demonstrates the limitless possibilities one can venture into using Apache Solr. Even after completing this book I find myself going through it again so as to familiarize myself more with Apache Solr. There are a lot of topics covered in this book. These include among others:
            - How to install Apache Solr
            - Using faceted search
            - Working with Multiple Entities, Multicores, and Distributed Search
            - Collecting the paintings data from DBpedia
            - Indexing with Local PDF Files

            The positive to take away from this book is that it is written in a manner that is easy to understand. So there is no need to have a dictionary close by. It is written in a practical manner. You get to see how covered concepts are applied. If you are focused enough you will be just fine in following along.

            I highly recommend this book to anyone who needs to incorporate a full-text search engine to their application. In terms of rating this book I give it a 4/5 rating.

            (2 of 2 customers found this review helpful)

             
            5.0

            The definitive guide to using Apache Sol

            By Ian

            from Eugene, Oregon

            About Me Designer

            Verified Reviewer

            Pros

            • Accurate
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly Apache Solr Beginner's Guide:

              Don't let the title "beginner's guide" mislead you. This 300-page book is an encyclopedia of recipes for running a Solr server. The introductory comment "Less theory, more results" certainly applies to this book. Serafini starts out with a quick introduction and history of Solr. Soon afterwards he has the reader up and running on a local installation of Solr. The downloadable code includes many examples and add-ons useful in following along with the text.

              The author takes the reader from the basic configuration with queries using the browser alongside cURL in Terminal. We are shown examples of searching a public art database as well as PDF text searching. We are introduced to building indexes, core types, and schema.xml files, followed by spatial and faceted searches and concepts in analyzing different strategies for constructing the right searches. Time is spent explaining how to maintain our indexes and shaping our user search experience for best results.

              As the book goes into more advanced topics, the author covers moving from a single core to a multi-core and finally to distributed searches. There is a chapter on writing Solr plugins to further extend the application. The final chapter covers integrating Solr search into one's web application and touches on using the most popular languages including PHP, Ruby, Python and others.

              Each chapter is broken down into short explanations and examples, followed by a "Time For Action" section and then a "What Just Happened" section. This makes it very easy to focus in on one example at a time, testing it out while reading. Each chapter concludes with a quiz to further make sure the reader is comfortable with the information presented.

              In conclusion I would highly recommend this book to anyone who is interested in implementing search-using Solr. This is the definitive guide to keep on your desk and to dig deeper than what is available in the Solr docs.

              Displaying reviews 1-4

              Back to top

               
              Buy 2 Get 1 Free Free Shipping Guarantee
              Buying Options
              Immediate Access - Go Digital what's this?
              Ebook: $26.99
              Formats:  ePub, Mobi, PDF