| Package | Description |
|---|---|
| de.digitalcollections.solrocr.lucene | |
| de.digitalcollections.solrocr.lucene.byteoffset |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.lucene.search.uhighlight.Passage[] |
OcrFieldHighlighter.highlightByteOffsetsEnums(ByteOffsetsEnum off,
int docId,
String pageId)
Highlight passages from the document using the byte offsets in the payloads of the matching terms.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ByteOffsetsEnum.MultiByteOffsetsEnum |
static class |
ByteOffsetsEnum.OfPostings |
| Modifier and Type | Field and Description |
|---|---|
static ByteOffsetsEnum |
ByteOffsetsEnum.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
protected ByteOffsetsEnum |
FieldByteOffsetStrategy.createByteOffsetsEnumFromReader(org.apache.lucene.index.LeafReader leafReader,
int doc) |
abstract ByteOffsetsEnum |
FieldByteOffsetStrategy.getByteOffsetsEnum(org.apache.lucene.index.LeafReader leafReader,
int doc) |
ByteOffsetsEnum |
FieldByteOffsetStrategy.TermVectorByteOffsetStrategy.getByteOffsetsEnum(org.apache.lucene.index.LeafReader reader,
int docId) |
ByteOffsetsEnum |
FieldByteOffsetStrategy.PostingsByteOffsetStrategy.getByteOffsetsEnum(org.apache.lucene.index.LeafReader leafReader,
int doc) |
ByteOffsetsEnum |
FieldByteOffsetStrategy.PostingsWithTermVectorsByteOffsetStrategy.getByteOffsetsEnum(org.apache.lucene.index.LeafReader leafReader,
int doc) |
ByteOffsetsEnum |
NoOpByteOffsetStrategy.getByteOffsetsEnum(org.apache.lucene.index.LeafReader reader,
int docId) |
| Modifier and Type | Method and Description |
|---|---|
int |
ByteOffsetsEnum.compareTo(ByteOffsetsEnum other) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FieldByteOffsetStrategy.createByteOffsetsEnumsForAutomata(org.apache.lucene.index.Terms termsIndex,
int doc,
List<ByteOffsetsEnum> results) |
void |
ByteOffsetPhraseHelper.createByteOffsetsEnumsForSpans(org.apache.lucene.index.LeafReader leafReader,
int docId,
List<ByteOffsetsEnum> results) |
protected void |
FieldByteOffsetStrategy.createByteOffsetsEnumsForTerms(org.apache.lucene.util.BytesRef[] sourceTerms,
org.apache.lucene.index.Terms termsIndex,
int doc,
List<ByteOffsetsEnum> results) |
| Constructor and Description |
|---|
MultiByteOffsetsEnum(List<ByteOffsetsEnum> inner) |
Copyright © 2019. All rights reserved.