6.5.1 Standard, Letter, Whitespace
이 문서의 허가되지 않은 무단 복제나 배포 및 출판을 금지합니다. 본 문서의 내용 및 도표 등을 인용하고자 하는 경우 출처를 명시하고 김종민([email protected])에게 사용 내용을 알려주시기 바랍니다.
GET _analyze
{
"tokenizer": "standard",
"text": "THE quick.brown_FOx jumped! @ 3.5 meters."
}{
"tokens" : [
{
"token" : "THE",
"start_offset" : 0,
"end_offset" : 3,
"type" : "<ALPHANUM>",
"position" : 0
},
{
"token" : "quick.brown_FOx",
"start_offset" : 4,
"end_offset" : 19,
"type" : "<ALPHANUM>",
"position" : 1
},
{
"token" : "jumped",
"start_offset" : 20,
"end_offset" : 26,
"type" : "<ALPHANUM>",
"position" : 2
},
{
"token" : "3.5",
"start_offset" : 30,
"end_offset" : 33,
"type" : "<NUM>",
"position" : 3
},
{
"token" : "meters",
"start_offset" : 34,
"end_offset" : 40,
"type" : "<ALPHANUM>",
"position" : 4
}
]
}GET _analyze
{
"tokenizer": "letter",
"text": "THE quick.brown_FOx jumped! @ 3.5 meters."
}{
"tokens" : [
{
"token" : "THE",
"start_offset" : 0,
"end_offset" : 3,
"type" : "word",
"position" : 0
},
{
"token" : "quick",
"start_offset" : 4,
"end_offset" : 9,
"type" : "word",
"position" : 1
},
{
"token" : "brown",
"start_offset" : 10,
"end_offset" : 15,
"type" : "word",
"position" : 2
},
{
"token" : "FOx",
"start_offset" : 16,
"end_offset" : 19,
"type" : "word",
"position" : 3
},
{
"token" : "jumped",
"start_offset" : 20,
"end_offset" : 26,
"type" : "word",
"position" : 4
},
{
"token" : "meters",
"start_offset" : 34,
"end_offset" : 40,
"type" : "word",
"position" : 5
}
]
}GET _analyze
{
"tokenizer": "whitespace",
"text": "THE quick.brown_FOx jumped! @ 3.5 meters."
}{
"tokens" : [
{
"token" : "THE",
"start_offset" : 0,
"end_offset" : 3,
"type" : "word",
"position" : 0
},
{
"token" : "quick.brown_FOx",
"start_offset" : 4,
"end_offset" : 19,
"type" : "word",
"position" : 1
},
{
"token" : "jumped!",
"start_offset" : 20,
"end_offset" : 27,
"type" : "word",
"position" : 2
},
{
"token" : "@",
"start_offset" : 28,
"end_offset" : 29,
"type" : "word",
"position" : 3
},
{
"token" : "3.5",
"start_offset" : 30,
"end_offset" : 33,
"type" : "word",
"position" : 4
},
{
"token" : "meters.",
"start_offset" : 34,
"end_offset" : 41,
"type" : "word",
"position" : 5
}
]
}Last updated