public class OcrPassageScorer
extends org.apache.lucene.search.uhighlight.PassageScorer
| Constructor and Description |
|---|
OcrPassageScorer(float k1,
float b,
float pivot,
boolean boostEarly) |
| Modifier and Type | Method and Description |
|---|---|
float |
norm(int passageStart)
If enabled with `hl.score.boostEarly`, normalize the passage start so that earlier starts are
given more weight.
|
Copyright © 2019. All rights reserved.