Skip to content

Commit

Permalink
Return the full sentence when highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Jul 23, 2024
1 parent 645e78a commit 707c0f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/web_corpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def get_query(field, word, size):
"highlight": {
"fields": {
f"{field}": {
"fragment_size": 1024
"number_of_fragments" : 0
}
}
},
Expand Down

0 comments on commit 707c0f1

Please sign in to comment.