What I mean by working:
Input: Inbus
Output:
{
"tokens" : [ {
"token" : "inbus",
"start_offset" : 0,
"end_offset" : 5,
"type" : "SYNONYM",
"position" : 1
}, {
"token" : "innensechskant",
"start_offset" : 0,
"end_offset" : 5,
"type" : "SYNONYM",
"position" : 1
}, {
"token" : "imbus",
"start_offset" : 0,
"end_offset" : 5,
"type" : "SYNONYM",
"position" : 1
} ]
}
Input: Der Inbus
Output:
{
"tokens" : [ {
"token" : "der",
"start_offset" : 0,
"end_offset" : 3,
"type" : "word",
"position" : 1
}, {
"token" : "inbus",
"start_offset" : 4,
"end_offset" : 9,
"type" : "SYNONYM",
"position" : 2
}, {
"token" : "innensechskant",
"start_offset" : 4,
"end_offset" : 9,
"type" : "SYNONYM",
"position" : 2
}, {
"token" : "imbus",
"start_offset" : 4,
"end_offset" : 9,
"type" : "SYNONYM",
"position" : 2
} ]
}
Input: Der Inbus ist
Output:
{
"tokens" : [ {
"token" : "der",
"start_offset" : 0,
"end_offset" : 3,
"type" : "word",
"position" : 1
}, {
"token" : "inbus",
"start_offset" : 4,
"end_offset" : 9,
"type" : "SYNONYM",
"position" : 2
}, {
"token" : "innensechskant",
"start_offset" : 4,
"end_offset" : 9,
"type" : "SYNONYM",
"position" : 2
}, {
"token" : "imbus",
"start_offset" : 4,
"end_offset" : 9,
"type" : "SYNONYM",
"position" : 2
}, {
"token" : "ist",
"start_offset" : 10,
"end_offset" : 13,
"type" : "word",
"position" : 3
} ]
}
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/d49aaaab-98d5-4d7a-aa16-63a77d0d0fab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.