Book description
Solr in Action is a comprehensive guide to implementing scalable search using Apache Solr. This clearly written book walks you through well-documented examples ranging from basic keyword searching to scaling a system for billions of documents and queries. It will give you a deep understanding of how to implement core Solr capabilities.
About the Technology
About the Book
Whether you're handling big (or small) data, managing documents, or building a website, it is important to be able to quickly search through your content and discover meaning in it. Apache Solr is your tool: a ready-to-deploy, Lucene-based, open source, full-text search engine. Solr can scale across many servers to enable real-time queries and data analytics across billions of documents.
Solr in Action teaches you to implement scalable search using Apache Solr. This easy-to-read guide balances conceptual discussions with practical examples to show you how to implement all of Solr's core capabilities. You'll master topics like text analysis, faceted search, hit highlighting, result grouping, query suggestions, multilingual search, advanced geospatial and data operations, and relevancy tuning.
What's Inside
- How to scale Solr for big data
- Rich real-world examples
- Solr as a NoSQL data store
- Advanced multilingual, data, and relevancy tricks
- Coverage of versions through Solr 4.7
About the Reader
This book assumes basic knowledge of Java and standard database technology. No prior knowledge of Solr or Lucene is required.
About the Authors
Trey Grainger is a director of engineering at CareerBuilder. Timothy Potter is a senior member of the engineering team at LucidWorks. The authors work on the scalability and reliability of Solr, as well as on recommendation engine and big data analytics technologies.
Quotes
The knowledge and techniques you need.
- From the Foreword by Yonik Seeley, Creator of Solr
Readable and immediately applicable ... an excellent book.
- John Viviano, InterCorp, Inc.
The go-to guide for Solr ... a definitive resource for both beginners and experts.
- Scott Anthony, Business Instruments
A well-dosed combination of deep technical knowledge and real-world experience.
- Alexandre Madurell, Piksel, Inc.
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Foreword
- Preface
- Acknowledgments
- About this Book
- Part 1. Meet Solr
-
Part 2. Core Solr capabilities
-
Chapter 7. Performing queries and handling results
- 7.1. The anatomy of a Solr request
- 7.2. Working with query parsers
- 7.3. Queries and filters
- 7.4. The default query parser (Lucene query parser)
- 7.5. Handling user queries (eDisMax query parser)
- 7.6. Other useful query parsers
- 7.7. Returning results
- 7.8. Sorting results
- 7.9. Debugging query results
- 7.10. Summary
- Chapter 8. Faceted search
- Chapter 9. Hit highlighting
- Chapter 10. Query suggestions
-
Chapter 11. Result grouping/field collapsing
- 11.1. Result grouping vs. field collapsing
- 11.2. Skipping duplicate documents
- 11.3. Returning multiple documents per group
- 11.4. Grouping by functions and queries
- 11.5. Paging and sorting grouped results
- 11.6. Grouping gotchas
- 11.7. Efficient field collapsing with the Collapsing query parser
- 11.8. Summary
-
Chapter 12. Taking Solr to production
- 12.1. Developing a Solr distribution
- 12.2. Deploying Solr
- 12.3. Hardware and server configuration
- 12.4. Data acquisition strategies
- 12.5. Sharding and replication
- 12.6. Solr core management
- 12.7. Managing clusters of servers
- 12.8. Querying and interacting with Solr
- 12.9. Monitoring Solr’s performance
- 12.10. Upgrading between Solr versions
- 12.11. Summary
-
Chapter 7. Performing queries and handling results
-
Part 3. Taking Solr to the next level
- Chapter 13. SolrCloud
- Chapter 14. Multilingual search
- Chapter 15. Complex query operations
-
Chapter 16. Mastering relevancy
- 16.1. The impact of relevancy tuning
- 16.2. Debugging the relevancy calculation
- 16.3. Relevancy boosting
- 16.4. Pluggable Similarity class implementations
- 16.5. Personalized search and recommendations
- 16.6. Creating a personalized search experience
- 16.7. Running relevancy experiments
- 16.8. Summary
- A.1. Pulling the right version of Solr
- A.2. Setting up Solr in your IDE
- A.3. Debugging Solr code
- A.4. Downloading and applying Solr patches
- A.5. Contributing patches
- C.1. Indexing Wikipedia
- C.2. Indexing Stack Exchange
- Appendix A. Working with the Solr codebase
- Appendix B. Language-specific field type configurations
- Appendix C. Useful data import configurations
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Solr in Action
- Author(s):
- Release date: March 2014
- Publisher(s): Manning Publications
- ISBN: 9781617291029
You might also like
book
Lucene in Action, Second Edition
When Lucene first appeared, this superfast search engine was nothing short of amazing. Today, Lucene still …
book
Elasticsearch: The Definitive Guide
Whether you need full-text search or real-time analytics of structured data—or both—the Elasticsearch distributed search engine …
book
Kafka in Action
Master the wicked-fast Apache Kafka streaming platform through hands-on examples and real-world projects. In Kafka in …
book
Stream Processing with Apache Flink
Get started with Apache Flink, the open source framework that powers some of the world’s largest …