From e8ce4b99d615026aab23fcf5b5d453467538b947 Mon Sep 17 00:00:00 2001 From: Alan Bernstein Date: Mon, 14 May 2018 18:18:09 -0500 Subject: [PATCH] Clarify PDK schema table --- docs/pdk.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/pdk.md b/docs/pdk.md index c7c990c27..2ca4b6ee8 100644 --- a/docs/pdk.md +++ b/docs/pdk.md @@ -38,19 +38,19 @@ the record to arrive at that field. For example: This JSON object would result in the following Pilosa schema: -| Name | Field | Type | Size/Min | Max | -|----------------|-----------|--------|----------|------------| -| name | | ranked | 100000 | | -| favorite_foods | | ranked | 100000 | | -| default | | Ranked | 100000 | | -| | age | int | 0 | 2147483647 | -| location | | ranked | 1000 | | -| | latitude | int | 0 | 2147483647 | -| | longitude | int | 0 | 2147483647 | -| location-city | | ranked | 100000 | | -| location-state | | ranked | 100000 | | +| Name | Field | Type | Min | Max | Size | +|----------------|-----------|--------|-----|------------|--------| +| name | | ranked | | | 100000 | +| favorite_foods | | ranked | | | 100000 | +| default | | ranked | | | 100000 | +| | age | int | 0 | 2147483647 | | +| location | | ranked | | | 1000 | +| | latitude | int | 0 | 2147483647 | | +| | longitude | int | 0 | 2147483647 | | +| location-city | | ranked | | | 100000 | +| location-state | | ranked | | | 100000 | -All frames are created as ranked frames by default, and fields are created with +All frames are created as ranked frames by default, with the cache size listed above. Fields are created with a minimum size of zero and a fixed maximum of 2147483647. Fields at the top level are created in the default frame. Frames are a dash-separated concatenation of all key values in the path - you can see this with frames like location-city.