public class TermVectorAccessor extends Object
| Constructor | Description |
|---|---|
TermVectorAccessor() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(IndexReader indexReader,
int documentNumber,
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, String fieldName, TermVectorMapper mapper) throws IOException
indexReader - Index sourcedocumentNumber - Source document to accessfieldName - Field to resolvemapper - Mapper to be mapped with dataIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.