PacktLib: Apache Solr 3 Enterprise Search Server

Apache Solr 3 Enterprise Search Server

Credits

About the Authors

Acknowledgement

Acknowledgement

About the Reviewers

www.PacktPub.com

PacktLib.PacktPub.com

Preface

Quick Starting Solr

An introduction to Solr

Getting started

A quick tour of Solr

Configuration files

Resources outside this book

Summary

Schema and Text Analysis

MusicBrainz.org

One combined index or separate indices

Schema design

The schema.xml file

Text analysis

Summary

Indexing Data

Communicating with Solr

Solr's Update-XML format

Commit, optimize, and rollback

Sending CSV formatted data to Solr

The Data Import Handler Framework

Indexing documents with Solr Cell

Update request processors

Summary

Searching

Your first search, a walk-through

Solr's generic XML structured data representation

Solr's XML response format

Request handlers

Query parameters

Query parsers and local-params

Query syntax (the lucene query parser)

The Dismax query parser (part 1)

Filtering

Sorting

Geospatial search

Summary

Search Relevancy

Scoring

Dismax query parser (part 2)

Function queries

Summary

Faceting

A quick example: Faceting release types

Field requirements

Types of faceting

Faceting field values

Faceting numeric and date ranges

Facet queries

Building a filter query from a facet

Excluding filters (multi-select faceting)

Hierarchical faceting

Summary

Search Components

About components

The Highlight component

The SpellCheck component

Query complete / suggest

The QueryElevation component

The MoreLikeThis component

The Stats component

The Clustering component

Result grouping/Field collapsing

The TermVector component

Summary

Deployment

Deployment methodology for Solr

Installing Solr into a Servlet container

Logging

A SearchHandler per search interface?

Leveraging Solr cores

Monitoring Solr performance

Securing Solr from prying eyes

Summary

Integrating Solr

Working with included examples

Solritas, the integrated search UI

SolrJ: Simple Java interface

Using JavaScript with Solr

Using XSLT to expose Solr via OpenSearch

Accessing Solr from PHP applications

Ruby on Rails integrations

Nutch for crawling web pages

Maintaining document security with ManifoldCF

Summary

Scaling Solr

Tuning complex systems

Testing Solr performance with SolrMeter

Optimizing a single Solr server (Scale up)

Moving to multiple Solr servers (Scale horizontally)

Combining replication and sharding (Scale deep)

Where next for scaling Solr?

Summary

Search Quick Reference

Search Quick Reference