Skip to content

Commit a133186

Browse files
spot check lift-and-shift pages in the text analysis section
1 parent f3018ee commit a133186

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

manage-data/data-store/text-analysis/index-search-analysis.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,17 @@ Index time
1111
: When a document is indexed, any [`text`](https://www.elastic.co/guide/en/elasticsearch/reference/current/text.html) field values are analyzed.
1212

1313
Search time
14-
: When running a [full-text search](https://www.elastic.co/guide/en/elasticsearch/reference/current/full-text-queries.html) on a `text` field, the query string (the text the user is searching for) is analyzed.
15-
16-
Search time is also called *query time*.
14+
: When running a [full-text search](https://www.elastic.co/guide/en/elasticsearch/reference/current/full-text-queries.html) on a `text` field, the query string (the text the user is searching for) is analyzed. Search time is also called *query time*.
1715

16+
For more details on text analysis at search time, refer to [Text analysis during search](/solutions/search/full-text/text-analysis-during-search.md).
1817

1918
The analyzer, or set of analysis rules, used at each time is called the *index analyzer* or *search analyzer* respectively.
2019

2120
## How the index and search analyzer work together [analysis-same-index-search-analyzer]
2221

2322
In most cases, the same analyzer should be used at index and search time. This ensures the values and query strings for a field are changed into the same form of tokens. In turn, this ensures the tokens match as expected during a search.
2423

25-
::::{dropdown} **Example**
24+
::::{dropdown} Example
2625
A document is indexed with the following value in a `text` field:
2726

2827
```text
@@ -79,7 +78,7 @@ While less common, it sometimes makes sense to use different analyzers at index
7978

8079
Generally, a separate search analyzer should only be specified when using the same form of tokens for field values and query strings would create unexpected or irrelevant search matches.
8180

82-
::::{dropdown} **Example**
81+
::::{dropdown} Example
8382
:name: different-analyzer-ex
8483

8584
{{es}} is used to create a search engine that matches only words that start with a provided prefix. For instance, a search for `tr` should return `tram` or `trope`—but never `taxi` or `bat`.

manage-data/data-store/text-analysis/token-graphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ In the following graph, `domain name system` and its synonym, `dns`, both have a
5050

5151
However, queries, such as the [`match`](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html) or [`match_phrase`](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query-phrase.html) query, can use these graphs to generate multiple sub-queries from a single query string.
5252

53-
:::::{dropdown} **Example**
53+
:::::{dropdown} Example
5454
A user runs a search for the following phrase using the `match_phrase` query:
5555

5656
`domain name system is fragile`

0 commit comments

Comments
 (0)