1.

Record Nr.

UNINA9910465386203321

Autore

Kuć Rafał

Titolo

Elasticsearch server [[electronic resource] ] : create a fast, scalable, and flexible search solution with the emerging open source search server, ElasticSearch / / Rafał Kuć, Marek Rogoziński

Pubbl/distr/stampa

Birmingham, : Packt Pub., 2013

ISBN

1-62198-908-9

1-299-26139-6

1-84951-845-9

Edizione

[1st edition]

Descrizione fisica

1 online resource (318 p.)

Collana

Community experience distilled

Altri autori (Persone)

RogozińskiMarek

Disciplina

006.7

Soggetti

Application software

Electronic books.

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the Authors; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with ElasticSearch Cluster; What is ElasticSearch?; Index; Document; Document type; Node and cluster; Shard; Replica; Installing and configuring your cluster; Directory structure; Configuring ElasticSearch; Running ElasticSearch; Shutting down ElasticSearch; Running ElasticSearch as a system service; Data manipulation with REST API; What is REST?; Storing data in ElasticSearch; Creating a new document; Retrieving documents

Updating documentsDeleting documents; Manual index creation and mappings configuration; Index; Types; Index manipulation; Schema mapping; Type definition; Fields; Core types; Multi fields; Using analyzers; Storing a document source; All field; Dynamic mappings and templates; Type determining mechanism; Dynamic mappings; Templates; Storing templates in files; When routing does matter; How does indexing work?; How does searching work?; Routing; Routing parameters; Routing fields; Index aliasing and simplifying your everyday work using it; An alias; Creating an alias; Modifying aliases

Combining commandsRetrieving all aliases; Filtering aliases; Aliases and routing; Summary; Chapter 2: Searching Your Data; Understanding



the querying and indexing process; Mappings; Data; Querying ElasticSearch; Simple query; Paging and results size; Returning the version; Limiting the score; Choosing fields we want to return; Partial fields; Using script fields; Passing parameters to script fields; Choosing the right search type (advanced); Search execution preference (advanced); Basic queries; The term query; The terms query; The match query; The Boolean match query; The phrase match query

The match phrase prefix queryThe multi match query; The query string query; Lucene query syntax; Explaining the query string; Running query string query against multiple fields; The field query; The identifiers query; The prefix query; The fuzzy like this query; The fuzzy like this field query; The fuzzy query; The match all query; The wildcard query; The more like this query; The more like this field query; The range query; Query rewrite; Filtering your results; Using filters; Range filters; Exists; Missing; Script; Type; Limit; IDs; If this is not enough; bool, and, or, not filters

Named filtersCaching filters; Compound queries; The bool query; The boosting query; The constant score query; The indices query; The custom filters score query; The custom boost factor query; The custom score query; Sorting data; Default sorting; Selecting fields used for sorting; Specifying behavior for missing fields; Dynamic criteria; Collation and national characters; Using scripts; Available objects; MVEL; Other languages; Script library; Native code; Summary; Chapter 3: Extending Your Structure and Search; Indexing data that is not flat; Data; Objects; Arrays; Mappings; Final mappings

To be or not to be dynamic

Sommario/riassunto

This book is written in friendly, practical style with numerous hands-on examples and tutorials throughout.This book is written for developers who wish to leverage ElasticSearch to create a fast and flexible search solution. If you are looking to learn ElasticSearch or become more proficient then this book is for you. You do not need know anything about ElasticSeach, Java, or Apache Lucene in order to use this book, though basic knowledge about databases and queries is required.