Class 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 StoredFields.document(int) to load a document.

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