Python (32-bit) must be installed on the Voyager Server machine. Ideally, the Python version should be 2.7.
DO NOT USE EARLIER VERSIONS OF PYTHON
After confirming the dependencies, you need to add a new location.
To create a new location:
This configuration indexes all the collections in a DynamoDB database. It includes all the fields and maps only one field for all tables. The use of the asterisk (*) in this configuration means to include all fields, all tables and apply the field mapping in all tables.
{
"fields": {"include": ["*"]},
"tables": [
{
"name": "*",
"action": "INCLUDE"
},
{
"name": "*",
"map": {
"NAME": "name",
"Geometry_WKT": "geo"
}
}
],
"dynamodb": {
"endpoint_url": "http://localhost:8000",
"region": "us-west-2"
}
}
Index a single table.
{
"fields": {
"include": ["*"]
},
"tables": [{
"name": "CITIES",
"action": "INCLUDE"
},
{
"name": "*",
"map": {
"NAME": "name",
"Geometry_WKT": "geo"
}
}],
"dynamodb": {
"endpoint_url": "http://localhost:8000",
"region": "us-west-2"
}
}
This example demonstrates the following:
{
"fields": {"include": ["*"]},
"tables": [
{
"name": "STATES",
"action": "INCLUDE"
"map": {"STATE_NAME": "name", "Geometry_WKT": "geo}
},
{
"name": "CITIES",
"action": "INCLUDE"
"map": {"CITY_NAME": "name", "Geometry_WKT": "geo"}
}
],
"dynamodb": {
"endpoint_url": "http://localhost:8000",
"region": "us-west-2"
}
}
Usage Notes