Tipe bidang
Field type | Description | Supports multiple values | Supports forward index | This can be used for the summary index. | It can be used for inverted indexes. |
TEXT | Tipe teks | No | No | Yes | Yes |
STRING | Tipe string | Yes | Yes | Yes | Yes |
INT8 | Integer bertanda 8-bit | Yes | Yes | Yes | Yes |
UINT8 | Integer tak bertanda 8-bit | Yes | Yes | Yes | Yes |
INT16 | Integer bertanda 16-bit | Yes | Yes | Yes | Yes |
UINT16 | Integer tak bertanda 16-bit | Yes | Yes | Yes | Yes |
INTEGER | Integer bertanda 32-bit | Yes | Yes | Yes | Yes |
UINT32 | Integer tak bertanda 32-bit | Yes | Yes | Yes | Yes |
INT64 | Integer bertanda 64-bit | Yes | Yes | Yes | Yes |
UINT64 | Integer tak bertanda 64-bit | Yes | Yes | Yes | Yes |
FLOAT | Floating-point 32-bit (float) | Yes | Yes | Yes | No |
DOUBLE | Floating-point 64-bit (double) | Yes | Yes | Yes | No |
LOCATION | Titik. Menyimpan bujur dan lintang suatu titik. | Yes | Yes | Yes | Yes |
LINE | Garis. Menyimpan bujur dan lintang titik-titik pada polyline. Nilai pertama adalah jumlah titik. | Yes | Yes | Yes | Yes |
POLYGON | Poligon. Kombinasi dari polyline. Menyimpan bujur dan lintang simpul-simpul. Untuk setiap polyline, nilai pertama adalah jumlah titik. | Yes | Yes | Yes | Yes |
DATE | Tipe tanggal | No | No | Yes | Yes |
TIME | Tipe waktu | No | No | Yes | Yes |
TIMESTAMP | Tipe timestamp. {DATE} {TIME} [TIMEZONE (opsional)] | No | No | Yes | Yes |
Anda harus menentukan alat analisis untuk bidang TEXT dalam konfigurasi skema.
LOCATION: location=LON LAT. Contoh: location=116 40.
LINE: line=location,location,location...^]location,location... Contoh: line=116 40,117 41,118 42^]...
POLYGON: polygon=location1,location2,...location1^]...
DATE: Formatnya adalah tahun-bulan-hari. Contoh: 2020-08-19.
TIME: Formatnya adalah jam:menit:detik[.milliDetik]. Contoh: 11:40:00.234 atau 12:00:00.
TIMESTAMP: Formatnya adalah {DATE} {TIME} [TIMEZONE]. Contoh: 2020-08-19 11:40:00.234 atau 2020-08-19 11:40:00.234 +0800. Parameter TIMEZONE bersifat opsional. Zona waktu default adalah GMT/UTC dan dapat dikonfigurasi.