Szczegóły ebooka

Apache Solr PHP Integration. Build a fully-featured and scalable search application using PHP to unlock the search functions provided by Solr with this book and

Apache Solr PHP Integration. Build a fully-featured and scalable search application using PHP to unlock the search functions provided by Solr with this book and

Jayant Kumar

Ebook
The Search tool is a very powerful for any website. No matter what type of website, the search tool helps visitors find what they are looking for using key words and narrow down the results using facets. Solr is the popular, blazing fast, open source enterprise search platform from the Apache Lucene project. It is highly scalable, providing distributed search and index replication, and it powers the search and navigation features of many of the world's largest websites.This book is a practical, hands-on, end-to-end guide that provides you with all the tools required to build a fully-featured search application using Apache Solr and PHP. The book contains practical examples and step-by-step instructions.Starting off with the basics of installing Apache Solr and integrating it with Php, the book then proceeds to explore the features provided by Solr to improve searches using Php. You will learn how to build and maintain a Solr index using Php, discover the query modes available with Solr, and how to use them to tune the Solr queries to retrieve relevant results. You will look at how to build and use facets in your search, how to tune and use fast result highlighting, and how to build a spell check and auto complete feature using Solr. You will finish by learning some of the advanced concepts required to runa large-scale enterprise level search infrastructure.
  • Apache Solr PHP Integration
    • Table of Contents
    • Apache Solr PHP Integration
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers, and more
        • Why subscribe?
        • Free access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Installing and Integrating Solr and PHP
      • Solr
      • Installing Solr
      • Configuring Tomcat to run Solr
      • Executing a ping query on Solr using PHP
      • Libraries available for PHP-Solr integration
      • Installing Solarium
      • Executing ping queries on Solr using PHP and Solarium library
      • More about endpoints
      • Checking Solr query logs
      • Solarium adapters
      • Summary
    • 2. Inserting, Updating, and Deleting Documents from Solr
      • The Solr schema
      • Adding sample documents to the Solr index
      • Using PHP to add documents to the Solr index
      • Updating documents in Solr using PHP
      • Deleting documents in Solr using PHP
      • Commit, rollback, and index optimization
      • Summary
    • 3. Select Query on Solr and Query Modes (DisMax/eDisMax)
      • Creating a basic select query with sorting and return fields
      • Running a query using select configuration
      • Re-using queries
      • DisMax and eDisMax query modes
      • Executing queries using DisMax and eDisMax
      • Date boosting in an eDisMax query
      • Advanced query parameters
      • Summary
    • 4. Advanced Queries Filter Queries and Faceting
      • Filter queries and their benefits
      • Executing filter queries
      • Creating filter query configuration
      • Faceting
      • Facet by field
      • Facet by query
      • Facet by range
      • Facet by pivot
      • Summary
    • 5. Highlighting Results Using PHP and Solr
      • Solr highlighting configuration
      • Highlighting in Solr using PHP and Solarium
      • Using different highlighting tags for different fields
      • Highlighting using the fast vector highlighter
      • Summary
    • 6. Debug and Stats Component
      • Solr relevance ranking
      • Executing debug through PHP code
      • Running debug on Solr interface
      • The stats component
      • Summary
    • 7. Spell Check in Solr
      • Solr configuration for spell check
      • Spell checker implementations available with Solr
      • Running a spell check query using PHP
      • Implementing the autocomplete feature using PHP and Solr
      • Summary
    • 8. Advanced Solr Grouping, the MoreLikeThis Query, and Distributed Search
      • Grouping results by fields
      • Grouping results by queries
      • Running more like this query using PHP
      • More like this tuning parameters
      • Distributed search
      • Setting up a distributed search
      • Executing a distributed search using PHP
      • Setting up Solr master-slave
      • Load balancing Solr queries using PHP
      • Summary
    • Index
  • Tytuł: Apache Solr PHP Integration. Build a fully-featured and scalable search application using PHP to unlock the search functions provided by Solr with this book and
  • Autor: Jayant Kumar
  • Tytuł oryginału: Apache Solr PHP Integration. Build a fully-featured and scalable search application using PHP to unlock the search functions provided by Solr with this book and ebook.
  • ISBN: 9781782164937, 9781782164937
  • Data wydania: 2013-11-25
  • Format: Ebook
  • Identyfikator pozycji: e_3bmb
  • Wydawca: Packt Publishing