You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analyzed string fields are also multivalue fields,((("strings", "sorting on string fields")))((("analyzed fields", "string fields")))((("sorting", "string sorting and multifields"))) but sorting on them seldom
5
-
gives you the results you want. If you analyze a string like `fine old art`,
6
-
it results in three terms. We probably want to sort alphabetically on the
7
-
first term, then the second term, and so forth, but Elasticsearch doesn't have this
8
-
information at its disposal at sort time.
9
4
10
-
You could use the `min` and `max` sort modes (it uses `min` by default), but
11
-
that will result in sorting on either `art` or `old`, neither of which was the
12
-
intent.
5
+
被解析的字符串字段也是多值字段,((("strings", "sorting on string fields")))((("analyzed fields", "string fields")))((("sorting", "string sorting and multifields"))) 但是很少会按照你想要的方式进行排序。如果你想分析一个字符串,如 `fine old art` ,
But storing the same string twice in the `_source` field is waste of space.
23
-
What we really want to do is to pass in a _single field_ but to _index it in two different ways_. All of the _core_ field types (strings, numbers,
24
-
Booleans, dates) accept a `fields` parameter ((("mapping (types)", "transforming simple mapping to multifield mapping")))((("types", "core simple field types", "accepting fields parameter")))((("fields parameter")))((("multifield mapping")))that allows you to transform a
0 commit comments