gianm commented on a change in pull request #10695:
URL: https://github.com/apache/druid/pull/10695#discussion_r553758074



##########
File path: docs/querying/multi-value-dimensions.md
##########
@@ -25,7 +25,7 @@ title: "Multi-value dimensions"
 
 Apache Druid supports "multi-value" string dimensions. These are generated 
when an input field contains an
 array of values instead of a single value (e.g. JSON arrays, or a TSV field 
containing one or more `listDelimiter`
-characters).
+characters), by default Druid ingests the values in alphabetical order, see 
[Dimension Objects](../ingestion/index.md#dimension-objects) for configuration.

Review comment:
       This is a run on sentence. Please replace the comma with a period and 
split up the sentences.

##########
File path: docs/ingestion/index.md
##########
@@ -480,6 +480,7 @@ Dimension objects can have the following components:
 | type | Either `string`, `long`, `float`, or `double`. | `string` |
 | name | The name of the dimension. This will be used as the field name to 
read from input records, as well as the column name stored in generated 
segments.<br><br>Note that you can use a [`transformSpec`](#transformspec) if 
you want to rename columns during ingestion time. | none (required) |
 | createBitmapIndex | For `string` typed dimensions, whether or not bitmap 
indexes should be created for the column in generated segments. Creating a 
bitmap index requires more storage, but speeds up certain kinds of filtering 
(especially equality and prefix filtering). Only supported for `string` typed 
dimensions. | `true` |
+| multiValueHandling | Specify the type of handling for multi-value fields. 
Possible values are `sorted_array`, `sorted_set`, and `array`. `sorted_array` 
and `sorted_set` order the array upon ingestion. `sorted_set` removes 
duplicates. `array` ingests data as-is | `sorted_array` |

Review comment:
       It'd be nice to link "multi-value fields" to the 
`../querying/multi-value-dimensions.md` doc, so these two pages cross-link to 
each other.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to