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