Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P13023
(An Untitled Masterwork)
Active
Public
Actions
Authored by
EBernhardson
on Oct 19 2020, 6:11 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F32399367: raw-paste-data.txt
Oct 19 2020, 6:11 PM
2020-10-19 18:11:31 (UTC+0)
Subscribers
None
ebernhardson@elastic2040:~$ cat test.q
{
"analyzer": "text",
"text": "Afrikа"
}
ebernhardson@elastic2040:~$ curl -H 'Content-Type: application/json' -XPOST http://localhost:9200/afwiki_content/_analyze?pretty -d @test.q
{
"tokens" : [
{
"token" : "afrikа",
"start_offset" : 0,
"end_offset" : 6,
"type" : "<ALPHANUM>",
"position" : 0
},
{
"token" : "afrika",
"start_offset" : 0,
"end_offset" : 6,
"type" : "<ALPHANUM>",
"position" : 0
}
]
}
ebernhardson@elastic2040:~$
Event Timeline
EBernhardson
created this paste.
Oct 19 2020, 6:11 PM
2020-10-19 18:11:31 (UTC+0)
Mstyles
mentioned this in
T222669: Normalize homoglyphs in mixed-script tokens when possible
.
Oct 19 2020, 6:29 PM
2020-10-19 18:29:51 (UTC+0)
Log In to Comment