mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 18:38:41 +00:00
NOCONSOLE -> NOTCONSOLE in removal-of-types
This commit is contained in:
parent
1e1f8e6376
commit
f69decf509
@ -34,7 +34,7 @@ GET twitter/user,tweet/_search
|
||||
}
|
||||
}
|
||||
----
|
||||
// NOCONSOLE
|
||||
// NOTCONSOLE
|
||||
|
||||
The `_type` field was combined with the document's `_id` to generate a `_uid`
|
||||
field, so documents of different types with the same `_id` could exist in a
|
||||
@ -155,7 +155,7 @@ GET twitter/tweet/_search
|
||||
}
|
||||
}
|
||||
----
|
||||
// NOCONSOLE
|
||||
// NOTCONSOLE
|
||||
|
||||
You could achieve the same thing by adding a custom `type` field as follows:
|
||||
|
||||
@ -211,7 +211,7 @@ GET twitter/_search
|
||||
}
|
||||
}
|
||||
----
|
||||
// NOCONSOLE
|
||||
// NOTCONSOLE
|
||||
<1> The explicit `type` field takes the place of the implicit `_type` field.
|
||||
|
||||
[float]
|
||||
@ -358,7 +358,7 @@ POST _reindex
|
||||
}
|
||||
}
|
||||
----
|
||||
// NOCONSOLE
|
||||
// NOTCONSOLE
|
||||
|
||||
[float]
|
||||
==== Custom type field
|
||||
@ -415,5 +415,5 @@ POST _reindex
|
||||
}
|
||||
}
|
||||
----
|
||||
// NOCONSOLE
|
||||
// NOTCONSOLE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user