Cover image for Apache Solr PHP Integration.
Apache Solr PHP Integration.
Title:
Apache Solr PHP Integration.
Author:
Kumar, Jayant.
ISBN:
9781782164937
Personal Author:
Physical Description:
1 online resource (148 pages)
Contents:
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.
Abstract:
This book is full of step-by-step example-oriented tutorials which will show readers how to integrate Solr in PHP applications using the available libraries, and boost the inherent search facilities that Solr offers.If you are a developer who knows PHP and is interested in integrating search into your applications, this is the book for you. No advanced knowledge of Solr is required. Very basic knowledge of system commands and the command-line interface on both Linux and Windows is required. You should also be familiar with the concept of Web servers.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: