Skip to content

Commit

Permalink
Moved chapter titles to the intro pages so that the edit link links
Browse files Browse the repository at this point in the history
to the right page
  • Loading branch information
clintongormley committed Apr 14, 2014
1 parent 3156792 commit c6f07f4
Show file tree
Hide file tree
Showing 28 changed files with 58 additions and 57 deletions.
3 changes: 0 additions & 3 deletions 010_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[intro]]
== You know, for Search...

include::010_Intro/05_What_is_it.asciidoc[]

include::010_Intro/10_Installing_ES.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 010_Intro/05_What_is_it.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[intro]]
== You know, for Search...

Elasticsearch is a search engine built on top of
https://lucene.apache.org/core/[Apache Lucene(TM)] , a full-text search engine
library. Lucene is arguably the most advanced, performant and fully-featured
Expand Down
18 changes: 0 additions & 18 deletions 020_Distributed_Cluster.asciidoc
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
[[distributed-cluster]]
== Life inside a Cluster

.Supplemental Chapter
****
As mentioned earlier, this is the first of several ``supplemental'' chapters
about how Elasticsearch operates in a distributed environment. In this
chapter we explain commonly used terminology like _cluster_, _node_ and
_shard_, the mechanics of how Elasticsearch scales out, and how it deals with
hardware failure.
Although this chapter is not required reading -- you can use Elasticsearch for
a long time without worrying about shards, replication and failover -- it will
help you to understand the processes at work inside Elasticsearch. Feel free
to skim through the chapter and to refer to it again later.
****

include::020_Distributed_Cluster/00_Intro.asciidoc[]

Expand Down
19 changes: 19 additions & 0 deletions 020_Distributed_Cluster/00_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
[[distributed-cluster]]
== Life inside a Cluster

.Supplemental Chapter
****
As mentioned earlier, this is the first of several ``supplemental'' chapters
about how Elasticsearch operates in a distributed environment. In this
chapter we explain commonly used terminology like _cluster_, _node_ and
_shard_, the mechanics of how Elasticsearch scales out, and how it deals with
hardware failure.
Although this chapter is not required reading -- you can use Elasticsearch for
a long time without worrying about shards, replication and failover -- it will
help you to understand the processes at work inside Elasticsearch. Feel free
to skim through the chapter and to refer to it again later.
****

Elasticsearch is built to be always available, and to scale with your needs.
Scale can come from buying bigger servers (_vertical scale_ or _scaling up_)
or from buying more servers (_horizontal scale_ or _scaling out_).
Expand Down
3 changes: 3 additions & 0 deletions 030_Data/00_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[data-in-data-out]]
== Data in, data out

Whatever program we write, the intention is the same: to organize data in a
way that serves our purposes. But data doesn't consist just of random bits
and bytes. We build relationships between data elements in order to represent
Expand Down
3 changes: 0 additions & 3 deletions 030_Data_In_Data_Out.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[data-in-data-out]]
== Data in, data out

include::030_Data/00_Intro.asciidoc[]

include::030_Data/05_Document.asciidoc[]
Expand Down
3 changes: 0 additions & 3 deletions 040_Distributed_CRUD.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[distributed-docs]]
== Distributed document store

include::040_Distributed_CRUD/00_Intro.asciidoc[]

include::040_Distributed_CRUD/05_Routing.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 040_Distributed_CRUD/00_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[distributed-docs]]
== Distributed document store

In the last chapter, we looked at all the ways to put data into your index and
then retrieve it. But we glossed over many technical details surrounding how
the data is distributed and fetched from the cluster. This separation is done
Expand Down
3 changes: 0 additions & 3 deletions 050_Search.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[search]]
== Searching – the basic tools

include::050_Search/00_Intro.asciidoc[]

include::050_Search/05_Empty_search.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 050_Search/00_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[search]]
== Searching – the basic tools

So far, we have learned how to use Elasticsearch as a simple NoSQL-style
distributed document store -- we can throw JSON documents at Elasticsearch and
retrieve each one by ID. But the real power of Elasticsearch lies in its
Expand Down
3 changes: 0 additions & 3 deletions 052_Mapping_Analysis.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[mapping-analysis]]
== Mapping and analysis

include::052_Mapping_Analysis/25_Data_type_differences.asciidoc[]

include::052_Mapping_Analysis/30_Exact_vs_full_text.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 052_Mapping_Analysis/25_Data_type_differences.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[mapping-analysis]]
== Mapping and analysis

While playing around with the data in our index, we notice something odd.
Something seems to be broken: we have 12 tweets in our indices, and only one
of them contains the date `2014-09-15`, but have a look at the `total` hits
Expand Down
3 changes: 0 additions & 3 deletions 054_Query_DSL.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[full-body-search]]
== Full body search

include::054_Query_DSL/55_Request_body_search.asciidoc[]

include::054_Query_DSL/60_Query_DSL.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 054_Query_DSL/55_Request_body_search.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[full-body-search]]
== Full body search

Search _lite_ -- <<search-lite,query string search>> -- is useful for _ad
hoc_ queries from the command line. To harness the full power of search,
however, you should use the _request body_ `search` API, so called because
Expand Down
3 changes: 0 additions & 3 deletions 056_Sorting.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[sorting]]
== Sorting and relevance

include::056_Sorting/85_Sorting.asciidoc[]

include::056_Sorting/88_String_sorting.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 056_Sorting/85_Sorting.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[sorting]]
== Sorting and relevance

By default, results are returned sorted by _relevance_ -- with the most
relevant docs first. Later in this chapter we will explain what we mean by
_relevance_ and how it is calculated, but let's start by looking at the `sort`
Expand Down
3 changes: 0 additions & 3 deletions 060_Distributed_Search.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[distributed-search]]
== Distributed search execution

include::060_Distributed_Search/00_Intro.asciidoc[]

include::060_Distributed_Search/05_Query_phase.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 060_Distributed_Search/00_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[distributed-search]]
== Distributed search execution

Before moving on, we are going to take a detour and talk about how search is
executed in a distributed environment. It is a bit more complicated than the
basic _create-read-update-delete_ (CRUD) requests that we discussed in
Expand Down
3 changes: 0 additions & 3 deletions 080_Structured_Search.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[structured-search]]
== Structured search

include::080_Structured_Search/00_structuredsearch.asciidoc[]

include::080_Structured_Search/05_term.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 080_Structured_Search/00_structuredsearch.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[structured-search]]
== Structured search

Structured search is about interrogating data that has inherent structure.
Dates, times and numbers are all structured -- they have a precise format
that you can perform logical operations on. Common operations include
Expand Down
3 changes: 0 additions & 3 deletions 100_Full_Text_Search.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[full-text-search]]
== Full text search

include::100_Full_Text_Search/00_Intro.asciidoc[]

include::100_Full_Text_Search/05_Match_query.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 100_Full_Text_Search/00_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[full-text-search]]
== Full text search

Now that we have covered the simple case of searching for structured data,
it is time to explore _full text search_ -- how to search within full
text fields in order to find the most relevant documents.
Expand Down
3 changes: 0 additions & 3 deletions 110_Multi_Field_Search.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[multi-field-search]]
== Multi-field search

include::110_Multi_Field_Search/00_Intro.asciidoc[]

include::110_Multi_Field_Search/05_Multiple_query_strings.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 110_Multi_Field_Search/00_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[multi-field-search]]
== Multi-field search

Queries are seldom simple one-clause `match` queries. We frequently need to
search for the same or different query strings in one or more fields, which
means that we need to be able to combine multiple query clauses and their
Expand Down
3 changes: 0 additions & 3 deletions 120_Proximity_Matching.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[proximity-matching]]
== Proximity matching

include::120_Proximity_Matching/00_Intro.asciidoc[]

include::120_Proximity_Matching/05_Phrase_matching.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 120_Proximity_Matching/00_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[proximity-matching]]
== Proximity matching

Standard full text search with TF/IDF treats documents, or at least each field
within a document, as a big _bag of words_. The `match` query can tell us if
that bag contains our search terms or not, but that is only part of the story.
Expand Down
3 changes: 0 additions & 3 deletions 130_Partial_Matching.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[[partial-matching]]
== Partial matching

include::130_Partial_Matching/00_Intro.asciidoc[]

include::130_Partial_Matching/05_Postcodes.asciidoc[]
Expand Down
3 changes: 3 additions & 0 deletions 130_Partial_Matching/00_Intro.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[[partial-matching]]
== Partial matching

A keen observer will notice that all the queries so far in this book have
operated on whole terms. To match something, the smallest ``unit'' had to be a
single term -- you can only find terms that exist in the inverted index.
Expand Down

0 comments on commit c6f07f4

Please sign in to comment.