In today's digital enterprise world, every business has complex search requirements. With big data coming into the picture, the volume of data on which search filters have to be applied has massively increased. It becomes absolutely crucial to have an enterprise search platform that caters to your enterprise application.
Solr is a leading open source Java-based enterprise search platform that has been adopted by many organizations. It offers a plethora of features, such as handling rich documents, faceted search, and full-text searching, to name a few.
With the recent release of Solr 7, the arsenal of features that Solr provides has widened. We hope that this book will provide you with everything you need to not only learn but also master the various features and functionalities that Solr provides. We believe you will enjoy reading this as much as we did writing it. Happy learning!
This book is for anyone who wants to not only learn Solr 7.0 but also understand various advanced concepts of Solr. You'll learn why you should search on an enterprise search platform like Solr by the time you finish this book.
Chapter 1, Introduction to Solr 7, gets you acquainted with what Solr is all about and explains why you should use Solr.
Chapter 2, Getting Started, shows you how to set up Solr and how everything is laid out under the Solr umbrella.
Chapter 3, Designing Schemas, takes us through schema design using the schema API and gives an understanding of schemaless mode.
Chapter 4, Mastering Text Analysis Methodologies, shows us features related to text analysis, tokenizers, filters, and analyzers.
Chapter 5, Data Indexing and Operations, teaches us how to use the client API to do indexing. We also learn about index handlers.
Chapter 6, Advanced Queries – Part I, looks at querying Solr, velocity search UI, relevance, query parsing, faceting, and highlighting.
Chapter 7, Advanced Queries – Part II, continues where the last chapter ended. We go through suggester, pagination, result grouping, clustering, and spatial search.
Chapter 8, Managing and Fine-Tuning Solr, shows how to make Solr ready for production.
Chapter 9, Client APIs – An Overview, gives an overview of the various APIs that are available for JavaScript, Ruby, Python, and Java to interact with Solr.
- It would be great if you know a bit of Java, but it is not mandatory as this book will teach you from the ground up
You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.
You can download the code files by following these steps:
- Log in or register at www.packtpub.com.
- Select the
SUPPORT
tab. - Click on
Code Downloads & Errata
. - Enter the name of the book in the
Search
box and follow the onscreen instructions.
Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:
- WinRAR/7-Zip for Windows
- Zipeg/iZip/UnRarX for Mac
- 7-Zip/PeaZip for Linux
The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Mastering-Apache-Solr-7x. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://www.packtpub.com/sites/default/files/downloads/MasteringApacheSolr7x_ColorImages.pdf.
There are a number of text conventions used throughout this book.
CodeInText
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Also, the PATH
variable should point to JRE 1.8."
A block of code is set as follows:
<requestHandler name="/dataimport" class="solr.DataImportHandler"> <lst name="defaults"> <str name="config">db-data-config.xml</str> </lst> </requestHandler>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<field column="category_id" name="category_id" /> <field column="category_name" name="category_name" /> <field column="remarks" name="remarks" />
Any command-line input or output is written as follows:
brew install solr solr start
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Go to the Query screen; at the bottom, click on
"facet
.
Feedback from our readers is always welcome.
General feedback: Email [email protected]
and mention the book title in the subject of your message. If you have questions about any aspect of this book, please email us at [email protected]
.
Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details.
Piracy: If you come across any illegal copies of our works in any form on the Internet, we would be grateful if you would provide us with the location address or website name. Please contact us at [email protected]
with a link to the material.
If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit authors.packtpub.com.
Please leave a review. Once you have read and used this book, why not leave a review on the site that you purchased it from? Potential readers can then see and use your unbiased opinion to make purchase decisions, we at Packt can understand what you think about our products, and our authors can see your feedback on their book. Thank you!
For more information about Packt, please visit packtpub.com.