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

The DisMax query parser


The following table shows parameters for the DisMax query parser. These are covered in Chapter 5, Searching, and Chapter 6, Search Relevancy:

Parameter

Description

Single/multi

q.alt

This is an alternate query to run when q is absent. The recommended one is: *:* (all docs)

single

qf

This stands for query fields, including optional boosts, for example, id^5.0 name^2.0 body.

multi

mm=100%

This is the min-should-match specification. It is used to change to all-optional, use 0%

single

qs=0

This is the query slop for phrases explicitly in the query string.

single

pf

This stands for phrase fields for automatic phrase boosting. This is same as qf syntax.

single

ps=0

This is the phrase slop for pf.

single

tie=0

This is the score tie-breaker. The recommended one is 0.1.

single

bq

This is a boost query. The boost is added.

multi

bf

This is a boost function. The boost is added.

multi

boost

This is a boost function. The boost is multiplied. Works for edismax only.

multi

The other edismax additions are lowercaseOperators=on, pf2, pf3, ps2, ps3, stopwords=on, and uf.