public class TermVectorAccessor
extends java.lang.Object
| Constructor and Description |
|---|
TermVectorAccessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IndexReader indexReader,
int documentNumber,
java.lang.String fieldName,
TermVectorMapper mapper)
Visits the TermVectorMapper and populates it with terms available for a given document,
either via a vector created at index time or by resolving them from the inverted index.
|
public void accept(IndexReader indexReader, int documentNumber, java.lang.String fieldName, TermVectorMapper mapper) throws java.io.IOException
indexReader - Index sourcedocumentNumber - Source document to accessfieldName - Field to resolvemapper - Mapper to be mapped with datajava.io.IOExceptionCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.