Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

StorableDocument -> StoredDocument

Steven Roweaf6044f4344b
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index cccbb0bc1cc..ccaa5a5714b 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -10,7 +10,7 @@ Changes in backwards compatibility policy
* LUCENE-3312: The API of oal.document was restructured to
differentiate between stored documents and indexed documents.
- IndexReader.document(int) now returns StorableDocument
+ IndexReader.document(int) now returns StoredDocument
instead of Document. In most cases a simple replacement
of the return type is enough to upgrade (see MIGRATE.txt).
(Nikola Tanković, Uwe Schindler, Chris Male, Mike McCandless,
diff --git a/lucene/MIGRATE.txt b/lucene/MIGRATE.txt
index 88e74530d52..bea3f0ccb0d 100644
--- a/lucene/MIGRATE.txt
+++ b/lucene/MIGRATE.txt
@@ -4,5 +4,5 @@
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
+StoredDocument instead of Document. In most cases a simple replacement
of the return type is enough to upgrade.