Apache Lucene open-source search software
fix typos (merge from branch_4x)
Steven Rowe160eac52ca11
diff --git a/lucene/MIGRATE.txt b/lucene/MIGRATE.txtindex 597df1504e2..faedeaeefc8 100644--- a/lucene/MIGRATE.txt+++ b/lucene/MIGRATE.txt@@ -145,7 +145,7 @@ enumeration APIs. Here are the major changes:oal.util.ReaderUtil) and then step through those readers yourself,if you can (this is how Lucene drives searches).- If you pass a SegmentReader to MultiFields.fiels it will simply+ If you pass a SegmentReader to MultiFields.fields it will simplyreturn reader.fields(), so there is no performance hit in thatcase.@@ -334,7 +334,7 @@ based on document IDs, albeit the per-segment orientation.There are still valid use-cases where top-level readers ie. "atomicviews" on the index are desirable. Let say you want to iterate all terms-of a complete index for auto-completion or facetting, Lucene provides+of a complete index for auto-completion or faceting, Lucene providesutility wrappers like SlowCompositeReaderWrapper (LUCENE-2597) emulatingan AtomicReader. Note: using "atomicity emulators" can cause seriousslowdowns due to the need to merge terms, postings, DocValues, and@@ -574,7 +574,7 @@ you can now do this:Also MultiTermQuery.getTermsEnum() now takes an AttributeSource. FuzzyTermsEnumis both consumer and producer of attributes: MTQ.BoostAttribute isadded to the FuzzyTermsEnum and MTQ's rewrite mode consumes it.- The other way round MTQ.TopTermsBooleanQueryRewrite supplys a+ The other way round MTQ.TopTermsBooleanQueryRewrite supplies aglobal AttributeSource to each segments TermsEnum. The TermsEnum is consumerand gets the current minimum competitive boosts (MTQ.MaxNonCompetitiveBoostAttribute).@@ -594,7 +594,7 @@ you can now do this:* LUCENE-1076: TieredMergePolicy is now the default merge policy.It's able to merge non-contiguous segments; this may cause problemsfor applications that rely on Lucene's internal document ID- assigment. If so, you should instead use LogByteSize/DocMergePolicy+ assignment. If so, you should instead use LogByteSize/DocMergePolicyduring indexing.* LUCENE-3722: Similarity methods and collection/term statistics now take