Hello.
Numbers aren't searchable. It seems they are being filtered out by a search
analyzer?
For example, I have indexed content "In December of 2008 the local
government voted to allow..."
Searching for "December" works as expected. Searching for "2008" does not.
My configuration is pretty simple.
cluster:
name: es-dev-cluster
node:
master: true
data: true
network.host: 127.0.0.1
transport.tcp.port: xxxx
http.port: xxxx
action.auto_create_index: true
index.mapper.dynamic: false
gateway:
type: s3
s3.bucket: xxx-xxx-elasticsearch
cloud:
aws:
access_key: xxx
secret_key: xxx
{
"searchable":{
"type":"object",
"properties":{
"entityId":{
"type":"integer",
"store":"yes"
},
"anotherId":{
"type":"integer",
"store":"yes"
},
"title":{
"type":"string",
"store":"yes",
"index":"analyzed",
"boost":"15.0",
"analyzer":"simple",
"search_analyzer":"simple"
},
"keywords":{
"type":"string",
"store":"yes",
"index":"analyzed",
"boost":"14.0",
"analyzer":"simple",
"search_analyzer":"simple"
},
"description":{
"type":"string",
"store":"yes",
"index":"analyzed",
"boost":"12.0",
"analyzer":"simple",
"search_analyzer":"simple"
},
"text-content":{
"type":"string",
"store":"yes",
"index":"analyzed",
"boost":"11.0",
"analyzer":"simple",
"search_analyzer":"simple"
},
"audio-content":{
"type":"string",
"store":"yes",
"index":"analyzed",
"boost":"4.0",
"analyzer":"simple",
"search_analyzer":"simple"
},
"screen-content":{
"type":"string",
"store":"yes",
"index":"analyzed",
"boost":"1.0",
"analyzer":"simple",
"search_analyzer":"simple"
}
}
}
}
I would guess my searchable definition needs to be modified?
Thank you.
--