mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
removed pinpoint fragmenter as it was screwing up highlighting
This commit is contained in:
parent
cfd55a4d6b
commit
2de4f27278
@ -190,7 +190,6 @@ class SearchView(APIView):
|
||||
result_page = searcher.search_page(query_parser, page)
|
||||
result_page.results.fragmenter = highlight.ContextFragmenter(
|
||||
surround=50)
|
||||
result_page.results.fragmenter = highlight.PinpointFragmenter()
|
||||
result_page.results.formatter = index.JsonFormatter()
|
||||
|
||||
return Response(
|
||||
|
Loading…
x
Reference in New Issue
Block a user