Commit Graph

4165 Commits

Author SHA1 Message Date
Uwe Schindler 8375c97131 Fix de-serialization of interned field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833095 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 17:33:45 +00:00
Uwe Schindler 072f9e3218 LUCENE-2032: Spatial Filter is now correctly Serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@832987 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 03:43:02 +00:00
Uwe Schindler b082951277 LUCENE-2012: Add @Override in core tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@832972 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 01:55:39 +00:00
Robert Muir 80e8bfbbc9 LUCENE-2031: Move patternanalyzer from memory contrib into analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@832889 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 22:37:01 +00:00
Uwe Schindler e69b4d43f6 Fix some strange things on ApacheCon
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@832571 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 21:38:28 +00:00
Simon Willnauer 340efc119e Removed Dead code and legacy finalize method from MemoryIndexReader. The finalize method has been removed from IndexReader so subclasses do not need to override it. - Hackathon, reviewed by uschindler
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@832565 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 21:24:49 +00:00
Simon Willnauer a5da31ef90 Trivial fix of ignored return value of reader.read(). Done during hackathon - review by uschindler
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@832554 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 20:58:12 +00:00
Simon Willnauer e84f86d497 Trivial fix - changed new Character('_') into Character.valueOf('_')
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@832549 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 20:49:57 +00:00
Robert Muir 9b0c42a9c1 fix confusing smartcn javadoc bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831913 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 15:08:42 +00:00
Michael McCandless 8be6749a7e add CHANGES entry for oal.Lock.isLocked now throwing ioe
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831699 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 16:40:05 +00:00
Michael McCandless 15bda7eb1a allow Lock.isLocked to throw IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831662 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 10:12:11 +00:00
Michael McCandless a51d0ac267 LUCENE-2005: add LuSql project to contributions page
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831460 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 21:40:58 +00:00
Robert Muir 066eac49a4 LUCENE-2022: remove deprecated api from contrib/analysis and wikipedia
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831425 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 19:04:30 +00:00
Robert Muir cc374d7efc set RussianLowerCaseFilter deprecation to 4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831391 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 17:11:10 +00:00
Michael McCandless 13593aa802 LUCENE-2002: restore RussianLowerCaseFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831284 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 12:45:11 +00:00
Robert Muir 0733caac5f LUCENE-2021: use chararrayset in french elision filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831268 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 11:25:10 +00:00
Michael McCandless 4902849fb5 LUCENE-2017: improve javadocs of CloseableThreadLocal; forcefully remove calling threads entry on close
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831248 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 10:06:54 +00:00
Robert Muir 8861ba2ffd LUCENE-2014: add a thai test to prevent any similar regression
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831189 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 03:26:44 +00:00
Robert Muir 19e55ea991 LUCENE-1257: port smartchineseanalyzer to java 5
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831121 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 22:29:50 +00:00
Michael McCandless de0aaadb81 LCUENE-2016: remap invalid U+FFFF char during indexing, to prevent silent corruption
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831041 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 17:30:46 +00:00
Mark Robert Miller 88d3d41992 LUCENE-2013: SpanRegexQuery does not work with QueryScorer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@831024 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 16:41:04 +00:00
Robert Muir 1b38f9c24d LUCENE-2014: SmartChineseAnalyzer position increment bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830871 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 09:22:37 +00:00
Uwe Schindler 5c40eb4715 no branching needed, return value of version compare is already boolean
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830868 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 09:18:58 +00:00
Mark Robert Miller 8d1e2ddf0e move default similarity declaration back to top
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830800 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 23:52:47 +00:00
Uwe Schindler 786457c0e3 LUCENE-1257: Generics in contrib/memory, contrib/wordnet (previously memory), contrib/misc, contrib/benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830790 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 23:21:25 +00:00
Robert Muir 36b65637fc LUCENE-1904: Move wordnet synonym code from contrib/memory to contrib/wordnet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830699 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 17:49:53 +00:00
Uwe Schindler f2d0d94d7e No need to extend TokenStream here, a simple AttributeSource is enough for single-token-fields. This prevents us from implementing the incrementToken() throwing UOE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830668 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 16:44:31 +00:00
Uwe Schindler 964bab48d4 LUCENE-2012: Add @Override annotations to the rest of core
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830661 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 16:16:46 +00:00
Michael McCandless 66d8e773b1 LUCENE-1994: fix thread safety of EnwikContentSource and DocMaker
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830488 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 10:06:23 +00:00
Uwe Schindler 578761c635 The variable was not used but initialized. This was caused by merge from 2.9, fixed to use the final boolean.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830456 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 08:01:55 +00:00
Uwe Schindler c0f3e62ed4 No need to use Arrays.deep* methods (there are no nested arrays, the array itsself is strongly typed to a non-array).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830453 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 07:27:32 +00:00
Uwe Schindler 1be4db5d9e One more Thread.holdsLock(writer) assert...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830410 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 00:16:48 +00:00
Uwe Schindler 4f4ffb9589 More Java 5 cleanup (Arrays.hashCode, Arrays.deepEquals, Arrays.deepHashCode)
Also added the commented out "assert !Thread.holdsLock(writer);" in CMS

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830408 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 00:07:22 +00:00
Uwe Schindler 00f4efde1f LUCENE-2011: Remove deprecated Scorer.explain(int) and replace by Weight.explain(IR,int) calls in tests and PhraseQuery/SpanQuery explanations methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830377 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 22:29:41 +00:00
Mark Robert Miller b14fd4bccc credit where credits due ;)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@830000 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 22:21:07 +00:00
Uwe Schindler e4fdf4856e LUCENE-1929: Merge missing changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829999 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 22:17:51 +00:00
Uwe Schindler 54041dfbaa LUCENE-1929: Merge NumericRangeQuery tests for highlighter from 2.9 branch. The bug was already fixed by a different impl in trunk, but the test was missing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829995 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 22:06:40 +00:00
Uwe Schindler c61fa48daf LUCENE-1960: Add support for reading Field.Store.COMPRESS fields again and decompress on merge/optimize. Also convert to a new stored file version number.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829972 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 21:16:57 +00:00
Michael McCandless 6a1f2d5729 LUCENE-1973: un-deprecate IndexSearcher.setDefaultFieldSortScoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829882 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 18:04:22 +00:00
Michael McCandless 74f872182e fix some javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829817 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 14:55:51 +00:00
Michael McCandless c2bc750e48 LUCENE-2002: move changes entry back to 'API changes'
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829814 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 14:37:25 +00:00
Michael McCandless 2e4dc5b003 LUCENE-2002: move CHANGES entry under 'Changes in back compat policy' section, since it deprecates APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829774 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 12:44:02 +00:00
Michael McCandless ea2883c40a LUCENE-2008: javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829568 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 13:08:50 +00:00
Uwe Schindler fbe28af914 add changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829531 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:56:09 +00:00
Uwe Schindler 1ccd81ce81 Some more cleanups and removal of deprecated SegmentReader GCJ settings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829530 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:51:53 +00:00
Uwe Schindler 8086aad514 LUCENE-1257: Add generics to highlighter and more for benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829524 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 10:12:58 +00:00
Uwe Schindler 519095db6e Remove generics for Comparable in FieldDoc again, because we have no type and <?> makes more problems than it helps
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829319 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 08:05:22 +00:00
Uwe Schindler ce4dd93a94 This changes entry was somehow at the wrong position, I think the merge broke it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829276 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 23:14:41 +00:00
Uwe Schindler 6f6afbe1bc LUCENE-2006: Optimization for FieldDocSortedHitQueue
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829274 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 23:09:49 +00:00
Uwe Schindler 7902c4b729 Remove the remaining deprecated ctors from TokenStream API test base class (BaseTokenStreamTestCase). They were used to test old and new TokenStream API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@829244 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 21:21:17 +00:00