Commit Graph

4177 Commits

Author SHA1 Message Date
Michael McCandless 9bec958bf0 LUCENE-2044: add delete.percent.rand.seed to control random seed for DeleteByPercentTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833861 13f79535-47bb-0310-9956-ffa450edef68
2009-11-08 11:54:35 +00:00
Michael McCandless 47a52d9f49 LUCENE-2043: CommitIndexTask also commits pending changes in the open IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833765 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 21:13:01 +00:00
Michael McCandless e817cfce3a LUCENE-2043: CommitIndexTask also commits pending changes in the open IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833764 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 21:12:12 +00:00
Michael McCandless 10e6ceac5d LUCENE-2043: CommitIndexTask also commits pending changes in the open IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833763 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 21:11:42 +00:00
Michael McCandless a797338188 LUCENE-2042: also print how many terms were searched, when the query is a MTQ
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833762 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 21:10:38 +00:00
Michael McCandless 0e2839b2b2 LUCENE-2042: add print.hits.field config
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833745 13f79535-47bb-0310-9956-ffa450edef68
2009-11-07 20:08:00 +00:00
Michael McCandless 73944292d4 LUCENE-2029: allow separate control over body stored/tokenized in DocMaker
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833605 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 23:44:10 +00:00
Uwe Schindler 15743fc179 LUCENE-504: Change FuzzyQuery to use java.utilPriorityQueue which grows dynamically to support BooleanQuery.maxClauseCount(Integer.MAX_VALUE) without exhausting all memory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833544 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 20:15:23 +00:00
Michael McCandless 53b807726a fold in 2.9.1 contrib/CHANGES entry to trunk's
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833475 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 17:10:22 +00:00
Michael McCandless 4c2adde0e3 fold in 2.9.1 CHANGES entry to trunk's
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833474 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 17:07:16 +00:00
Uwe Schindler fbca69baa0 Fix the heavy committing error :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833297 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 04:29:24 +00:00
Simon Willnauer 48d6f2122d LUCENE-2032: fixed serialization issue in CartesianShapeFilter and removed referenced to java 5 logging API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@833122 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 18:49:21 +00:00
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