You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to set highlighting to unified. For example:
constesb=require('elastic-builder');// the builderconsthighlight=esb.highlight();highlight.fields(['message.analysisone','message.analysistwo'],'message');highlight.type('unified','message');// <--- wont wont with typescript types, nor will it work at run time if type checks are ignored.constrequestBody=esb.requestBodySearch().highlight().query(esb.matchQuery('message','this is a test'));
Proposed Solution
Add 'unified' as a string constant supported in the highlight.type() function.
As a proof of concept we tried patching this in a local development env, and it seemed to work as expected. see #206 for details.
The text was updated successfully, but these errors were encountered:
Issue
Unable to set highlighting to unified. For example:
Proposed Solution
Add
'unified'
as a string constant supported in thehighlight.type()
function.As a proof of concept we tried patching this in a local development env, and it seemed to work as expected. see #206 for details.
The text was updated successfully, but these errors were encountered: