Sorry, I just realized I did not include my index config/mappings. I have posted them below. The index is fully populated and I get back results using REST, but still can't connect using java client.
curl -XPOST localhost:9200/catalog -d '
{"index":
{ "number_of_shards": 2,
"number_of_replicas" : 1
}
}
}'
curl -XPUT localhost:9200/catalog/prods/_mapping -d '{
"terms" : {
"properties" : {
"name" : {
"type" : "multi_field",
"fields" : {
"name" : {"type" : "string", "index" : "analyzed", "includeInAll" : true},
"sortName" : {"type" : "string", "index" : "not_analyzed", "includeInAll" : false}
}
},
"shortDescription" : {
"type" : "string",
"index" : "analyzed",
"includeInAll" : true
},
"salePrice" : {
"type" : "double",
"index" : "analyzed",
"includeInAll" : false
},
"sku" : {
"type" : "integer",
"index" : "no",
"includeInAll" : false
},
"modelNumber" : {
"type" : "string",
"index" : "no",
"includeInAll" : true
},
"manufacturer" : {
"type" : "multi_field",
"fields" : {
"manufacturer" : {"type" : "string", "index" : "analyzed", "includeInAll" : true},
"rawBrand" : {"type" : "string", "index" : "not_analyzed", "includeInAll" : false}
}
},
"primaryCategoryName" : {
"type" : "multi_field",
"fields" : {
"primaryCategoryName" : {"type" : "string", "index" : "analyzed", "includeInAll" : false},
"rawPrimaryCategoryName" : {"type" : "string", "index" : "not_analyzed", "includeInAll" : false}
}
},
"store" : {
"type" : "string",
"index" : "analyzed",
"includeInAll" : false
},
"features": {
"type": "object",
"properties": {
"feature" : {"type" : "string", "includeInAll" : false}
}
},
"categoryPath": {
"type": "object",
"properties": {
"name" : {"type" : "string", "includeInAll" : false},
"id" : {"type" : "string", "includeInAll" : false}
}
}
}
}
}
}'