Solr Cookbook - Third Edition
eBook - ePub

Solr Cookbook - Third Edition

Rafal Kuc

Condividi libro
  1. 356 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Solr Cookbook - Third Edition

Rafal Kuc

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Solr Cookbook - Third Edition è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Solr Cookbook - Third Edition di Rafal Kuc in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Web Development. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
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...

Indice dei contenuti