public final class FragmentBuilderHelper extends Object
FastVectorHighlighter
FragmentsBuilder
implemenations.Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo |
fixWeightedFragInfo(FieldMapper mapper,
org.apache.lucene.document.Field[] values,
org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo fragInfo)
Fixes problems with broken analysis chains if positions and offsets are messed up that can lead to
StringIndexOutOfBoundsException in the FastVectorHighlighter |
public static org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo fixWeightedFragInfo(FieldMapper mapper, org.apache.lucene.document.Field[] values, org.apache.lucene.search.vectorhighlight.FieldFragList.WeightedFragInfo fragInfo)
StringIndexOutOfBoundsException
in the FastVectorHighlighter
Copyright © 2009–2016. All rights reserved.