Class DocumentStoredFieldVisitor

java.lang.Object
org.apache.lucene.index.StoredFieldVisitor
org.apache.lucene.document.DocumentStoredFieldVisitor

public class DocumentStoredFieldVisitor extends StoredFieldVisitor
A StoredFieldVisitor that creates a Document from stored fields.

This visitor supports loading all stored fields, or only specific requested fields provided from a Set.

This is used by IndexReader.document(int) to load a document.

WARNING: This API is experimental and might change in incompatible ways in the next release.