mirror of
https://github.com/apache/lucene.git
synced 2025-02-06 10:08:58 +00:00
Cleanup changes for release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@880704 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8170e548fe
commit
2797370935
122
CHANGES.txt
122
CHANGES.txt
@ -7,8 +7,9 @@ Changes in backwards compatibility policy
|
|||||||
|
|
||||||
* LUCENE-1979: Change return type of SnapshotDeletionPolicy#snapshot()
|
* LUCENE-1979: Change return type of SnapshotDeletionPolicy#snapshot()
|
||||||
from IndexCommitPoint to IndexCommit. Code that uses this method
|
from IndexCommitPoint to IndexCommit. Code that uses this method
|
||||||
needs to be recompiled against Lucene 3.0 in order to work. The previously
|
needs to be recompiled against Lucene 3.0 in order to work. The
|
||||||
deprecated IndexCommitPoint is also removed. (Michael Busch)
|
previously deprecated IndexCommitPoint is also removed.
|
||||||
|
(Michael Busch)
|
||||||
|
|
||||||
* oal.Lock.isLocked is now allowed to throw an IOException
|
* oal.Lock.isLocked is now allowed to throw an IOException
|
||||||
|
|
||||||
@ -68,70 +69,63 @@ Changes in runtime behavior
|
|||||||
|
|
||||||
API Changes
|
API Changes
|
||||||
|
|
||||||
* LUCENE-1257, LUCENE-1984, LUCENE-1985, LUCENE-2057,...: Port to Java 1.5
|
* LUCENE-1257, LUCENE-1984, LUCENE-1985, LUCENE-2057: Port to Java 1.5.
|
||||||
[not yet finished]. (Uwe Schindler, Robert Muir, Karl Wettin, Paul Elschot,
|
(Uwe Schindler, Robert Muir, Karl Wettin, Paul Elschot, Kay Kay, Shai Erera)
|
||||||
Kay Kay, Shai Erera)
|
|
||||||
|
|
||||||
* LUCENE-1944: Remove (all) deprecated methods/constructors taking
|
|
||||||
String/File directory paths in IndexReader / IndexWriter and others.
|
|
||||||
Also make FSDirectory abstract. (Uwe Schindler)
|
|
||||||
|
|
||||||
|
* Generify Lucene API:
|
||||||
|
- TokenStream/AttributeSource: Now addAttribute()/getAttribute() return an
|
||||||
|
instance of the requested attribute interface and no cast needed anymore.
|
||||||
|
- NumericRangeQuery, NumericRangeFilter, and FieldCacheRangeFilter
|
||||||
|
now have Integer, Long, Float, Double as type param.
|
||||||
|
- Document.getFields() returns List<Fieldable>
|
||||||
|
- Query.extractTerms(Set<Term>).
|
||||||
|
- CharArraySet and stop word sets in core/contrib
|
||||||
|
- PriorityQueue
|
||||||
|
- TopDocCollector
|
||||||
|
- MultiTermQueryWrapperFilter
|
||||||
|
- CloseableThreadLocal
|
||||||
|
- MapOfSets
|
||||||
|
- o.a.l.util.cache package
|
||||||
|
- lot's of internal APIs of IndexWriter
|
||||||
|
(Uwe Schindler, Michael Busch, Kay Kay, Robert Muir, Adriano Crestani)
|
||||||
|
|
||||||
|
* LUCENE-1944, LUCENE-1856, LUCENE-1957, LUCENE-1960, LUCENE-1961,
|
||||||
|
LUCENE-1968, LUCENE-1970, LUCENE-1946, LUCENE-1971, LUCENE-1975,
|
||||||
|
LUCENE-1972, LUCENE-1978, LUCENE-944, LUCENE-1979, LUCENE-1973, LUCENE-2011:
|
||||||
|
Remove deprecated methods/constructors/classes:
|
||||||
|
- All String/File directory paths in IndexReader /
|
||||||
|
IndexSearcher / IndexWriter.
|
||||||
|
- Remove FSDirectory.getDirectory()
|
||||||
|
- Make FSDirectory abstract.
|
||||||
|
- Remove Field.Store.COMPRESS (see above).
|
||||||
|
- Remove Filter.bits(IndexReader) method and make
|
||||||
|
Filter.getDocIdSet(IndexReader) abstract.
|
||||||
|
- Remove old DocIdSetIterator methods and make the new ones abstract.
|
||||||
|
- Remove some methods in PriorityQueue.
|
||||||
|
- Remove old TokenStream API and backwards compatibility layer.
|
||||||
|
- Remove RangeQuery, RangeFilter and ConstantScoreRangeQuery.
|
||||||
|
- Remove SpanQuery.getTerms().
|
||||||
|
- Remove ExtendedFieldCache, custom and auto caches, SortField.AUTO.
|
||||||
|
- Remove old-style custom sort.
|
||||||
|
- Remove Legacy search setting in SortField.
|
||||||
|
- Remove Hits and all references from core and contrib.
|
||||||
|
- Remove HitCollector and its TopDocs support implementations.
|
||||||
|
- Remove term field and accessors in MultiTermQuery
|
||||||
|
(and fix Highlighter).
|
||||||
|
- Remove methods in BooleanQuery.
|
||||||
|
- Remove methods in Similarity.
|
||||||
|
- Remove BoostingTermQuery.
|
||||||
|
- Remove MultiValueSource.
|
||||||
|
- Remove Scorer.explain(int).
|
||||||
|
...and some other minor ones (Uwe Schindler, Michael Busch, Mark Miller)
|
||||||
|
|
||||||
* LUCENE-1925: Make IndexSearcher's subReaders and docStarts members
|
* LUCENE-1925: Make IndexSearcher's subReaders and docStarts members
|
||||||
protected; add expert ctor to directly specify reader, subReaders
|
protected; add expert ctor to directly specify reader, subReaders
|
||||||
and docStarts. (John Wang, Tim Smith via Mike McCandless)
|
and docStarts. (John Wang, Tim Smith via Mike McCandless)
|
||||||
|
|
||||||
* LUCENE-1855: Convert TokenStream/AttributeSource API to Generics.
|
|
||||||
Now addAttribute()/getAttribute() return an instance of the requested
|
|
||||||
attribute interface and no cast needed anymore. (Uwe Schindler,
|
|
||||||
Michael Busch, Robert Muir, Adriano Crestani)
|
|
||||||
|
|
||||||
* LUCENE-1857: Convert NumericRangeQuery API to Generics. NumericRangeQuery
|
|
||||||
and NumericRangeFilter now have Integer, Long, Float, Double as type param.
|
|
||||||
(Uwe Schindler)
|
|
||||||
|
|
||||||
* LUCENE-1856: Remove Hits and all references from core and contrib.
|
|
||||||
(Michael Busch)
|
|
||||||
|
|
||||||
* LUCENE-1957: Remove Filter.bits(IndexReader) method and make
|
|
||||||
Filter.getDocIdSet(IndexReader) abstract. (Michael Busch)
|
|
||||||
|
|
||||||
* LUCENE-1960: Remove deprecated Field.Store.COMPRESS. (Michael Busch)
|
|
||||||
|
|
||||||
* LUCENE-1961: Remove remaining deprecations from document package.
|
|
||||||
(Michael Busch)
|
|
||||||
|
|
||||||
* LUCENE-1968: Remove deprecated methods in PriorityQueue. (Michael Busch)
|
|
||||||
|
|
||||||
* LUCENE-1970: Remove deprecated methods in DocIdSetIterator and make
|
|
||||||
new ones abstract. (Michael Busch)
|
|
||||||
|
|
||||||
* LUCENE-1946: Remove deprecated old TokenStream API. (Uwe Schindler)
|
|
||||||
|
|
||||||
* LUCENE-1753: Make not yet final TokenStreams final to enforce
|
* LUCENE-1753: Make not yet final TokenStreams final to enforce
|
||||||
decorator pattern. (Uwe Schindler)
|
decorator pattern. (Uwe Schindler)
|
||||||
|
|
||||||
* LUCENE-1971: Remove deprecated RangeQuery, RangeFilter and
|
|
||||||
ConstantScoreRangeQuery. (Uwe Schindler)
|
|
||||||
|
|
||||||
* LUCENE-1975: Remove deprecated SpanQuery.getTerms() and generify
|
|
||||||
Query.extractTerms(Set<Term>) (Michael Busch)
|
|
||||||
|
|
||||||
* LUCENE-1972, LUCENE-1978: Remove deprecated ExtendedFieldCache,
|
|
||||||
custom and auto caches, SortField.AUTO, deprecated custom sort,
|
|
||||||
deprecated HitCollector, legacy search setting in SortField.
|
|
||||||
Make new Sort(SortField...) and Sort.setSort(SortField...) varargs-
|
|
||||||
enabled. (Uwe Schindler)
|
|
||||||
|
|
||||||
* LUCENE-1977: Remove deprecated Term field and accessors in
|
|
||||||
MultiTermQuery. (Uwe Schindler)
|
|
||||||
|
|
||||||
* LUCENE-944: Remove deprecated methods in BooleanQuery. (Michael Busch)
|
|
||||||
|
|
||||||
* LUCENE-1979: Remove remaining deprecations from indexer package.
|
|
||||||
(Uwe Schindler, Michael Busch)
|
|
||||||
|
|
||||||
* LUCENE-1989: Generify CharArraySet. (Uwe Schindler)
|
|
||||||
|
|
||||||
* LUCENE-1945: All public classes that have a close() method now
|
* LUCENE-1945: All public classes that have a close() method now
|
||||||
also implement java.io.Closeable (IndexReader, IndexWriter, Directory,...).
|
also implement java.io.Closeable (IndexReader, IndexWriter, Directory,...).
|
||||||
(Uwe Schindler)
|
(Uwe Schindler)
|
||||||
@ -140,12 +134,6 @@ API Changes
|
|||||||
is no backwards-break, only a change of the super class. Parameter
|
is no backwards-break, only a change of the super class. Parameter
|
||||||
was deprecated and will be removed in a later version.
|
was deprecated and will be removed in a later version.
|
||||||
(DM Smith, Uwe Schindler)
|
(DM Smith, Uwe Schindler)
|
||||||
|
|
||||||
* LUCENE-1973: Remove deprecated Similarity methods. Remove deprecated
|
|
||||||
BoostingTermQuery and MultiValueSource. (Uwe Schindler)
|
|
||||||
|
|
||||||
* LUCENE-2011: Remove deprecated Scorer.explain(int).
|
|
||||||
(Uwe Schindler, Mark Miller)
|
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
|
|
||||||
@ -179,10 +167,8 @@ Build
|
|||||||
|
|
||||||
* LUCENE-486: Remove test->demo dependencies. (Michael Busch)
|
* LUCENE-486: Remove test->demo dependencies. (Michael Busch)
|
||||||
|
|
||||||
Build
|
* LUCENE-2024: Raise build requirements to Java 1.5 and ANT 1.7.0
|
||||||
|
(Uwe Schindler, Mike McCandless)
|
||||||
* LUCENE-2024: Raise build requirements to Java 1.5 and ANT 1.7.0
|
|
||||||
(Uwe Schindler, Mike McCandless)
|
|
||||||
|
|
||||||
======================= Release 2.9.1 2009-11-06 =======================
|
======================= Release 2.9.1 2009-11-06 =======================
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user