1.

Record Nr.

UNINA9910790914803321

Autore

Kuć Rafał

Titolo

Elasticsearch server : a practical guide to building fast, scalable, and flexible search solutions with clear and easy-to-understand examples / / Rafał Kuć, Marek Rogoziński ; cover image by Kannan P. M. Palanisamy

Pubbl/distr/stampa

Birmingham, England : , : Packt Publishing, , 2014

©2014

ISBN

1-78398-053-2

Edizione

[Second edition.]

Descrizione fisica

1 online resource (428 p.)

Collana

Community Experience Distilled

Disciplina

005.365

Soggetti

Application software

Client/server computing

Computer science

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the Author; Acknowledgments; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started With the Elasticsearch Cluster; Full text searching; The Lucene glossary and architecture; Input data analysis; Indexing and querying; Scoring and query relevance; The basics of Elasticsearch; Key concepts of data architecture; Index; Document; Document type; Mapping; Key concepts of Elasticsearch; Node and cluster; Shard; Replica; Gateway; Indexing and searching; Installing and configuring your cluster

Installing JavaInstalling Elasticsearch; Installing Elasticsearch from binary packages on Linux; Installing Elasticsearch using the RPM package; Installing Elasticsearch using the DEB package; The directory layout; Configuring Elasticsearch; Running Elasticsearch; Shutting down Elasticsearch; Running Elasticsearch as a system service; Elasticsearch as a system service on Linux; Elasticsearch as a system service on Windows; Manipulating data with the REST API; Understanding the Elasticsearch RESTful API; Storing data in Elasticsearch; Creating a new document; Automatic identifier creation



Retrieving documentsUpdating documents; Deleting documents; Versioning; An example of versioning; Using the version provided by external system; Searching with the URI request query; Sample data; The URI request; The ElasticSearch query response; Query analysis; URI query string parameters; The Lucene query syntax; Summary; Chapter 2: Indexing Your Data; Elasticsearch indexing; Shards and replicas; Creating indices; Altering automatic index creation; Settings for a newly created index; Mappings configuration; Type determining mechanism; Disabling field type guessing; Index structure mapping

Type definitionFields; Core types; Multifields; The IP address type; Token count type; Using analyzers; Different similarity models; Setting per-field similarity; Available similarity models; Postings format; Configuring the postings format; Doc values; Configuring the doc values; Doc values formats; Batch indexing to speed up your indexing process; Preparing data for bulk indexing; Indexing the data; Even quicker bulk requests; Extending your index structure with additional internal information; Identifier fields; The _type field; The _all field; The _source field; Exclusion and inclusion

The _index fieldThe _size field; The _timestamp field; The _ttl field; Introduction to segment merging; Segment merging; The need for segment merging; The merge policy; The merge scheduler; The merge factor; Throttling; Introduction to routing; Default indexing; Default searching; Routing; The routing parameters; Routing fields; Summary; Chapter 3: Searching Your Data; Querying Elasticsearch; The example data; A simple query; Paging and result size; Returning the version value; Limiting the score; Choosing the fields that we want to return; The partial fields; Using the script fields

Passing parameters to the script fields

Sommario/riassunto

This book is a detailed, practical, hands-on guide packed with real-life scenarios and examples which will show you how to implement an ElasticSearch search engine on your own websites.If you are a web developer or a user who wants to learn more about ElasticSearch, then this is the book for you. You do not need to know anything about ElastiSeach, Java, or Apache Lucene in order to use this book, though basic knowledge about databases and queries is required.