From 03cf5cdad61b6770a8421dd7236a08623125cfb0 Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Wed, 15 Jul 2009 17:21:04 +0000 Subject: [PATCH] Upgraded to Lucene 2.9-dev r794238. Other changes include: LUCENE-1614 - Use Lucene's DocIdSetIterator.NO_MORE_DOCS as the sentinel value. LUCENE-1630 - Add acceptsDocsOutOfOrder method to Collector implementations. LUCENE-1673, LUCENE-1701 - Trie has moved to Lucene core and renamed to NumericRangeQuery. LUCENE-1662, LUCENE-1687 - Replace usage of ExtendedFieldCache by FieldCache. SOLR-1241: Solr's CharFilter has been moved to Lucene. Remove CharFilter and related classes from Solr and use Lucene's corresponding code. SOLR-1261: Lucene trunk renamed RangeQuery & Co to TermRangeQuery. git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@794328 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 11 + example/solr/conf/schema.xml | 6 +- lib/lucene-analyzers-2.9-dev.jar | 2 +- lib/lucene-core-2.9-dev.jar | 2 +- lib/lucene-highlighter-2.9-dev.jar | 2 +- lib/lucene-memory-2.9-dev.jar | 2 +- lib/lucene-misc-2.9-dev.jar | 2 +- lib/lucene-queries-2.9-dev.jar | 2 +- lib/lucene-snowball-2.9-dev.jar | 2 +- lib/lucene-spellchecker-2.9-dev.jar | 2 +- .../apache/solr/analysis/BaseCharFilter.java | 75 ----- .../org/apache/solr/analysis/CharFilter.java | 75 ----- .../solr/analysis/CharFilterFactory.java | 2 + .../org/apache/solr/analysis/CharReader.java | 69 ----- .../org/apache/solr/analysis/CharStream.java | 38 --- .../analysis/CharStreamAwareCJKTokenizer.java | 276 ------------------ .../CharStreamAwareCJKTokenizerFactory.java | 33 --- .../CharStreamAwareCharTokenizer.java | 102 ------- .../CharStreamAwareWhitespaceTokenizer.java | 33 --- ...StreamAwareWhitespaceTokenizerFactory.java | 33 --- .../solr/analysis/MappingCharFilter.java | 123 -------- .../analysis/MappingCharFilterFactory.java | 11 +- .../apache/solr/analysis/NormalizeMap.java | 55 ---- .../apache/solr/analysis/TokenizerChain.java | 3 +- .../analysis/TrieQueryTokenizerFactory.java | 81 ----- ...Factory.java => TrieTokenizerFactory.java} | 27 +- .../solr/core/StandardDirectoryFactory.java | 8 +- .../handler/component/QueryComponent.java | 10 +- .../org/apache/solr/request/SimpleFacets.java | 9 +- .../org/apache/solr/schema/FieldType.java | 11 +- .../org/apache/solr/schema/TrieField.java | 60 ++-- .../org/apache/solr/search/BitDocSet.java | 3 +- .../solr/search/DocSetHitCollector.java | 6 +- .../org/apache/solr/search/QueryParsing.java | 25 +- .../apache/solr/search/SolrIndexSearcher.java | 9 + .../search/function/DoubleFieldSource.java | 12 +- .../search/function/FieldCacheSource.java | 3 +- .../solr/search/function/LongFieldSource.java | 12 +- .../search/function/StringIndexDocValues.java | 1 - .../apache/solr/analysis/TestCharFilter.java | 69 ----- .../solr/analysis/TestMappingCharFilter.java | 176 ----------- .../org/apache/solr/util/TestOpenBitSet.java | 3 +- src/webapp/web/admin/analysis.jsp | 4 +- 43 files changed, 135 insertions(+), 1355 deletions(-) delete mode 100644 src/java/org/apache/solr/analysis/BaseCharFilter.java delete mode 100644 src/java/org/apache/solr/analysis/CharFilter.java delete mode 100644 src/java/org/apache/solr/analysis/CharReader.java delete mode 100644 src/java/org/apache/solr/analysis/CharStream.java delete mode 100644 src/java/org/apache/solr/analysis/CharStreamAwareCJKTokenizer.java delete mode 100644 src/java/org/apache/solr/analysis/CharStreamAwareCJKTokenizerFactory.java delete mode 100644 src/java/org/apache/solr/analysis/CharStreamAwareCharTokenizer.java delete mode 100644 src/java/org/apache/solr/analysis/CharStreamAwareWhitespaceTokenizer.java delete mode 100644 src/java/org/apache/solr/analysis/CharStreamAwareWhitespaceTokenizerFactory.java delete mode 100644 src/java/org/apache/solr/analysis/MappingCharFilter.java delete mode 100644 src/java/org/apache/solr/analysis/NormalizeMap.java delete mode 100644 src/java/org/apache/solr/analysis/TrieQueryTokenizerFactory.java rename src/java/org/apache/solr/analysis/{TrieIndexTokenizerFactory.java => TrieTokenizerFactory.java} (63%) delete mode 100644 src/test/org/apache/solr/analysis/TestCharFilter.java delete mode 100644 src/test/org/apache/solr/analysis/TestMappingCharFilter.java diff --git a/CHANGES.txt b/CHANGES.txt index 588b441868c..c4247c0ade1 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -552,6 +552,17 @@ Other Changes hitting "/admin/logging.jsp" should switch to "/admin/logging". (hossman) +42. Upgraded to Lucene 2.9-dev r794238. Other changes include: + LUCENE-1614 - Use Lucene's DocIdSetIterator.NO_MORE_DOCS as the sentinel value. + LUCENE-1630 - Add acceptsDocsOutOfOrder method to Collector implementations. + LUCENE-1673, LUCENE-1701 - Trie has moved to Lucene core and renamed to NumericRangeQuery. + LUCENE-1662, LUCENE-1687 - Replace usage of ExtendedFieldCache by FieldCache. + (shalin) + +42. SOLR-1241: Solr's CharFilter has been moved to Lucene. Remove CharFilter and related classes + from Solr and use Lucene's corresponding code (koji via shalin) + +43. SOLR-1261: Lucene trunk renamed RangeQuery & Co to TermRangeQuery (Uwe Schindler via shalin) Build ---------------------- diff --git a/example/solr/conf/schema.xml b/example/solr/conf/schema.xml index 3cea9a6a849..46dc062abb4 100755 --- a/example/solr/conf/schema.xml +++ b/example/solr/conf/schema.xml @@ -252,12 +252,12 @@ - + @@ -347,7 +347,7 @@ - +