Analysing unstructured data


(Lucy) #1

Hi, I have unstructured data that I want to bring into elastic. It contains IP address, in the form 223.58.1.19, and I was wondering what type of analyzer would I use to allow for it to stay together as a single token.


#2

you can try with this
PUT myindex/_mapping/doc
{
"properties": {
"name": {
"type": "text",
"fields": {
"other": {
"type": "keyword"
}
}
}
}
}


(Lucy) #3

When I map the index can I have multiple fields for unstructured data. The data I’m going to put into elastic is text that I have extracted from a pdf.