PacktLib: Solr 1.4 Enterprise Search Server

Solr 1.4 Enterprise Search Server

Credits

About the Authors

About the Reviewers

Preface

Quick Starting Solr

An introduction to Solr

Comparison to database technology

Getting started

A quick tour of Solr!

The schema and configuration files

Solr resources outside this book

Summary

Schema and Text Analysis

MusicBrainz.org

One combined index or multiple indices

Schema design

The schema.xml file

Text analysis

Summary

Indexing Data

Communicating with Solr

Using curl to interact with Solr

Remote streaming

Sending XML to Solr

Sending CSV to Solr

Direct database and XML import

Indexing documents with Solr Cell

Summary

Basic Searching

Your first search, a walk-through

Solr's generic XML structured data representation

Solr's XML response format

Query parameters

Query syntax

Filtering

Sorting

Request handlers

Scoring

Summary

Enhanced Searching

Function queries

Dismax Solr request handler

Faceting

Summary

Search Components

About components

The highlighting component

Query elevation

Spell checking

The more-like-this search component

Stats component

Field collapsing

Other components

Summary

Deployment

Implementation methodology

Installing into a Servlet container

Logging

A SearchHandler per search interface

Solr cores

JMX

Securing Solr

Summary

Integrating Solr

Structure of included examples

SolrJ: Simple Java interface

Using JavaScript to integrate Solr

Accessing Solr from PHP applications

Ruby on Rails integrations

Summary

Scaling Solr

Tuning complex systems

Optimizing a single Solr server (Scale High)

Moving to multiple Solr servers (Scale Wide)

Combining replication and sharding (Scale Deep)

Summary

Index