mirror of https://github.com/apache/lucene.git
Update versions in trunk's site, update migration guide
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627418 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3a56b1e05b
commit
272be0d711
|
@ -6,24 +6,3 @@ The API of oal.document was restructured to differentiate between stored
|
|||
documents and indexed documents. IndexReader.document(int) now returns
|
||||
StoredDocument instead of Document. In most cases a simple replacement
|
||||
of the return type is enough to upgrade.
|
||||
|
||||
## Removed Reader from Tokenizer constructor (LUCENE-5388)
|
||||
|
||||
The constructor of Tokenizer no longer takes Reader, as this was a leftover
|
||||
from before it was reusable. See the org.apache.lucene.analysis package
|
||||
documentation for more details.
|
||||
|
||||
## Refactored Collector API (LUCENE-5299)
|
||||
|
||||
The Collector API has been refactored to use a different Collector instance
|
||||
per segment. It is possible to migrate existing collectors painlessly by
|
||||
extending SimpleCollector instead of Collector: SimpleCollector is a
|
||||
specialization of Collector that returns itself as a per-segment Collector.
|
||||
|
||||
## IndexWriter.close now discards all changes and closes, even on exception (LUCENE-4246)
|
||||
|
||||
When you close an IndexWriter it will discard all changes; you must
|
||||
call .commit() and .waitForMerges() beforehand. If
|
||||
IndexWriterConfig's matchVersion is before 5.0, then close will
|
||||
throw an exception indicating that changes were lost (but the
|
||||
IndexWriter will still have been closed).
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
<ul>
|
||||
<li><a href="changes/Changes.html">Changes</a>: List of changes in this release.</li>
|
||||
<li><a href="SYSTEM_REQUIREMENTS.html">System Requirements</a>: Minimum and supported Java versions.</li>
|
||||
<li><a href="MIGRATE.html">Migration Guide</a>: What changed in Lucene 5; how to migrate code from Lucene 4.x.</li>
|
||||
<li><a href="MIGRATE.html">Migration Guide</a>: What changed in Lucene 6; how to migrate code from Lucene 5.x.</li>
|
||||
<li><a href="JRE_VERSION_MIGRATION.html">JRE Version Migration</a>: Information about upgrading between major JRE versions.</li>
|
||||
<li><a href="core/org/apache/lucene/codecs/{$defaultCodecPackage}/package-summary.html#package_description">File Formats</a>: Guide to the supported index format used by Lucene. This can be customized by using <a href="core/org/apache/lucene/codecs/package-summary.html#package_description">an alternate codec</a>.</li>
|
||||
<li><a href="core/org/apache/lucene/search/package-summary.html#package_description">Search and Scoring in Lucene</a>: Introduction to how Lucene scores documents.</li>
|
||||
|
|
Loading…
Reference in New Issue