Commit Graph

11342 Commits

Author SHA1 Message Date
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