All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.digitalcollections.solrocr.solr.OcrHighlightParams Maven / Gradle / Ivy

Go to download

Solr plugin to add support for highlighting directly from various OCR formats (hOCR/ALTO/MiniOCR) without having to store the OCR documents in the index.

The newest version!
package de.digitalcollections.solrocr.solr;

import org.apache.solr.common.params.HighlightParams;

public interface OcrHighlightParams extends HighlightParams {
  String OCR_FIELDS = "hl.ocr.fl";
  String CONTEXT_BLOCK = "hl.ocr.contextBlock";
  String CONTEXT_SIZE = "hl.ocr.contextSize";
  String LIMIT_BLOCK = "hl.ocr.limitBlock";
  String PAGE_ID = "hl.ocr.pageId";
  String SCORE_BOOST_EARLY = "hl.score.boostEarly";
  String ABSOLUTE_HIGHLIGHTS = "hl.ocr.absoluteHighlights";
  String MAX_OCR_PASSAGES = "hl.ocr.maxPassages";
  String SCORE_PASSAGES = "hl.ocr.scorePassages";
  String TIME_ALLOWED = "hl.ocr.timeAllowed";
  String ALIGN_SPANS = "hl.ocr.alignSpans";
  String TRACK_PAGES = "hl.ocr.trackPages";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy