更新时间:2021-08-06 19:23:33
coverpage
ElasticSearch Cookbook Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started
Introduction
Understanding nodes and clusters
Understanding node services
Managing your data
Understanding clusters replication and sharding
Communicating with ElasticSearch
Using the HTTP protocol
Using the native protocol
Using the Thrift protocol
Chapter 2. Downloading and Setting Up
Downloading and installing ElasticSearch
Setting up networking
Setting up a node
Setting up for Linux systems
Setting up different node types
Installing plugins in ElasticSearch
Installing a plugin manually
Removing a plugin
Changing logging settings
Chapter 3. Managing Mapping
Using explicit mapping creation
Mapping base types
Mapping arrays
Mapping an object
Mapping a document
Using dynamic templates in document mapping
Managing nested objects
Managing a child document
Adding a field with multiple mappings
Mapping a geo point field
Mapping a geo shape field
Mapping an IP field
Mapping an attachment field
Adding metadata to a mapping
Specifying a different analyzer
Mapping a completion suggester
Chapter 4. Basic Operations
Creating an index
Deleting an index
Opening/closing an index
Putting a mapping in an index
Getting a mapping
Deleting a mapping
Refreshing an index
Flushing an index
Optimizing an index
Checking if an index or type exists
Managing index settings
Using index aliases
Indexing a document
Getting a document
Deleting a document
Updating a document
Speeding up atomic operations (bulk operations)
Speeding up GET operations (multi GET)
Chapter 5. Search Queries and Filters
Executing a search
Sorting results
Highlighting results
Executing a scan query
Suggesting a correct query
Counting matched results
Deleting by query
Matching all the documents
Querying/filtering for a single term
Querying/filtering for multiple terms
Using a prefix query/filter
Using a Boolean query/filter
Using a range query/filter
Using span queries
Using a match query
Using an ID query/filter
Using a has_child query/filter
Using a top_children query
Using a has_parent query/filter
Using a regexp query/filter
Using a function score query
Using exists and missing filters
Using and/or/not filters