Added trackPages parameter to solr query that was introduced in solr-ocrhighlighing v 0.6.0.

This version was released 5 days ago and is not yet available via Maven.
This commit is contained in:
Michael Spalti
2021-05-16 10:28:15 -07:00
parent e226ba954b
commit 77bed7571c

View File

@@ -153,6 +153,7 @@ public class SearchService extends AbstractResourceService {
solrQuery.set("hl.ocr.contextBlock", "line");
solrQuery.set("hl.ocr.contextSize", "2");
solrQuery.set("hl.snippets", "10");
solrQuery.set("hl.ocr.trackPages", "off");
solrQuery.set("hl.ocr.limitBlock","page");
solrQuery.set("hl.ocr.absoluteHighlights", "true");