by "text" I mean literally our field named "text" in the api. Right now if you search within, say, the "annotations" field you will receive results but no highlighting. Need to adapt to return all highlights!
Questions:
- should they come back in one giant array?
- should they be returned distinctly? aka:
highlights: {
"text" => [ 1, 2, 3 ],
"annotations" => [ 1, 2, 3 ],
}
by "text" I mean literally our field named "text" in the api. Right now if you search within, say, the "annotations" field you will receive results but no highlighting. Need to adapt to return all highlights!
Questions: