en
Книги
Jayant Kumar

Apache Solr Search Patterns

Apache Solr is an open source search platform built on a Java library called Lucene. It serves as a search platform for many websites, as it has the capability of indexing and searching multiple websites to fetch desired results.We begin with a brief introduction of analyzers and tokenizers to understand the challenges associated with implementing large-scale indexing and multilingual search functionality. We then move on to working with custom queries and understanding how filters work internally. While doing so, we also create our own query language or Solr plugin that does proximity searches. Furthermore, we discuss how Solr can be used for real-time analytics and tackle problems faced during its implementation in e-commerce search. We then dive deep into the spatial features such as indexing strategies and search/filtering strategies for a spatial search. We also do an in-depth analysis of problems faced in an ad serving platform and how Solr can be used to solve these problems.
450 печатни страници
Година на публикуване
2015
Издател
Packt Publishing
Вече чели ли сте я? Какво мислите за нея?
👍👎

Цитати

  • Peter Gazaryanцитирапреди 8 години
    What does the clause DisjunctionMaxQuery((text:ipod | name:ipod^2.0)) do? Here we search for ipod in the fields text and name and find the score in both the cases, that is the scores for ipod in text and ipod in name, and return the maximum of these two scores as the output of the DisjunctionMaxQuery clause. Why do we return the maximum score? Why not take the sum and return that as the score? Suppose, we are searching for usb charger in two fields, name and description. If we take the sum, then a document that has usb charger in the name and not in the description will have the same score as another document that has usb in both name and description but charger nowhere in these fields.
fb2epub
Плъзнете и пуснете файловете си (не повече от 5 наведнъж)