Is there way to completely turn off the highlighting? I’m only interested in the doc id.
k
Kishore Nallan
10/30/2021, 2:26 AM
@JinW We don't have a way to turn off highlighting. May I know what problem you are facing with highlights being available?
j
JinW
10/30/2021, 2:32 AM
@Kishore Nallan There isn’t really an issue but we don’t use it or need it. We’re only interested in the doc id in the results. Would disable highlight boost the performance? Currently, we set highlight_fields to the “id” field to make the JSON smaller.
k
Kishore Nallan
10/30/2021, 2:33 AM
Ah, that's a neat hack! I don't think the highlights will cause much of a perf impact.
j
JinW
10/30/2021, 2:42 AM
Thanks, it would be a nice feature to have instead of the hack and I’m curious if there would be any performance boost.