README.md in embulk-input-elasticsearch-0.3.4 vs README.md in embulk-input-elasticsearch-0.3.5
- old
+ new
@@ -17,10 +17,12 @@
- **request_timeout**: request timeout (integer)
- **per_size**: per size query. (integer, required, default: `1000`)
- **limit_size**: limit size unit query. (integer, default: unlimit)
- **num_threads**: number of threads for queries. (integer, default: 1)
- **retry_on_failure**: retry on failure. set 0 is retry forever. (integer, default: 5)
+- **sort**: sort order. (hash, default: nil)
+- **scroll**: scroll. to keep the search context. (string, default: '1m')
- **fields**: fields (array, required)
- **name**: name (string, required)
- **type**: type (string, required)
- **metadata**: metadata (boolean, default: false)
- **time_format**: time_format (string)
@@ -39,9 +41,12 @@
index_type: m_corporation_page
request_timeout: 60
per_size: 1000
limit_size: 200000
num_threads: 2
+ sort:
+ m_corporation_id: desc
+ employee_range: asc
fields:
- { name: _id, type: string, metadata: true }
- { name: _type, type: string, metadata: true }
- { name: _index, type: string, metadata: true }
- { name: _score, type: double, metadata: true }