## Uses of Class
org.apache.lucene.document.Document

- Packages that use Document
  Package | Description
  --- | ---
  org.apache.lucene.document | The logical representation of a `Document` for indexing and searching.
  org.apache.lucene.index | Code to maintain and access indices.
  org.apache.lucene.search | Code to search indices.

- - ### Uses of Document in org.apache.lucene.document

    Methods in org.apache.lucene.document that return Document
    Modifier and Type | Method and Description
    --- | ---
    `Document` | DocumentStoredFieldVisitor.`getDocument()` Retrieve the visited document.

  - ### Uses of Document in org.apache.lucene.index

    Methods in org.apache.lucene.index that return Document
    Modifier and Type | Method and Description
    --- | ---
    `Document` | IndexReader.`document(int docID)` Returns the stored fields of the `n`th `Document` in this index.
    `Document` | IndexReader.`document(int docID, Set<String> fieldsToLoad)` Like `IndexReader.document(int)` but only loads the specified fields.

  - ### Uses of Document in org.apache.lucene.search

    Methods in org.apache.lucene.search that return Document
    Modifier and Type | Method and Description
    --- | ---
    `Document` | IndexSearcher.`doc(int docID)` Sugar for `.getIndexReader().document(docID)`
    `Document` | IndexSearcher.`doc(int docID, Set<String> fieldsToLoad)` Sugar for `.getIndexReader().document(docID, fieldsToLoad)`
    `Document` | IndexSearcher.`document(int docID, Set<String> fieldsToLoad)` Deprecated. Use `IndexSearcher.doc(int, Set)` instead.

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.