blob: 88e74530d52bc2a7b3a4ef5848f55462d6b1aec6 [file] [log] [blame]
# Apache Lucene Migration Guide
## Separation of IndexDocument and StoredDocument (LUCENE-3312)
The API of oal.document was restructured to differentiate between stored
documents and indexed documents. IndexReader.document(int) now returns
StorableDocument instead of Document. In most cases a simple replacement
of the return type is enough to upgrade.