更新时间:2021-04-02 10:10:30
coverpage
ElasticSearch Cookbook
Credits
About the Author
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
Conventions
Reader feedback
Customer support
Chapter 1. Getting Started
Introduction
Understanding node and cluster
Understanding node services
Managing your data
Understanding cluster replication and sharding
Communicating with ElasticSearch
Using the HTTP protocol
Using the Native protocol
Using the Thrift protocol
Chapter 2. Downloading and Setting Up ElasticSearch
Downloading and installing ElasticSearch
Networking setup
Setting up a node
Setting up ElasticSearch for Linux systems (advanced)
Setting up different node types (advanced)
Installing a plugin
Installing a plugin manually
Removing a plugin
Changing logging settings (advanced)
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
Mapping a multifield
Mapping a GeoPoint field
Mapping a GeoShape field
Mapping an IP field
Mapping an attachment field
Adding generic data to mapping
Mapping different analyzers
Chapter 4. Standard 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)
Speeding up GET
Chapter 5. Search Queries and Filters
Executing a search
Sorting a search
Highlighting results
Executing a scan query
Suggesting a correct query
Counting
Deleting by query
Matching all the documents
Querying/filtering for term
Querying/filtering for terms
Using a prefix query/filter
Using a Boolean query/filter
Using a range query/filter
Using span queries
Using the match query
Using the IDS query/filter
Using the has_child query/filter
Using the top_children query
Using the has_parent query/filter
Using a regexp query/filter
Using exists and missing filters
Using and/or/not filters
Using the geo_bounding_box filter
Using the geo_polygon filter
Using the geo_distance filter
Chapter 6. Facets