Skip to content

Instantly share code, notes, and snippets.

@steveyen
Created July 15, 2016 00:17
Show Gist options
  • Save steveyen/4f830f61786d8e2bbd4d5f97485e5490 to your computer and use it in GitHub Desktop.
Save steveyen/4f830f61786d8e2bbd4d5f97485e5490 to your computer and use it in GitHub Desktop.
{
"type": "fulltext-index",
"name": "custom_index",
"uuid": "2f597b2acd3cb07b",
"sourceType": "couchbase",
"sourceName": "default",
"sourceUUID": "",
"planParams": {
"maxPartitionsPerPIndex": 32,
"numReplicas": 0,
"hierarchyRules": null,
"nodePlanParams": null,
"pindexWeights": null,
"planFrozen": false
},
"params": {
"mapping": {
"analysis": {},
"byte_array_converter": "json",
"default_analyzer": "standard",
"default_datetime_parser": "dateTimeOptional",
"default_field": "_all",
"default_mapping": {
"default_analyzer": "",
"dynamic": true,
"enabled": false
},
"default_type": "_default",
"type_field": "type",
"types": {
"emp": {
"dynamic": false,
"enabled": true,
"fields": [],
"properties": {
"dept": {
"dynamic": false,
"enabled": true,
"fields": [
{
"analyzer": "standard",
"include_in_all": true,
"include_term_vectors": true,
"index": true,
"name": "dept",
"store": false,
"type": "text"
}
],
"properties": {}
},
"languages_known": {
"dynamic": false,
"enabled": true,
"fields": [
{
"analyzer": "keyword",
"include_in_all": true,
"include_term_vectors": true,
"index": true,
"name": "languages_known",
"store": false,
"type": "text"
}
],
"properties": {}
},
"mutated": {
"dynamic": false,
"enabled": true,
"fields": [
{
"analyzer": "",
"include_in_all": true,
"include_term_vectors": true,
"index": true,
"name": "mutated",
"store": false,
"type": "number"
}
],
"properties": {}
}
}
}
}
}
},
"sourceParams": {
"authPassword": "",
"authSaslPassword": "",
"authSaslUser": "",
"authUser": "default",
"clusterManagerBackoffFactor": 0,
"clusterManagerSleepInitMS": 0,
"clusterManagerSleepMaxMS": 20000,
"dataManagerBackoffFactor": 0,
"dataManagerSleepInitMS": 0,
"dataManagerSleepMaxMS": 20000,
"feedBufferAckThreshold": 0,
"feedBufferSizeBytes": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment