Setting UnifiedHighlighter DefaultPassageFormatter using Elastic and NEST
up vote
0
down vote
favorite
I'm migrating from Lucene to Elastic (6.2.4).
Today we use Lucene's UnifiedHighlighter and setting the formatter (using setFormatter method) with a DefaultPassageFormatter.
var ht = new UnifiedHighlighter(searcher, CreateSimpleAnalyzer());
ht.setFormatter(new DefaultPassageFormatter(preTag: preTag, postTag: postTag, ellipsis: ellipsis, escape: false));
I could not find a way to do the same in Elastic using NEST.
This is a limitation of Elastic? NEST? or I'm missing something?
elasticsearch highlight nest
add a comment |
up vote
0
down vote
favorite
I'm migrating from Lucene to Elastic (6.2.4).
Today we use Lucene's UnifiedHighlighter and setting the formatter (using setFormatter method) with a DefaultPassageFormatter.
var ht = new UnifiedHighlighter(searcher, CreateSimpleAnalyzer());
ht.setFormatter(new DefaultPassageFormatter(preTag: preTag, postTag: postTag, ellipsis: ellipsis, escape: false));
I could not find a way to do the same in Elastic using NEST.
This is a limitation of Elastic? NEST? or I'm missing something?
elasticsearch highlight nest
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm migrating from Lucene to Elastic (6.2.4).
Today we use Lucene's UnifiedHighlighter and setting the formatter (using setFormatter method) with a DefaultPassageFormatter.
var ht = new UnifiedHighlighter(searcher, CreateSimpleAnalyzer());
ht.setFormatter(new DefaultPassageFormatter(preTag: preTag, postTag: postTag, ellipsis: ellipsis, escape: false));
I could not find a way to do the same in Elastic using NEST.
This is a limitation of Elastic? NEST? or I'm missing something?
elasticsearch highlight nest
I'm migrating from Lucene to Elastic (6.2.4).
Today we use Lucene's UnifiedHighlighter and setting the formatter (using setFormatter method) with a DefaultPassageFormatter.
var ht = new UnifiedHighlighter(searcher, CreateSimpleAnalyzer());
ht.setFormatter(new DefaultPassageFormatter(preTag: preTag, postTag: postTag, ellipsis: ellipsis, escape: false));
I could not find a way to do the same in Elastic using NEST.
This is a limitation of Elastic? NEST? or I'm missing something?
elasticsearch highlight nest
elasticsearch highlight nest
asked yesterday
Omri
593315
593315
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205228%2fsetting-unifiedhighlighter-defaultpassageformatter-using-elastic-and-nest%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password