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