Commit d25053ca by muzaffaryousaf

Setting number_of_fragments to 0

parent 9854af48
......@@ -157,6 +157,7 @@ class AnnotationSearchView(GenericAPIView):
opts = {
'pre_tags': ['{elasticsearch_highlight_start}'],
'post_tags': ['{elasticsearch_highlight_end}'],
'number_of_fragments': 0
}
query = query.highlight(**opts)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment