Solr Cookbook - Third Edition
eBook - ePub

Solr Cookbook - Third Edition

Rafal Kuc

Compartir libro
  1. 356 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Solr Cookbook - Third Edition

Rafal Kuc

Detalles del libro
Vista previa del libro
Índice
Citas

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Solr Cookbook - Third Edition un PDF/ePUB en línea?
Sí, puedes acceder a Solr Cookbook - Third Edition de Rafal Kuc en formato PDF o ePUB, así como a otros libros populares de Computer Science y Web Development. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2015
ISBN
9781783553150

Solr Cookbook Third Edition


Table of Contents

Solr Cookbook Third Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Apache Solr Configuration
Introduction
Running Solr on a standalone Jetty
Getting ready
How to do it...
How it works...
There's more...
I want Jetty to run on a different port
Buffer size is too small
Installing ZooKeeper for SolrCloud
Getting ready
How to do it...
How it works...
Migrating configuration from master-slave to SolrCloud
Getting ready
How to do it...
How it works...
Choosing the proper directory configuration
How to do it...
How it works...
Configuring the Solr spellchecker
How to do it...
How it works...
There's more...
More than one spellchecker
Using Solr in a schemaless mode
How to do it...
How it works...
Limiting I/O usage
Getting ready
How to do it...
How it works...
Using core discovery
How to do it...
How it works...
There's more...
Configuring SolrCloud for NRT use cases
How to do it...
How it works...
Configuring SolrCloud for high-indexing use cases
Getting ready
How to do it...
How it works...
Configuring SolrCloud for high-querying use cases
Getting ready
How to do it...
How it works...
Configuring the Solr heartbeat mechanism
How to do it...
How it works...
There's more...
Enabling and disabling the heartbeat mechanism
Changing similarity
Getting ready
How to do it...
How it works...
There's more...
Changing the global similarity
2. Indexing Your Data
Introduction
Indexing PDF files
How to do it...
How it works...
Counting the number of fields
How to do it...
How it works...
Using parsing update processors to parse data
Getting ready
How to do it...
How it works...
See also
Using scripting update processors to modify documents
Getting ready
How to do it...
How it works...
See also
Indexing data from a database using Data Import Handler
How to do it...
How it works...
There's more...
How to change the default behavior of deleting index contents at the beginning of a full import
Incremental imports with DIH
Getting ready
How to do it...
How it works...
See also
Transforming data when using DIH
Getting ready
How to do it...
How it works...
There's more...
Using scripts other than JavaScript
Indexing multiple geographical points
How to do it...
How it works...
See also
Updating document fields
How to do it...
How it works...
Detecting the document language during indexation
How to do it...
How it works...
There's more...
Language identification based on Apache Tika
Optimizing the primary key indexation
How to do it...
How it works...
See also
Handling multiple currencies
How to do it...
How it works...
There's more...
Setting up your own currency provider
3. Analyzing Your Text Data
Introduction
Using the enumeration type
How to do it...
How it works...
Removing HTML tags during indexing
How to do it...
How it works...
There's more...
Preserving defined tags
See also
Storing data outside of Solr index
How to do it...
How it works...
Using synonyms
How to do it...
How it works...
There's more...
Equivalent synonyms setup
See also
Stemming different languages
How to do it...
How it works...
There's more...
Using nonaggressive stemmers
How to do it...
How it works...
There's more...
Using the n-gram approach to do performant trailing wildcard searches
How to do it...
How it works...
Using position increment to divide sentences
How to do it...
How it works...
Using patterns to replace tokens
How to do it...
How it works...
There's more...
Using solr.PatternReplaceCharFilterFactory
4. Querying Solr
Introduction
Understanding and using the Lucene query language
How to do it...
How it works...
See also
Using position aware queries
How to do it...
How it works...
There's more...
Too many generated queries
Using boosting with autocomplete
How to do it...
How it works...
Phrase queries with shingles
How to do it...
How it works...
See also
Handling user queries without errors
Getting ready
How to do it...
How it works...
See also
Handling hierarchies with nested documents
How to do it...
How it works...
There's more...
Returning children documents in the query
Sorting data on the basis of a function value
How to do it...
How it works...
Controlling the number of terms needed to match
Getting ready
How to do it...
How it works...
See also
Affecting document score using function queries
How to do it...
How it works...
See also
Using simple nested queries
How to do it...
How it works...
Using the Solr document query join functionality
How to do it...
How it works...
Handling typos with n-grams
How to do it...
How it works...
Rescoring query results
How to do it...
How it works...
5. Faceting
Introduction
Getting the number of documents with the same field value
How to do it...
How it works...
There's more...
How to show facets with counts greater than zero
Lexicographical sorting of the faceting results
Getting the number of documents with the same value range
How to do it...
How it works...
Getting the number of documents matching the query and subquery
How to do it...
How it works...
Removing filters from faceting results
Getting ready
How to do it...
How it works...
Using decision tree faceting
How to do it...
How it works...
Calculating faceting for relevant documents in groups
Getting ready
How to do it...
How it works...
Improving faceting performance for low cardinality fields
Getting ready
How to do it...
How it works...
There's more...
Using per segment field cache for faceting calculation
Specifying the number of faceting threads
6. Improving Solr Performance
Introduction
Handling deep paging efficiently
How to do it...
How it works...
See also
Configuring the document cache
Getting ready
How to do it...
How it works...
Configuring the query result cache
Getting ready
How to do it...
How it works...
Configuring the filter cache
Getting ready
How to do it...
How it works...
Improving Solr query performance after the start and commit operations
How to do it...
How it works...
There's more...
Improving Solr performance after committing operations
Lowering the memory consumption of faceting and sorting
How to do it...
How it works...
Speeding up indexing with Solr segment merge tuning
How to do it...
How it works...
There's more...
Increasing the RAM buffer size to improve the indexing throughput
Speeding up querying with merge policy tuning
See also
Avoiding caching of rare filters to improve the performance
How to do it...
How it works...
Controlling the filter execution to improve expensive filter performance
Getting ready
How to do it...
How it works...
Configuring numerical fields for high-perfo...

Índice