About the Author
Rafa Ku is a born team leader and software developer. Right now, he holds the position of Software Architect, and Solr and Lucene specialist. He has eight years of experience in various software branches, from banking software to the e-commerce products. He is mainly focused on Java, but is open to every tool and programming language that will make the achievement of his goal easier and faster. Rafa is also one of the founders of the solr.pl
site where he tries to share his knowledge and help people with their problems with Solr and Lucene.
Rafa began his journey with Lucene in 2002 and it wasn't love at first sight. When he came back to Lucene in late 2003, he revised his thoughts about the framework and saw the potential in search technologies. Then Solr came and that was it. From then, Rafa has concentrated on search technologies and data analysis. Right now, Lucene and Solr are his main points of interest. Many Polish e-commerce sites use Solr deployments that were made with the guidance of Rafa and with the use of tools developed by him.
The writing of this book was a big thing for me. It took almost all of my free time for the last six months. Of course, this was my sacrifice and if I were to make that decision today, it would be the same. However, the ones that suffered from this the most was my family my wife Agnes and our son Philip. Without their patience for the always busy husband and father, the writing of this book wouldn't have been possible. Furthermore, the last drafts and corrections were made, when we were waiting for our daughter to be born, so it was even harder for them. I would like to thank all the people involved in creating, developing, and maintaining Lucene and Solr projects for their work and passion. Without them, this book wouldn't be written. Last, but not least, I would like to thank all the people who made the writing of this book possible, and who listened to my endless doubts and thoughts, especially Marek Rogoziski. Your point-of-view helped me a lot. I'm not able to mention you all, but you all know who you are. Once again, thank you.
About the Reviewers
Ravindra Bharathi holds a master's degree in Structural Engineering and started his career in the construction industry. He took up software development in 2001 and has since worked in domains such as education, digital media marketing/advertising, enterprise search, and energy management systems. He has a keen interest in search-based applications that involve data visualization, mashups, and dashboards. He blogs at http://ravindrabharathi.blogspot.com.
Juan Grande is an Informatics Engineering student at Universidad de Buenos Aires, Argentina. He has worked with Java-related technologies since 2005, when he started as web applications developer, gaining experience in technologies such as Struts, Hibernate, and Spring. Since 2010, he has worked as search consultant for Plug Tree. He also works as an undergraduate teaching assistant in programming-related subjects since 2006. His other topic of interest is experimental physics, where he has a paper published.
I want to acknowledge Plug Tree for letting me get involved in this project, and specially Toms Fernndez Lbbe for introducing me to the fascinating world of Solr.
www.PacktPub.com
Support files, eBooks, discount offers, and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at > for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.
Why Subscribe?
- Fully searchable across every book published by Packt
- Copy and paste, print and bookmark content
- On demand and accessible via web browser
Free Access for Packt account holders
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.
Preface
Welcome to the Solr cookbook. You will be taken on a tour through the most common problems when dealing with Apache Solr. You will learn how to deal with the problems with Solr configuration and setup, how to handle common querying problems, how to fine-tune Solr instances, how to write Solr extensions, and many more things. Every recipe is based on real-life problems, and each recipe includes solutions along with detailed descriptions of the configuration and code that was used.
What this book covers
, Apache Solr Configuration: In this chapter, you will see how to handle Solr configuration, such as setting up Solr on different servlet containers, how to set up single and multicore deployments, and how to use Solr with Apache Nutch.
, Indexing your Data: In this chapter, you will learn how to send your data in different formats, how to handle binary file format, and what can be done when using the Data Import Handler.