Solr 1.4 Enterprise Search Server (Paperback)

David Smiley, Eric Pugh

買這商品的人也買了...

商品描述

Enhance your search with faceted navigation, result highlighting, fuzzy queries, ranked scoring, and more
  • Deploy, embed, and integrate Solr with a host of programming languages
  • Implement faceting in e-commerce and other sites to summarize and navigate the results of a text search
  • Enhance your search by highlighting search results, offering spell-corrections, auto-suggest, finding "similar" records, boosting records and fields for scoring, phonetic matching
  • Informative and practical approach to development with fully working examples of integrating a variety of technologies

In Detail If you are a developer building a high-traffic web site, you need to have a terrific search engine. Sites like Netflix.com and Zappos.com employ Solr, an open source enterprise search server, which uses and extends the Lucene search library. This is the first book in the market on Solr and it will show you how to optimize your web site for high volume web traffic with full-text search capabilities along with loads of customization options. So, let your users gain a terrific search experience.

This book is a comprehensive reference guide for every feature Solr has to offer. It serves the reader right from initiation to development to deployment. It also comes with complete running examples to demonstrate its use and show how to integrate it with other languages and frameworks.

This book first gives you a quick overview of Solr, and then gradually takes you from basic to advanced features that enhance your search. It starts off by discussing Solr and helping you understand how it fits into your architecture--where all databases and document/web crawlers fall short, and Solr shines. The main part of the book is a thorough exploration of nearly every feature that Solr offers. To keep this interesting and realistic, we use a large open source set of metadata about artists, releases, and tracks courtesy of the MusicBrainz.org project. Using this data as a testing ground for Solr, you will learn how to import this data in various ways from CSV to XML to database access. You will then learn how to search this data in a myriad of ways, including Solr's rich query syntax, "boosting" match scores based on record data and other means, about searching across multiple fields with different boosts, getting facets on the results, auto-complete user queries, spell-correcting searches, highlighting queried text in search results, and so on.

After this thorough tour, we'll demonstrate working examples of integrating a variety of technologies with Solr such as Java, JavaScript, Drupal, Ruby, XSLT, PHP, and Python.

Finally, we'll cover various deployment considerations to include indexing strategies and performance-oriented configuration that will enable you to scale Solr to meet the needs of a high-volume site.

What you will learn from this book?

  • Blend structured data with real search features
  • Import CSV formatted data, XML, common document formats, and from databases
  • Deploy Solr and provide reference to Solr's query syntax from the basics to range queries
  • Enhance search results with spell-checking, auto-completing queries, highlighting search results, and more.
  • Secure Solr
  • Integrate a host of technologies with Solr from the server side to client-side JavaScript, to frameworks like Drupal
  • Scale Solr using replication, distributed searches, and tuning

Approach

The book takes a step-by-step tutorial approach with fully working examples in Java. It will show you how to implement a Solr-based search engine on your intranet or web site.

Who this book is written for?

This book is for developers who would like to use Solr for their applications. You only need to have basic programming skills to use Solr. Knowledge of Lucene is certainly a bonus.

商品描述(中文翻譯)

增強您的搜索功能,包括分面導航、結果高亮、模糊查詢、排名評分等等。部署、嵌入和整合Solr與多種編程語言。在電子商務和其他網站中實現分面導航,以總結和導航文本搜索的結果。通過高亮搜索結果、提供拼寫更正、自動建議、查找“相似”記錄、提升記錄和字段的評分、音標匹配等方式增強您的搜索。以實際的例子展示如何整合各種技術的信息和實用方法。詳細介紹:如果您是一位正在建設高流量網站的開發人員,您需要一個出色的搜索引擎。像Netflix.com和Zappos.com這樣的網站使用Solr,一個使用和擴展Lucene搜索庫的開源企業搜索服務器。這是市場上第一本關於Solr的書籍,它將向您展示如何通過全文搜索功能和大量自定義選項來優化您的網站以應對高流量網絡流量。讓您的用戶獲得出色的搜索體驗。本書是Solr提供的每個功能的全面參考指南。它從入門到開發再到部署,為讀者提供全面的指導。它還提供完整的運行示例,以演示其使用方法以及如何與其他語言和框架集成。本書首先為您快速概述Solr,然後逐步介紹從基本到高級功能的搜索增強。它首先討論Solr,幫助您了解它如何適應您的架構-在所有數據庫和文檔/網絡爬蟲無法滿足需求的地方,Solr能夠脫穎而出。本書的主要部分是對Solr提供的幾乎每個功能的深入探索。為了保持趣味和真實性,我們使用了一個大型的開源藝術家、發行和曲目的元數據集,這些數據由MusicBrainz.org項目提供。通過將這些數據作為Solr的測試場地,您將學習如何以各種方式導入這些數據,從CSV到XML到數據庫訪問。然後,您將學習如何以多種方式搜索這些數據,包括Solr的豐富查詢語法,基於記錄數據和其他方式的“提升”匹配分數,以及在不同的字段上搜索並獲取結果的分面,自動完成用戶查詢,拼寫更正搜索,在搜索結果中突出顯示查詢文本等等。在這次全面的導覽之後,我們將展示如何使用Java、JavaScript、Drupal、Ruby、XSLT、PHP和Python等多種技術與Solr集成的工作示例。最後,我們將涵蓋各種部署考慮因素,包括索引策略和性能導向的配置,以使您能夠擴展Solr以滿足高流量網站的需求。本書將以Java為例,採用逐步教學的方式,並提供完整的工作示例,以在內部網或網站上實現基於Solr的搜索引擎。本書適合希望在其應用程序中使用Solr的開發人員。您只需要具備基本的編程技能即可使用Solr。對Lucene的了解當然是一個加分項目。