万本电子书0元读

万本电子书0元读

顶部广告

Apache Solr PHP Integration电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Jayant Kumar

出  版  社:Packt Publishing

出版时间:2013-11-25

字       数:18.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部