Book Image

Apache Solr Enterprise Search Server - Third Edition

By : David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell
Book Image

Apache Solr Enterprise Search Server - Third Edition

By: David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell

Overview of this book

<p>Solr Apache is a widely popular open source enterprise search server that delivers powerful search and faceted navigation features—features that are elusive with databases. Solr supports complex search criteria, faceting, result highlighting, query-completion, query spell-checking, relevancy tuning, geospatial searches, and much more.</p> <p>This book is a comprehensive resource for just about everything Solr has to offer, and it will take you from first exposure to development and deployment in no time. Even if you wish to use Solr 5, you should find the information to be just as applicable due to Solr's high regard for backward compatibility. The book includes some useful information specific to Solr 5.</p>
Table of Contents (19 chapters)
Apache Solr Enterprise Search Server Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Core search


The following parameters are commonly used in most search queries. These are also covered in Chapter 5, Searching:

Parameter

Description

Single/multi

qt=/select

A named request handler.

single

q

The query string. Usually, as entered by an end user.

single

defType=lucene

The query parser for q. The recommended one is edismax (or dismax).

single

fq

A filter query.

multi

start=0

The index into the search results to start returning documents.

single

rows=10

The number of search result document rows to return.

single

fl=*

The field list to retrieve, comma separated. To get scores: *,score

multi

sort=score desc

The sort order. A comma-separated list with asc or desc.

single

wt=xml

The writer type for the response format. One of xml, json, python, php, phps, ruby, javabin, csv, xslt, or velocity.

single

Other parameters are: version=2.2, omitHeader=off, and timeAllowed=-1.