Commit Graph

11342 Commits

Author SHA1 Message Date
Michael McCandless 50ab75baa3 LUCENE-2142: if FieldsCache.getStrings/Index is mis-used (more than 1 term per doc), stop loading once number of terms > number of docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@957516 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 11:57:20 +00:00
Uwe Schindler 18d21f9f11 LUCENE-2142: merge 3.x test only, as trunk uses different StringIndex variant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@957492 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 10:24:15 +00:00
Michael McCandless f81a5d9bf6 LUCENE-2512: fix DeleteByPercentTask to work again post flex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@957486 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 10:13:45 +00:00
Michael McCandless a9947aeb8d fix QueryUtils (for tests) to track lastReader correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@957481 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 10:02:34 +00:00
Michael McCandless e92a91ed18 LUCENE-2410: ~2.5X speed up for exact (slop=0) PhraseQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@957465 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 09:17:52 +00:00
Shai Erera a545c8c063 Fix silly bug in the regex used to normalize the MXBean name (used a..z instead of a-z - which removed too many characters)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@957218 13f79535-47bb-0310-9956-ffa450edef68
2010-06-23 14:31:51 +00:00
Michael McCandless 7686d2f301 LUCENE-2509: small code cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@956906 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 14:35:10 +00:00
Robert Muir eb444204d6 move random accepted string test utility code to src/test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@956637 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 16:35:58 +00:00
Mark Robert Miller c6bd141f11 spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@956616 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 15:15:11 +00:00
Yonik Seeley 0f5172a44e LUCENE-2380: expose method of getting native arrays
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@956286 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 20:20:28 +00:00
Yonik Seeley 04765f68d1 LUCENE-2378: add ability to populate BytesRef instances while filling PagedBytes, and make UnInvertedField's TermIndex use this to share a byte[]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955785 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 23:23:22 +00:00
Michael McCandless 9fed2f7e13 LUCENE-2378: fix silly perf regression
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955769 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 22:31:50 +00:00
Uwe Schindler 7d208167c2 restore one entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955615 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 14:33:25 +00:00
Uwe Schindler 09de7f36dd Update changes after release of 2.9.3/3.0.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955613 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 14:28:35 +00:00
Michael McCandless d22876971e LUCENE-2501: strengthen this testcase a bit, but I still can't get it to fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955547 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 10:54:23 +00:00
Michael McCandless 8c10e9badb fix false failure: test was converting invalid UTF8 to UTF16 through 2 different APIs (java & Lucene) and then asserting result is equal
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955545 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 10:48:20 +00:00
Michael McCandless 3ffe87df60 fix false failure in random test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955525 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 09:34:06 +00:00
Michael McCandless 10a240656f LUCENE-2502: remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955518 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 09:07:04 +00:00
Michael McCandless c91bddb26b LUCENE-2380: hard cutover of all preflex APIs to flex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955257 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 15:17:32 +00:00
Robert Muir 5a661500c1 LUCENE-2413: directory and package fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955203 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 11:33:29 +00:00
Yonik Seeley 98b1313d34 LUCENE-2380: add getTermsEnum for FieldCache entry and use it for fieldcache merging in Solr faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@954904 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:15:58 +00:00
Shai Erera 5d7197b306 testNoSegmentFile failed on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@953988 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 10:58:16 +00:00
Shai Erera 1cf9b74a22 LUCENE-2497: fix a bug that was introduced in LUCENE-2480
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@953986 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 10:47:35 +00:00
Uwe Schindler d0e4a7eab9 fix typo and move to right place (until release)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@953714 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 15:10:45 +00:00
Michael McCandless 7fe6c0fb24 remove accidental System.out.println
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@953634 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 09:51:03 +00:00
Michael McCandless 390fbf21d2 LUCENE-2496: don't throw NPE on trying to CREATE over a corrupt index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@953628 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 09:45:04 +00:00
Simon Willnauer db1cb0bcb5 LUCENE-2494: use CompletionService in ParallelMultiSearcher instead of simple polling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@953407 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 17:27:53 +00:00
Uwe Schindler 608f816434 LUCENE-2484: Remove deprecated TermAttribute. Use CharTermAttribute and TermToBytesRefAttribute instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@952616 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 11:27:55 +00:00
Michael McCandless e3707c247a JDK1.5 does not let you @Override interface methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@952432 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 20:57:28 +00:00
Michael McCandless 07fc03e401 LUCENE-2489: move PerFieldCodecWrapper to core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951785 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 22:36:06 +00:00
Michael McCandless 9c034e2b0e LUCENE-2487: IndexReader subclasses must implement flex API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951760 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 20:31:36 +00:00
Yonik Seeley a6a9e5fce8 LUCENE-2380: fix bug where each term was written twice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951737 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 16:16:18 +00:00
Michael McCandless 26ea856e1b fix silly thread hazard w/ MultiBits; add unit test; small cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951732 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 15:53:30 +00:00
Michael McCandless 27b2e1054c LUCENE-2486: incRef the doc store files so we can load them when opening the reader for warming
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951521 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 18:42:15 +00:00
Michael McCandless 39edb867b2 LUCENE-2380: align for both doc->ord and ord->value, when fasterButMoreRAM is true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951520 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 18:39:16 +00:00
Uwe Schindler 89cda5401c remove useless property
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951397 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 13:06:10 +00:00
Michael McCandless 5189558edb don't suppress CMS exception details
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951355 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 10:46:54 +00:00
Michael McCandless 46acc0cbb3 LUCENE-2380: cutover to shared byte[] (BytesRef) instead of String, in FieldCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@951104 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 18:38:05 +00:00
Michael McCandless 425ffb2a2b LUCENE-2424: make CHANGES entry wording consistent across versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950685 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 17:38:25 +00:00
Michael McCandless 00cdc313e1 LUCENE-2311: pass fully loaded reader to mergedSegmentWarmer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950613 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 16:06:24 +00:00
Michael McCandless 37be97b0f9 LUCENE-2356: improve jdocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950467 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 10:10:08 +00:00
Michael McCandless 5e5c553b6c LUCENE-2356: fix spelling in CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950464 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 10:02:31 +00:00
Michael McCandless b956dfe699 LUCENE-2356: allow setting termsIndexDivisor for all readers opened by IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950458 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 09:41:35 +00:00
Michael McCandless 9447b3e208 fix typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950312 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 23:41:06 +00:00
Michael McCandless a9eb9c50a4 LUCENE-2424: add missing CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950048 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 12:49:10 +00:00
Robert Muir ad0e495911 LUCENE-2372: switch over remaining uses of TermAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950008 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 10:35:13 +00:00
Michael McCandless 7661fe8c04 fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950006 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 10:33:54 +00:00
Michael McCandless 661605348f LUCENE-2299, LUCENE-2360: add missing CHANGES entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949997 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 10:16:30 +00:00
Michael McCandless 5179757fdd LUCENE-2299: don't miss segments in NRT reader if addIndexes is running
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949976 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 09:39:02 +00:00
Shai Erera d43627afe1 LUCENE-2481: Enhance SnapshotDeletionPolicy to allow taking multiple snapshots (merge from 3x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949756 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 14:37:11 +00:00
Uwe Schindler 972ed36266 revert VirtualMethod exception name, it was correct
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949545 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 17:52:24 +00:00
Koji Sekiguchi 646d2f50dc fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949525 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 15:02:06 +00:00
Shai Erera 8ea260a254 LUCENE-2480: Remove support for pre-3.0 indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949509 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 12:25:52 +00:00
Uwe Schindler 98b252ed7f LUCENE-2295: Added a LimitTokenCountAnalyzer / LimitTokenCountFilter to wrap any other Analyzer and provide the same functionality as MaxFieldLength provided on IndexWriter. This patch also fixes a bug in the offset calculation in CharTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949445 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 23:14:18 +00:00
Michael McCandless dc26c26956 LUCENE-2468: strengthen javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949311 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 22:24:39 +00:00
Michael McCandless 85a977bf9d LUCENE-2468: make CachingWrapperFilter treatment of new deletes customizable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949288 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 20:45:29 +00:00
Michael McCandless 7e5a4cd67e remove unnecessary final modifiers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949270 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 19:51:22 +00:00
Robert Muir 181bcbc149 fix contrib/demo's javacc target
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949165 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 12:56:27 +00:00
Robert Muir 38aa464ab1 include the demo war file in 'ant dist' and change the README to refer to the new location
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949164 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 12:49:22 +00:00
Robert Muir b8a12e8c8b remove useless demo cruft (not necessary as it builds as a normal contrib)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@949156 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 12:05:25 +00:00
Shai Erera d6dd2e234e LUCENE-2455: Some house cleaning in addIndexes* (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@948861 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 15:36:32 +00:00
Michael McCandless 6ae79d9b3f LUCENE-2467: more mem reduction during indexing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@948542 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 19:07:44 +00:00
Uwe Schindler c8108ec9b1 LUCENE-2478: Fix CachingWrapperFilter to not throw NPE when Filter.getDocIdSet() returns null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@948429 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 13:57:52 +00:00
Mark Robert Miller 6149b63976 revert 2458
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@948417 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 12:51:50 +00:00
Robert Muir 2e8a9b98de LUCENE-2458: queryparser turns all CJK queries into phrase queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@948326 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 05:43:00 +00:00
Robert Muir a0c72afb31 LUCENE-2413: move more core analysis to analyzers module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@948225 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 22:28:32 +00:00
Robert Muir 71b59ca566 LUCENE-2413: consolidate remaining concrete core analyzers to modules/analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@948195 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 20:16:44 +00:00
Michael McCandless 04c8590b80 LUCENE-2476: release write lock on any exception during IndexWriter ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@948082 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 16:05:03 +00:00
Robert Muir 5259d7d90b LUCENE-2413: move KeywordMarkerFilter to analyzers module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@946621 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 13:23:12 +00:00
Robert Muir 56e4df5f3d LUCENE-2473: Clicking on the more results link in luceneweb.war demo results in AIOOBE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@946599 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 12:00:15 +00:00
Robert Muir 5ccb3ae286 LUCENE-2413: fold contrib/icu into analyzers module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@946590 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 10:46:00 +00:00
Michael McCandless 28a153babc LUCENE-2440: add custom ExecutorService to ParallelMultiSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@946338 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:58:23 +00:00
Michael McCandless 9f973b6988 add comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@946330 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:37:21 +00:00
Robert Muir fe5f1aabcb LUCENE-1287: Allow usage of HyphenationCompoundWordTokenFilter without a dictionary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@946139 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 11:58:37 +00:00
Uwe Schindler d25dcf4d40 update version number in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@945593 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 11:31:57 +00:00
Michael McCandless 3e53e6561e LUCENE-2467: fix memory leaks in IW when indexing very large docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@945420 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 23:12:34 +00:00
Robert Muir 62307cb0b5 LUCENE-2466: fix these lucene tests to work under all locales
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@945274 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 17:58:43 +00:00
Robert Muir 824939d7e5 LUCENE-2466: fix locale bugs for tr_TR locale: casing problems in lucene/solr code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@945245 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 17:18:10 +00:00
Uwe Schindler cd45643b96 LUCENE-2384: Remove hack, as JFlex trunk now has the zzBuffer bug fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@945130 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 13:13:10 +00:00
Robert Muir acbf053b7c LUCENE-2463: Improve Greek analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@945090 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 11:28:04 +00:00
Michael McCandless 97a95c3a6a fix typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@945057 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 10:01:26 +00:00
Robert Muir 73f24351af LUCENE-2413: convert more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@944966 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 04:38:23 +00:00
Robert Muir 4092c03de7 LUCENE-2413: convert over more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@944925 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 22:21:48 +00:00
Robert Muir e292af7b12 LUCENE-2413: clean up/doc MockAnalyzer, add a MockTokenFilter, which can simulate stopword/lengthfilter/keepfilter,etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@944908 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 20:56:58 +00:00
Robert Muir d23eb64bd7 LUCENE-2413: switch over more tests to use MockAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@944677 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 16:34:07 +00:00
Michael McCandless 4e93b11311 LUCENE-2462: remove DocsAndPositionsEnum.getPayloadLength
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@944320 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 15:41:02 +00:00
Shai Erera cb13ac0de9 LUCENE-1585: Allow to control how payloads are merged (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@944220 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 12:12:00 +00:00
Robert Muir f753fb2873 add a temporary workaround for the sort order problem
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@944130 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 06:12:15 +00:00
Michael McCandless ee5ec3ed32 LUCENE-2393: add total TF tracking to HighFreqTerms tool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@943936 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 17:02:54 +00:00
Michael McCandless 48cca13075 LUCENE-2459: fix FilterIndexReader to (by default) emulate flex API on top of pre-flex API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@943935 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 16:51:18 +00:00
Michael McCandless 712ce48d67 LUCENE-2449: fix DBLRU cache to clone key when it promotes an entry during lookup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@943931 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 16:41:34 +00:00
Robert Muir 317d311e7a LUCENE-2410: add a PhraseQuery->TermQuery rewrite when there is only one term
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@943493 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 13:45:44 +00:00
Robert Muir d1ecb22f8a LUCENE-2413: add MockAnalyzer and switch a lot of tests to use it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@943288 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 20:48:58 +00:00
Michael McCandless 351474f2b5 LUCENE-2329: fix bug in mem tracking caused in merging back from trunk; clean up some dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@943142 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 15:11:16 +00:00
Robert Muir 57a8756a9e support cranking up the memory index test randomness
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@942719 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 12:26:57 +00:00
Michael McCandless 972da5872f LUCENE-2449: add 'knob' (-Drandom.multiplier=N, defaults to 1) to tune up how much random testing is done; fix sneaky bugs (workaround java's bug in new String(int[], int, int); nasty key reuse bug in DBLRUCache) that this deeper testing uncovered
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@942676 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 07:47:12 +00:00
Michael McCandless 79839b1264 fix some eclipse warnings (thanks Shai!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@942421 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 17:27:41 +00:00
Mark Robert Miller 06f7a37943 fix package oddities
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@942410 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 16:17:27 +00:00
Robert Muir 1b020be130 LUCENE-2437: Indonesian Analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@942235 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 21:21:12 +00:00
Michael McCandless 25404004d7 LUCENE-2451: remove dead code in oal.util.cache; keep only DBLRUCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@942166 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 18:22:35 +00:00
Robert Muir 4a1c8c37c4 use the new _TestUtil.randomUnicodeString here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@941780 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06 15:39:35 +00:00
Robert Muir 1e1296e6f8 sync all changes to reflect reality
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@941710 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06 13:08:59 +00:00
Robert Muir 3c331fe996 LUCENE-2444: remove refs to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@941377 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:43:46 +00:00
Robert Muir bef21b3e18 LUCENE-2444: boilerplate stuff for the analyzers module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@941369 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:27:58 +00:00
Michael McCandless ced530aee9 LUCENE-2387: add missing CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@941363 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 16:18:37 +00:00
Robert Muir f6e9cc9f32 LUCENE-2444: move contrib/analyzers to modules/analysis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@941308 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 14:26:59 +00:00
Michael McCandless c1a666b604 fix jdocs; fix unsupported overridden ops in DocsAndPositionsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@941269 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 12:43:54 +00:00
Michael McCandless 0a66653baa LUCENE-2283: mark RAMOutputStream as internal
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@941258 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 11:45:57 +00:00
Michael McCandless 49631091d6 LUCENE-2422: don't reuse byte[]/char[] for String IO in IndexInput/Output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940994 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 18:38:18 +00:00
Robert Muir 27502aa045 LUCENE-2413: Consolidate KeepWords,HyphenatedWords,Trim filters to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940962 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 17:07:28 +00:00
Uwe Schindler 1fdaf68d0d sorry last fix was wrong
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940892 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 15:09:52 +00:00
Uwe Schindler a96f5e9549 fix the if statements that broke with parallel testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940878 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 14:44:29 +00:00
Uwe Schindler e00e3c763a disable backwards in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940874 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 14:32:46 +00:00
Uwe Schindler d9771d17ec Update trunk's version to 4.0. TODO: Solr docs and version updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940845 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 13:26:36 +00:00
Uwe Schindler 136ad0acbf reflect merges in trunk changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940835 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 12:43:46 +00:00
Uwe Schindler 265a64259c update contrib changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940820 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 12:12:03 +00:00
Uwe Schindler 20a0dc280d split changes for 3.x and trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940818 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 12:04:08 +00:00
Robert Muir cd320b5f57 LUCENE-2413: consolidate pattern analysis into contrib/analyzers, deprecate the old PatternAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940813 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 11:57:21 +00:00
Robert Muir 6fa480a5ed LUCENE-2413: consolidate RemoveDuplicatesTokenFilter to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940788 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 09:55:43 +00:00
Robert Muir 9238c5f5ca LUCENE-2413: consolidate WDF into contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940781 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 09:11:05 +00:00
Robert Muir a9ef636cb1 LUCENE-2413: consolidate HTMLStripCharFilter into contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940768 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 08:33:52 +00:00
Robert Muir 1d1331fa03 LUCENE-2413: consolidate commongrams into contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940761 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 07:50:41 +00:00
Robert Muir 435cc41758 add missing package.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940756 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 07:16:13 +00:00
Uwe Schindler ae2a28599d LUCENE-2265: Fix Java 5 compilation -- Generics-Police and Java-5-Police is angry! :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940743 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 06:35:52 +00:00
Shai Erera 8a4b9df69d LUCENE-2421: Hardening of NativeFSLock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940730 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 05:25:09 +00:00
Robert Muir f9249e3a74 LUCENE-2413: move high-level charfilters to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940676 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 23:36:03 +00:00
Michael McCandless 5b74a4ec61 LUCENE-2265: cutover Fuzzy, Wildcard, Regexp queries to operate on Unicode UTF32 code point not UTF16 code units
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940671 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 23:23:57 +00:00
Robert Muir edcc0666c9 LUCENE-2413: consolidate TeeSinkTokenFilter to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940633 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 21:40:45 +00:00
Uwe Schindler 5f68c89e2d LUCENE-2413: Move PerFieldAnalyzerWrapper and LengthFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 21:37:46 +00:00
Robert Muir 89c24fbe37 LUCENE-2413: consolidate ASCIIFolding and ISOLatin1Accent to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940591 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 20:02:06 +00:00
Uwe Schindler d5c0eacc75 LUCENE-2438: Fix encoding in NumericUtils to also set offset to 0 (and javadocs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940545 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:06:49 +00:00
Yonik Seeley 4258ebca68 javadoc: define UTF16toUTF8 result.offset=0, doc that BytesRef references byte[] instead of copying
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940542 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 17:59:27 +00:00
Yonik Seeley 9b9a365bd0 LUCENE-2438: don't pre-allocate before UTF16TOUTF8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940525 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 17:30:55 +00:00
Yonik Seeley 1c79ee4c70 LUCENE-2438: BytesRef improvements, bytes!=null, kill many cases of oversizing, implement comparable as index order, fix some javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940511 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 16:56:47 +00:00
Robert Muir 1d14f8f18f LUCENE-2413: consolidate PorterStemmer to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940459 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 13:54:44 +00:00
Uwe Schindler 722e52db36 LUCENE-2400: Missed name in changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940452 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 13:32:12 +00:00
Uwe Schindler 7cd9a8da03 LUCENE-2400: ShingleFilter: don't output all-filler shingles/unigrams; also, convert from TermAttribute to CharTermAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940451 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 13:28:14 +00:00
Robert Muir 5abbf3429c LUCENE-2414: Add ICUTokenizer, tailorable impl of Unicode Text Segmentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940447 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 13:20:09 +00:00
Robert Muir 98c47c57e0 LUCENE-2298: Add stempel, an algorithmic stemmer with included Polish support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940433 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 12:44:22 +00:00
Chris M. Hostetter 220f9ee81c revert the static boolean checkFieldCacheSanity that yonik added for SOLR-1875. since it's in the base class it's dangerous if some test class sets it to false and never sets it back to true. added additional comments to where assertSaneFieldCaches is called so that if people run into the same situation yonik did in hte future they'll see how to deal with it (either by refactoring, or by using purgeFieldCache)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939889 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 00:50:24 +00:00
Michael McCandless a7659e55ef jdoc improvement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939746 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 17:23:14 +00:00
Shai Erera 9f2cd93b93 LUCENE-2417: changed IndexCommit methods to abstract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939649 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 12:07:19 +00:00
Michael McCandless bb69d0f207 LUCENE-2424: fix silly bug in FieldDoc.toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939611 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 09:50:46 +00:00
Yonik Seeley 90526f0ea1 SOLR-1875: Per-segment field faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939339 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 15:13:59 +00:00
Robert Muir c6e8519b51 LUCENE-2419: improve parallel tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@939111 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 22:08:59 +00:00
Shai Erera c6e0e86acc LUCENE-2417: Fix IndexCommit hashCode() and equals() to be consistent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@938989 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 15:07:46 +00:00
Shai Erera c3a253ad9c LUCENE-2416: changed NORMALIZER (Pattern) to ThreadLocal, since it was left un-synced
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@938646 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 20:58:02 +00:00
Shai Erera 8dccdd7679 LUCENE-2416: Some improvements to Benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@938582 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 17:59:45 +00:00
Uwe Schindler c32bb32ce1 LUCENE-2415: Use reflection instead of a shim class to access Jakarta Regex prefix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@937360 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 16:43:50 +00:00
Robert Muir f1b979721a LUCENE-2409: Add ICUTransformFilter to support ICU transforms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@937039 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 19:55:31 +00:00
Michael McCandless e5e05ae8ba improve flex javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936829 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 13:16:28 +00:00
Robert Muir e48349b757 modify example to be more performant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936726 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 10:14:09 +00:00
Robert Muir bc32989b04 add an example showing how to control back compat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936724 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 10:09:25 +00:00
Robert Muir 9d1de14c75 enhance contrib/icu documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936700 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 09:52:01 +00:00
Robert Muir 3599d0c60b LUCENE-1343: Add ICUFoldingFilter, normalizes unicode text for search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936657 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 08:47:49 +00:00
Shai Erera bd8aebac1c LUCENE-2402: Add an explicit method to invoke IndexDeletionPolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@936605 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 03:45:01 +00:00
Uwe Schindler 9b88f3cf60 LUCENE-2404: Add missing LowerCaseFilter to javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935771 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 23:24:35 +00:00
Uwe Schindler a95a785c74 LUCENE-2404: Improve performance of ThaiWordFilter by using a char[]-backed CharacterIterator (currently from javax.swing).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935734 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 20:48:50 +00:00
Shai Erera 24260eb6da LUCENE-2397: SnapshotDeletionPolicy.snapshot() throws NPE if no commits happened
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935522 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 10:54:20 +00:00
Uwe Schindler baa94a8936 LUCENE-2401: Improve CharTermAttribute performance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935521 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 10:45:25 +00:00
Robert Muir 514161467f LUCENE-2399: speed this filter up 20% (icu optimizes for dest = stringbuilder)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935513 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 10:19:45 +00:00
Robert Muir 12a7360fef LUCENE-2399: Add support for ICU's Normalizer2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935186 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 15:07:34 +00:00
Robert Muir e18484fa4c further simplify build: benchmark tests act like normal tests and don't need this anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935065 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:05:39 +00:00
Robert Muir 90a0edacca LUCENE-2398: allow this test to work from eclipse too, simplify build some more
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935048 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 19:16:31 +00:00
Robert Muir 605656e960 LUCENE-2398: Improve tests to work better from IDEs such as Eclipse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@935014 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:13:23 +00:00
Michael McCandless 4c18268a19 add an additional assert to try to catch possible 'fdx size mismatch' bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934954 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 14:59:07 +00:00
Grant Ingersoll 5a10e41aa8 sick of the horribly ugly formatting in this file. My eyes just can't take it anymore!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934860 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 13:15:34 +00:00
Michael McCandless ea9cc21c5d speed up TestStressIndexing2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934339 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 09:28:50 +00:00
Grant Ingersoll 3130cd1e0e Reverting earlier spatial changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934251 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 00:15:52 +00:00
Michael McCandless 2e204d167a LUCENE-2111: fix HighFreqTerms to work on flex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@934144 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 19:46:10 +00:00
Grant Ingersoll 4238a84026 LUCENE-2184: clean up API a bit more, test still fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933942 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 13:25:10 +00:00
Grant Ingersoll ddae6f06db LUCENE-2184: previous commit broke this
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933908 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 10:41:36 +00:00
Shai Erera 8703572fc2 LUCENE-2316: Define clear semantics for Directory.fileLength
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933879 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 08:28:51 +00:00
Grant Ingersoll 994189c221 LUCENE-2366, LUCENE-2367, LUCENE-2359: Fix a bunch of issues related to spatial
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933754 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 19:21:20 +00:00
Robert Muir a0de834403 remove more references to the old trunks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933679 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 15:33:32 +00:00
Shai Erera 7a65a1823a LUCENE-2386: IndexWriter commits unnecessarily on fresh Directory (take #2)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933613 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 14:04:18 +00:00
Robert Muir 4f860640a8 LUCENE-1709: add ant jars for the convenience of IDE users
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933575 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 12:12:20 +00:00
Shai Erera e525dbd83f LUCENE-2386: reverting previous commit due to failing Solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932917 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 14:41:06 +00:00
Shai Erera 9992282d53 LUCENE-1709: force benchmark tests to run sequentially and enable threadsPerProcessor as arg to ant (default to 1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932878 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 12:18:16 +00:00
Uwe Schindler 287d4a657d add missing license header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932873 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 12:10:57 +00:00
Shai Erera 2ff8550aa4 LUCENE-2386: IndexWriter commits unnecessarily on fresh Directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932868 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 11:31:09 +00:00
Uwe Schindler 5aa974d330 LUCENE-2389: Removed the now obsolete and deprecated Analyzer.setOverridesTokenStreamMethod(). Analyzer and TokenStream base classes now have an assertion in their ctor, that check subclasses to be final or at least have final implementations of incrementToken(), tokenStream(), and reusableTokenStream()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932864 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 10:37:38 +00:00
Robert Muir 3ae65e769c LUCENE-1709: use the build temp dir for junit temp files, prevents obnoxious junit temp files from littering the source tree
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932857 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 09:51:17 +00:00
Robert Muir d4b3141029 LUCENE-2358: rename KeywordMarkerTokenFilter to KeywordMarkerFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932856 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 09:21:01 +00:00
Robert Muir b20f103fd7 LUCENE-2390: fix random remote test failures and refactor tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932795 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 21:44:06 +00:00
Michael McCandless b5b5f24167 fix jdocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932779 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 18:19:49 +00:00
Uwe Schindler d02cbfe3c1 LUCENE-2372: Convert core analyzers to CharTermAttribute. Also made rest of core analyzers final.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932749 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 15:41:27 +00:00
Robert Muir 06283e9f63 LUCENE-2323: move ChainedFilter from misc to contrib/queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932748 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 15:36:46 +00:00
Uwe Schindler a4b8c40e4a some minor cleanups and faster jflex classpath :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932747 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 15:30:05 +00:00
Robert Muir 524b4470a1 LUCENE-2323: move surround queryparser to queryparser contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932731 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:23:08 +00:00
Michael McCandless 1976521215 cut back number of test iterations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932708 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 12:16:01 +00:00
Uwe Schindler 877a6f0964 fix line ending again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932702 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 11:49:26 +00:00
Uwe Schindler f0a62389eb Fix javacc and jflex builds, speed up contrib build by removing un related checks. Also updated wikipedia tokenizer to jeflex 1.5 and hardcoded unicode 3.0 (which is java 1.4 for backwards compatibility). Also rebuilt all javacc and jflex parsers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932698 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 11:42:53 +00:00
Uwe Schindler b299b836ec remove duplicate changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932587 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 20:37:07 +00:00
Michael McCandless c8d0754cc0 fix 1.5 specific javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932569 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 20:06:51 +00:00
Robert Muir 9d677afeae javadoc html fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932564 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 20:00:28 +00:00
Robert Muir cda9119598 LUCENE-2323: move WikipediaTokenizer to contrib/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932541 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 18:40:55 +00:00
Michael McCandless 1afb76ab3a LUCENE-2387: don't hang onto Fieldable of last doc indexed in IW, nor to Reader in Tokenizer after close is called
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932398 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 13:12:06 +00:00
Uwe Schindler cf55de992c Fix deprecation warnings by incorrect javadocs in code commented out :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932374 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 12:12:48 +00:00
Uwe Schindler 48b93456e5 LUCENE-2302: Fix toString() issues with Token, add javadocs explaining break, and add missing CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932369 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 11:50:16 +00:00
Uwe Schindler f2dfa0bf3f LUCENE-2302: Remove unneeded null checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932304 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 08:52:41 +00:00
Uwe Schindler be7da179ff LUCENE-2074: Refactor StandardTokenizer to have separate JFlex files per matchVersion. Also reset zzBuffer to initial size on reset(Reader) and clean up reset methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932163 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 22:56:23 +00:00
Shai Erera 81c21e163b LUCENE-2385: TestNoDeletionPolicy was not added to version control. sorry !
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932131 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:38:09 +00:00
Shai Erera 5792f0d711 LUCENE-2385: Move NoDeletionPolicy from benchmark to core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932129 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:34:11 +00:00
Michael McCandless 0a5e6806f3 LUCENE-2383: some small cleanups after landing flex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@931668 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 20:24:53 +00:00
Michael McCandless 1c058e28cb LUCENE-1458,LUCENE-2111: add some CHANGES entries describing changes in flex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@931597 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 15:56:38 +00:00
Michael McCandless 7ba2a17e78 absorb flex branch section of CHANGES into main CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@931510 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 11:59:29 +00:00
Shai Erera a37ac8ba7d LUCENE-2377: Enable the use of NoMergePolicy and NoMergeScheduler by Benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@931502 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 11:03:32 +00:00
Michael McCandless ba9876c4f5 LUCENE-1990: fix Mutable case where out-of-order writes could incorrectly overwrite adjacent values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@931327 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 20:58:22 +00:00
Michael McCandless 29ff915048 LUCENE-1976: fix again for 3.1 (fix was temporarily lost in flex merge)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@931314 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 20:38:14 +00:00
Michael McCandless d40dacc805 LUCENE-2329: fix deadlock case after flush; fixed ram balancing between deleting & indexing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@931298 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 19:56:59 +00:00
Uwe Schindler b679816a70 LUCENE-2370: Reintegrate flex_1458 branch into trunk (revision 931101)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@931278 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 19:19:27 +00:00
Michael McCandless 1b3d0eb274 LUCENE-2365: IndexWriter.newestSegment returns null if there are no segments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@930932 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 19:31:43 +00:00
Grant Ingersoll eaca8cc2e8 LUCENE-2359: fixed edge case around 180th meridian
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@929956 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 13:04:47 +00:00
Michael McCandless a528a707c1 LUCENE-2360: don't use .toArray to recycle byte[] blocks used by doc stores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@929738 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 22:43:04 +00:00
Grant Ingersoll f3ba962a5e add a minor comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@929714 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 21:03:10 +00:00
Grant Ingersoll 61d2ad1eb3 added some comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@929704 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 20:02:29 +00:00
Grant Ingersoll 7cc8b1b484 added some comments, removed an extra, useless if check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@929698 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 19:54:41 +00:00
Shai Erera 721ce98f67 LUCENE-2353: forgot to remove "via ?" from CHANGES :)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@929524 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 13:11:55 +00:00
Shai Erera 76dd311c5c JIRA-2353: Config incorrectly handles Windows absolute pathnames
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@929520 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 13:06:13 +00:00
Grant Ingersoll 61b781d376 LUCENE-2148: Fix best fit bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@928860 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 18:40:21 +00:00
Grant Ingersoll 1602a0cf90 remove unused file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@928846 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 17:43:35 +00:00
Uwe Schindler 5738583f3b Use getDataDir also for index backwards compatibility tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@928243 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 18:34:21 +00:00
Uwe Schindler c3d2d45dca LUCENE-2306: Fix wrong package names in tests and missing super.tearDown()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@928177 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 09:17:34 +00:00
Mark Harwood b83700b51e Lucene-2306: - Add NumericRangeQuery and NumericRangeFilter support to XMLQueryParser.
Jingkei Ly via Mark Harwood

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@928114 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 00:36:55 +00:00
Robert Muir 65127736f0 LUCENE-1709: Parallelize Tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@928069 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 21:55:57 +00:00
Uwe Schindler 6e4c79b219 Use preferably sysprop "temptDir" also in backwards tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927996 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 18:13:39 +00:00
Uwe Schindler 3343dcddce LUCENE-2333: Fix failures during contrib builds, when classes in core were changed without ant clean. This fix also optimizes the dependency management between contribs by a new ANT macro
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927765 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 10:44:25 +00:00
Michael McCandless 29963c7c7e LUCENE-2339: deprecate static Directory.copy in favor non-static Directory.copyTo; if it's FSDir -> FSDir, use nio's FileChannel.transferTo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927761 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 10:34:41 +00:00
Robert Muir 45ea59dd57 LUCENE-2323: reorganize contrib modules (phase 1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927696 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 05:21:13 +00:00
Grant Ingersoll eb6e13fe9e LUCENE-2343: add support for benchmarking collectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927178 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 20:49:44 +00:00
Michael McCandless ba6bfab9b8 fix javadoc links
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926949 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 06:27:11 +00:00
Michael McCandless ac530bd636 LUCENE-2328: add jdoc details for deprecation of Directory.sync(String)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926948 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 06:25:13 +00:00
Michael Busch f6126f8808 LUCENE-2329: Use parallel arrays instead of PostingList objects in TermsHash*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926791 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:25:15 +00:00
Michael McCandless 0b6a6bcbdf LUCENE-2328: move tracking of which files are sync'd from IW/IR down to Directory; fixes slow memory leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926653 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 16:40:01 +00:00
Michael McCandless c8c5dfa543 LUCENE-2331: add NoMergePolicy, NoMergeScheduler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926289 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 19:51:33 +00:00
Michael McCandless 8af45aadd2 LUCENE-2297: allow reader pooling to be enabled (through IndexWriterConfig) even if you're not pulling NRT readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926020 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 10:21:07 +00:00
Michael McCandless b12f372bb5 sync up to lucene trunk rev 925561
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925886 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 20:36:41 +00:00
Robert Muir 958fd4be13 merge up to lucene rev 925176
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925635 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 17:01:08 +00:00
Robert Muir 0d10770063 merge up to lucene trunk rev 924781
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@924935 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 18:22:18 +00:00
Mark Robert Miller 087701b142 little fix to make tests work when called from a build.xml in a higher dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@924513 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 22:00:02 +00:00
Dawid Weiss 778d96752f SVN-GIT conversion, path copy emulation. 2016-01-23 01:18:53 +01:00