A search in fast which includes highlight field as shown bellow:
{
"query" : {
"multi_match" : {
"query" : "quick brown fox",
....
}
}
"highlight:" {
"fields" : {
"field.summary"
}
}
}
will give a result that will have a highlight section:
"highlight" : {
"field.summary" : [
"some text quick more text",
"more text aa brown dll",
"text1 text3 brown"
]
}
I want a concatenation of the array entries returned and also a way to specify the maximum number of characters in the generation string.
FAST esp can do that by specifying juniper configurations.
Anyone have any idea on how to accomplish this?
Thanks.