Commit Graph

916 Commits

Author SHA1 Message Date
Robert Muir a8768256de LUCENE-2761: specialize payload processing in DandPEnum, speed up scanning through positions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035473 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 22:18:54 +00:00
Yonik Seeley 401ae6a621 LUCENE-2631: avoid redundant checks/sets of readerGen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035420 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 19:40:33 +00:00
Robert Muir 0123357efa LUCENE-2760: Optimize SpanFirstQuery,SpanPositionRangeQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035397 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 18:41:26 +00:00
Yonik Seeley fd8ab58a85 LUCENE-2631: convert ord[bototmSlot] as well as bottomOrd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035395 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 18:39:58 +00:00
Simon Willnauer c36161abba LUCENE-2741: Added support for codecs using the same file extension within the same segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035355 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 17:09:27 +00:00
Simon Willnauer 62f9291625 LUCENE-2741: Added support for codecs using the same file extension within the same segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035354 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 17:01:26 +00:00
Michael McCandless 0630ca3119 LUCENE-2618: if normal merges run at same time as optimize, upgrade them to optimize merges if they involve segments marked for optimize; add random thread yield to MockDirWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035214 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 10:31:12 +00:00
Uwe Schindler ebad5443b2 LUCENE-2757, LUCENE-2690: Add test for BQ.maxClauseCount checking. Also the original test was missing duplicate terms in the MultiReader case, added this.
This also fixes a "bug" in the TooManyClauses exception which can be seen in failing tests: The message may not contain the value of maxClauses at the time the exception was thrown. Tests have exactly this problem, because they print the message when the default is already restored.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035205 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 10:15:39 +00:00
Uwe Schindler 6c4f3a10c5 LUCENE-2757: Remove unneeded casts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035194 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 09:14:39 +00:00
Uwe Schindler 1d0515124e LUCENE-2757: Fix hackish max clause count handling in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035173 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 08:22:13 +00:00
Uwe Schindler 65c09c5119 LUCENE-2754, LUCENE-2757: Missed to clean up imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035103 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 23:48:29 +00:00
Uwe Schindler ac71ebc237 LUCENE-2754, LUCENE-2757: Added a wrapper around MultiTermQueries to add span support: SpanMultiTermQueryWrapper<Q extends MultiTermQuery>. Using this wrapper its easy to add fuzzy/wildcard to e.g. a SpanNearQuery. This patch also refactors all RewriteMethods and Attributes in MTQ (class was unmaintainable).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035096 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 23:13:46 +00:00
Michael McCandless 8c1ecb0ef0 fix intermittent fail: prevent unexpected merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034977 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 11:09:36 +00:00
Michael McCandless da01024477 fix intermittent fail: prevent unexpected merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034975 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 11:01:28 +00:00
Michael McCandless 3a994f36ad LUCENE-2759: fix MockDirWrapper to catch opening file for input that's still open for output; fix 2 cases where we could do that
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034921 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 00:33:39 +00:00
Michael McCandless 6e28ea8fff LUCENE-2758: fix intermittent fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034804 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 16:43:12 +00:00
Michael McCandless 5f4872152d don't mark merged reader with 'hasChanges' if delCount == 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034763 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 14:23:53 +00:00
Simon Willnauer e95fbfd1df Renamed getCodecInfo to getSegmentCodecs for consistency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034570 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 21:17:23 +00:00
Robert Muir 69313c1d47 allow static resources to be gced
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034361 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 12:06:46 +00:00
Michael McCandless 15d4b3d65e LUCENE-2576: change segments_N retry logic to re-list the directory before falling back to segments_(N-1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034342 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 11:01:21 +00:00
Shai Erera e71363700c LUCENE-2753: port 3x to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034140 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 21:22:24 +00:00
Michael McCandless 2103675ff0 minor improvements to IW's infoStream output, .toString for various classes, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034017 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 18:08:02 +00:00
Michael McCandless c23af909ad LUCENE-2118: fix separate failure in TestIndexWriter.testOptimizeMaxNumSegments2; cutover to IndexWriter.waitForMerges
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034011 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 17:58:26 +00:00
Michael McCandless 3701a49475 LUCENE-2118: fix intermittent failure in TestIndexWriterMergePolicy.testMaxBufferedDocsChange
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034007 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 17:37:36 +00:00
Simon Willnauer b8d51b6ce0 LUCENE-2742: Enable native per-field codec support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1033577 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 16:36:31 +00:00
Michael McCandless c715623936 LUCENE-2576: fix one case of intermittent failure (unclosed files when using PreFlex codec)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1033417 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 11:23:00 +00:00
Robert Muir e3232c3289 this 'Priv' wrapper trick isn't portable (seems to work on sun-only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1033074 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 16:34:34 +00:00
Robert Muir cc87ac007c simpletext: don't make string for every p here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032786 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 23:32:43 +00:00
Robert Muir 81f8363e51 simpletext: dont create string for every d/p
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032783 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 23:21:32 +00:00
Robert Muir ccc4b55bec improve test coverage for the single segment case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032570 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 13:56:18 +00:00
Robert Muir 1a8e2ac596 LUCENE-2743: remove assumption, test is fast now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032557 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 12:22:45 +00:00
Simon Willnauer acacf16ee2 removed super.setParam call since superclass does not understand the param syntax for SearchTravRetVectorHighlightTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032100 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 15:53:02 +00:00
Michael McCandless c49d474454 fix tests-only ob1 in AutomatonTestUtil.getRandomCodePoint
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032045 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 13:17:06 +00:00
Michael McCandless 740d556ece LUCENE-2743: speed up SimpleText codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031832 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 21:51:56 +00:00
Robert Muir 53a62306ff LUCENE-588: revert accidentally committed test speedup, sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031768 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 20:14:53 +00:00
Robert Muir a25dc8b9d5 LUCENE-588: Escaped wildcard character in wildcard term not handled correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031765 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 20:07:20 +00:00
Michael McCandless f8f7cb4ec5 LUCENE-2744: only print number of fields w/ norms on 'test: norms....' CheckIndex output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031689 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 18:17:06 +00:00
Michael McCandless e83d2c63bb LUCENE-2744: only print number of fields w/ norms on 'test: norms....' CheckIndex output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031686 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 18:12:09 +00:00
Robert Muir a8fd6068ed LUCENE-2739: Refactor TestIndexWriter, move out term vectors writing tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031496 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 09:44:53 +00:00
Michael McCandless d29a64d182 add comment explaining why flush isn't sync'd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031480 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 09:01:51 +00:00
Robert Muir fe82745769 LUCENE-591: index meta keywords in contrib/demo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031474 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 08:46:20 +00:00
Robert Muir c54ea4da67 LUCENE-590: Demo HTML parser gives incorrect summaries when title is repeated as a heading
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031467 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 08:19:34 +00:00
Robert Muir 048cdb57f4 LUCENE-589, LUCENE-2246: fix intl bugs in contrib/demo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031460 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 07:33:05 +00:00
Robert Muir 863dfccc76 LUCENE-2739: Refactor TestIndexWriter: exceptions tests into TestIndexWriterExceptions, addIndexes tests into TestAddIndexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031219 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 20:25:30 +00:00
Simon Willnauer 91e2d470ad LUCENE-2734: Use IndexWriterConfig in benchmark
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031097 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 17:37:12 +00:00
Robert Muir ac4674aa20 LUCENE-2739: refactor TestIndexWriter, pull out _OnDiskFull and _WithThreads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031076 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 16:52:27 +00:00
Simon Willnauer 154105635d LUCENE-2737: Codec is not consistently passed to internal API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031066 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 16:30:50 +00:00
Uwe Schindler f6f1961e46 LUCENE-2733: Removed public constructors of utility classes with only static methods to prevent instantiation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1030754 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 23:15:01 +00:00
Uwe Schindler f4a564065b This class is no longer used and was deprecated in 3.0 (replaced by java.lang.Enum)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1029506 13f79535-47bb-0310-9956-ffa450edef68
2010-10-31 22:38:17 +00:00
Michael McCandless abffef82c7 LUCENE-2730: remove sync from TermsHash.abort (causes deadlock on earlier releases)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1029333 13f79535-47bb-0310-9956-ffa450edef68
2010-10-31 13:22:12 +00:00
Michael McCandless 8aaab49058 fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1029096 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 15:25:49 +00:00
Michael McCandless 7a5901805b LUCENE-2722: fix sep codec to store less in the terms dict
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1029012 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 10:17:20 +00:00
Koji Sekiguchi 096538ed82 LUCENE-2616: move change comment to contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1028983 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 04:08:13 +00:00
Grant Ingersoll dd42b928c7 LUCENE-2728: fix id handling in EnwikiContentSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1028386 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 17:04:26 +00:00
Yonik Seeley e5aa5c8e89 LUCENE-2380: remove int cast that limited DocTerms to 2B
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1028335 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 14:48:58 +00:00
Uwe Schindler d1935be8b8 add missing changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1028039 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:08:40 +00:00
Uwe Schindler 717c67ab7c LUCENE-2719: Readded utility class org.apche.lucene.util.SorterTemplate with support for faster quickSort using pivot values and also merge sort and insertion sort. This removes code duplication and slow Collections/Arrays.sort usage.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1027998 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 15:16:56 +00:00
Michael McCandless 2bf814d5b9 fix intermittant failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1027991 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 15:00:52 +00:00
Uwe Schindler 07a5f01b26 add a note why we use this strange comparator for this test (and not the standard one)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1027951 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 13:13:58 +00:00
Yonik Seeley df1908187e LUCENE-2566: QP unary operators +,-,! should not be followed by whitespace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1027690 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:14:53 +00:00
Robert Muir 8b7abe6f1c in tests, remove RegExp.toString abuse causing hudson fail, for example negated character classes are parsed as intersections but we have RegExp.INTERSECTION disabled in the test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1027354 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 03:37:52 +00:00
Michael McCandless e69d35f095 SimpleText codec doesn't have to be added by LuceneTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1027036 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 10:40:52 +00:00
Michael McCandless f14690e2fd remove another nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026759 13f79535-47bb-0310-9956-ffa450edef68
2010-10-24 11:03:35 +00:00
Michael McCandless f2b2481c14 I am the nocommit policeman
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026756 13f79535-47bb-0310-9956-ffa450edef68
2010-10-24 10:50:45 +00:00
Shai Erera 2ff0b11aaf LUCENE-2721: port from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026615 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 13:21:06 +00:00
Yonik Seeley c74daf63d1 LUCENE-995: QP treats * as open end in range
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026602 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 11:30:51 +00:00
Michael McCandless 82126d5341 LUCENE-2618: allow optimize to complete during IW.close, take 2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026592 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 10:06:40 +00:00
Yonik Seeley c8c9ee2cb2 LUCENE-996: QP: mixed inclusive/exclusive endpoints for ranges
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026489 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 20:40:08 +00:00
Grant Ingersoll 16c09f48ab SOLR-2187: Add support for directly instantiating MMapDirectory, SimpleFSDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026456 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 19:25:20 +00:00
Michael McCandless ceb8db5bb5 LUCENE-2618: revert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026431 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 17:57:38 +00:00
Michael McCandless 25828363ec LUCENE-2618: make sure optimize merge complete even if a close is pending
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026336 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 14:13:54 +00:00
Yonik Seeley 8b4c80f04b LUCENE-2718: pull java code out of the QP .jj
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026331 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 14:04:21 +00:00
Robert Muir e999b25d05 LUCENE-2717: add an explicit test for this
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026319 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 13:31:08 +00:00
Uwe Schindler 321e8b6903 LUCENE-2716: 2nd part of minimize improvements. Will there come version 3? Hopcroft policeman is working on it...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026190 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:17:51 +00:00
Robert Muir b627037726 LUCENE-2716: increase test coverage for minimizeSchindler() and determinizeMcCandless()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026182 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 00:01:16 +00:00
Uwe Schindler d8208f5646 LUCENE-2716: Improve automaton's MinimizeOperations.minimizeHopcroft() to not create so many objects
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026168 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 22:31:58 +00:00
Uwe Schindler 29678a0c25 remove warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026167 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 22:29:13 +00:00
Robert Muir c684042025 use intersections in this test, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026108 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 19:14:33 +00:00
Robert Muir c15e002d70 LUCENE-2717: BasicOperations.concatenate creates invariant if the RHS is the empty language
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026104 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 19:06:45 +00:00
Robert Muir a98050eb5a enable disabled assertion in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1026095 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 18:22:17 +00:00
Uwe Schindler 2f2c4fe1a2 fix caching on Mike's last commit. Also remove counting at all.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1025978 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 12:51:06 +00:00
Michael McCandless b0f24be337 fix MTQ.CutOffTermCollector to check limits after adding term, not before
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1025929 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 10:22:58 +00:00
Robert Muir 405cb198a0 LUCENE-1938: Precedence query parser using the contrib/queryparser framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1025597 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 14:26:30 +00:00
Shai Erera f515772f69 LUCENE-2701: merge 3x to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1025577 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 13:51:20 +00:00
Uwe Schindler 686e944038 LUCENE-2715: Use an internal attribute to cache DFAs in FuzzyTermsEnum during per-segment search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1025532 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 12:21:54 +00:00
Robert Muir e596bad8d6 LUCENE-2667: apply fuzzyquery's new defaults to queryparsers in contrib, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1024498 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 02:12:58 +00:00
Uwe Schindler 9221bfbfab LUCENE-2556: Improve memory usage after cloning CharTermAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1024408 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 20:50:02 +00:00
Robert Muir 6f66858572 LUCENE-1937: add methods to manipulate QueryNodeProcessorPipeline elements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1024402 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 20:33:54 +00:00
Robert Muir 41fe1b6d6a LUCENE-2652: remove obselete runners, they are inconsistent with @beforeClass and obselete in the build today
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1024219 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 12:42:30 +00:00
Michael McCandless 8a126cb9be add some missing super.setParams so alg.toString shows the params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1024196 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 10:25:45 +00:00
Simon Willnauer 7fbdede15a LUCENE-2643: StringHelper#stringDifference is wrong about supplementary chars
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1024128 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 06:28:19 +00:00
Michael McCandless 0b31a11206 LUCENE-2711: also use bulk sub-scorer API in BooleanScorer.nextDoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023711 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 09:51:17 +00:00
Robert Muir c711709168 LUCENE-2712: Fix FieldBoostMapAttribute to not use CharSequence as a map key
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023637 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 02:54:20 +00:00
Robert Muir 37fda0b1c1 remove suppressed generics violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023635 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 02:41:31 +00:00
Robert Muir 7bf9a066d1 for now, disable this test with simpletext. takes a few minutes on my computer, 15 minutes on hudson
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023529 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 17:10:43 +00:00
Robert Muir 221dd19e96 for now, when a test fails list all the tests that ran in that jvm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023511 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 14:47:19 +00:00
Uwe Schindler c92cf927d2 fix compile failure in Ryan's commit (LUCENE-2671)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023386 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 22:27:52 +00:00
Ryan McKinley 6d269ad807 LUCENE-2671 -- bind DocTermsCreator and DocTermsIndexCreator to the raw class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023379 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 21:27:39 +00:00
Uwe Schindler 987f32849b LUCENE-2708: when a test Assume fails, display information, improved one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023312 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 15:43:11 +00:00
Robert Muir 08b226f8ca revert accidental commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023251 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 11:28:41 +00:00
Robert Muir fb57fd149a LUCENE-2710: reproduce-with on test failure isnt right if you manually override things
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023250 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 11:27:54 +00:00
Yonik Seeley aa33fe16a6 SOLR-2142: fix PagedBytes for copying zero-len BytesRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023082 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 19:41:08 +00:00
Robert Muir 3ee37a7dbb LUCENE-2709: if a test has methods with @ignore, we should print out a notice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023022 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 17:12:39 +00:00
Robert Muir 2d7ac92ac4 LUCENE-2708: when a test Assume fails, display information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023009 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 16:42:28 +00:00
Michael McCandless c776a87802 LUCENE-2705: drop number of simultaneous threads from 100 to 10
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023006 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 16:34:01 +00:00
Uwe Schindler 03089d13a8 Add Simon also to changes! (LUCENE-2690: MultiTermQuery boolean rewrites per segment)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022940 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 14:29:34 +00:00
Uwe Schindler dd1c7a8585 LUCENE-2690: MultiTermQuery boolean rewrites per segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022934 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 14:25:48 +00:00
Robert Muir 1afdd8daa7 LUCENE-2703: MultiTermQuery scoring differences between 3x and trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022761 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 23:14:07 +00:00
Michael McCandless 9b8431be6c fix 2 typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022745 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 22:43:50 +00:00
Uwe Schindler 8874d75b54 LUCENE-2671: remove last to warnings by a hack
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022737 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 22:11:01 +00:00
Robert Muir 5086f404a9 fix solr logging in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022632 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 18:11:16 +00:00
Ryan McKinley 505ab4acfe LUCENE-2671 -- add suppress warnings for unchecked casts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022525 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 13:44:06 +00:00
Simon Willnauer b1e5eed24a LUCENE-2707: BytesRefHash#get() should expect a BytesRef instances for consistency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022453 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 10:11:46 +00:00
Robert Muir 8ee25b0f07 minor cleanups from the demo move
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022446 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 09:58:48 +00:00
Michael McCandless e7ae91affd CheckIndex was over-checking seek terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022216 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:51:14 +00:00
Michael McCandless 82414f13a7 LUCENE-2691: add MIGRATE.txt entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022039 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 09:17:14 +00:00
Robert Muir bba56f893d SOLR-2002: try setting SO_REUSEADDR during jetty tests to prevent failures for disconnect/reconnect tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021969 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 01:01:52 +00:00
Michael McCandless ccf58605e9 LUCENE-2649: fix backwards params to checkMatchAllBits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021761 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 12:45:59 +00:00
Michael McCandless 60c3278f9a LUCENE-2696: MockAnalyzer injects payloads for better test coverage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021720 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 09:55:29 +00:00
Michael McCandless 3fc915a069 LUCENE-2696: fix sep bug when some fields have payloads and others don't and you reuse the d&p enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021515 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 21:38:04 +00:00
Robert Muir 668ef95427 LUCENE-2304: FuzzyLikeThisQuery should set MaxNonCompetitiveBoost for faster speed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021483 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 19:43:45 +00:00
Robert Muir fad66ad6e5 LUCENE-2529: add this test from the discussion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021449 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 18:13:26 +00:00
Grant Ingersoll 98b20d6479 add search method that allows Sort, but doesn't require a Filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021360 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 14:45:11 +00:00
Grant Ingersoll 8887a044ea LUCENE-2692: add some new SpanQuery classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021357 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 14:37:16 +00:00
Michael McCandless 76c371d5d7 LUCENE-2695: don't create 2 arrays per .score() call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021340 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 13:25:20 +00:00
Steven Rowe 15134055f9 Upgraded xerces-2.9.1-patched-XERCESJ-1257.jar (committed as part of LUCENE-1591) to xercesImpl-2.10.0.jar (which contains the fix for XERCESJ-1257) and also upgraded xml-apis-2.9.0.jar to xml-apis-2.10.0.jar.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1021234 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 02:31:59 +00:00
Robert Muir df401f8755 SOLR-2002: minor changes to lucene build so solr can re-use it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1006290 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 13:04:50 +00:00
Grant Ingersoll 82614b3e85 LUCENE-2691: move NRT calls to IR, make package local on IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1006280 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 12:03:01 +00:00
Robert Muir 2e6787a850 add a minimal test for boost attribute that fuzzyquery uses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1006186 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 16:53:49 +00:00
Michael McCandless c7d804ad43 don't double-parse query text in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1006146 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 12:48:13 +00:00
Robert Muir 287d27b605 add package mapping to migrate.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1005496 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 15:38:08 +00:00
Michael McCandless 6eaed1ad94 LUCENE-2689: don't attemp to acquire a test lock in NativeFSLockFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1005363 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 08:46:12 +00:00
Michael McCandless 1c340dda46 LUCENE-2682: improve Test2BTerms to not generate pathological (sequential) terms for the BytesRefHash; they are generated fully randomly now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1005356 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 07:59:16 +00:00
Robert Muir 51d4dcd582 LUCENE-2687: Remove pq trap in MultiTermQuery.TopTermsBooleanQueryRewrite
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1005310 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 01:18:30 +00:00
Robert Muir 1816eee6bd avoid sort if there is 1 transition
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1004726 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 17:24:59 +00:00
Michael McCandless 358cbb221b some CHANGES entries were in the wrong place
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1004659 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 14:50:56 +00:00
Robert Muir 7c020e317a LUCENE-2683: upgrade icu libraries to 4.4.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1004335 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 17:53:41 +00:00
Robert Muir 2a337f559c LUCENE-2685: add an assume for this test on broken sun jres
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1004241 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 14:05:01 +00:00
Robert Muir 98621382be clear up 1.5-only javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1004215 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 12:03:51 +00:00
Robert Muir 616c911084 document this fallthrough
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1004200 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 11:23:51 +00:00
Michael McCandless a4d0cf02a8 LUCENE-2682: add test that confirm we can index more than 2B terms in one segment, @Ignored since it takes > 4 hrs to run on a fast machine
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1004179 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 10:02:50 +00:00
Robert Muir afad8123d2 clear up more warnings in modules/contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003990 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 16:27:34 +00:00
Robert Muir 0789e5f4e7 LUCENE-2681: fix generics violations in contrib/modules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003978 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 15:41:57 +00:00
Robert Muir 85a27b8b38 clear up javadocs warnings/errors (forgot to svn add these overview.htmls)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003965 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 13:30:29 +00:00
Robert Muir e05117884a clear up javadocs warnings/errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003962 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 13:22:51 +00:00
Robert Muir 9de7083de0 add dependency to prevent javadocs warnings/errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003954 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 12:18:33 +00:00
Michael McCandless 0b5bc08643 LUCENE-2663: move trunk CHANGES entry under 3.x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003940 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 09:16:20 +00:00
Michael McCandless b83a464b9b LUCENE-2663: don't try to clear prior lock in IndexWriter when create=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003938 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 09:07:56 +00:00
Robert Muir c8b7a21b4b clear up more compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003906 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:20:26 +00:00
Robert Muir 2579edf45f add missing eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003877 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 20:32:16 +00:00
Robert Muir fd11477ece clean up some fallthru/deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003873 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 19:58:35 +00:00
Robert Muir cdc93f3b79 remove useless casts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003870 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 19:26:36 +00:00
Robert Muir 68bcf1f4b9 clear up some easy warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003849 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 18:20:54 +00:00
Robert Muir 9c716e796b enable more violations from compile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003841 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 17:32:23 +00:00
Simon Willnauer d2d6a45601 LUCENE-2662: Refactored TermsHashPerField to utilize ByteRefHash
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003790 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 12:44:32 +00:00
Simon Willnauer 487b062389 LUCENE-2677: Tests failing when run with tests.iter > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003747 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 05:55:46 +00:00
Uwe Schindler c040dcb6e7 LUCENE-2507: Fix Java 1.5 violation thanks to hudson with 1.5 :-)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003714 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 00:00:13 +00:00
Robert Muir de8177af00 fix test failure in TestUTF32ToUTF8 (the random regex-generator generates invalid ranges)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003663 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 21:55:09 +00:00
Robert Muir 0e5d709bd7 make tests deterministic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003658 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 21:40:33 +00:00
Uwe Schindler 12987dd21a Enable unchecked warnings: we have now only some violations in contrib and the recently introduced ones by Ryan. As we want to get rid of them (the contrib ones seem to be easy), I switch it globally on.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003645 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 20:44:56 +00:00
Robert Muir 5190ea5232 LUCENE-2507: Add automaton spellchecker
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003642 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 20:40:52 +00:00
Michael McCandless 8003c5c703 LUCENE-2678: prevent false failure due to fast GC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003631 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 20:19:06 +00:00
Michael McCandless 3e330809a5 LUCENE-2676: disable reader pooling for this test case since that causes added disk usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003614 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 18:59:02 +00:00
Robert Muir fa6709517c make TestRegexpRandom2 harder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1003152 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 16:46:02 +00:00
Simon Willnauer f7c4994154 LUCENE-2677: Tests failing when run with tests.iter > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1002724 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 16:35:48 +00:00
Ryan McKinley 18db10df39 LUCENE-2671 -- reorder FieldComparators so they make more sense (not included in the last patch so svn diff was more legible)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1002461 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 04:13:14 +00:00
Ryan McKinley 407c33ac83 LUCENE-2671: Add SortField.setMissingValue( v ) to enable sorting behavior for documents that don't have the field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1002460 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 04:11:29 +00:00
Michael McCandless a15dd4b5cb LUCENE-2674: improve interaction of MTQ & terms cache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1002246 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 16:31:44 +00:00
Robert Muir dfed16f2fd LUCENE-2667: Improve defaults for FuzzyQuery so it has good performance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1002214 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 15:11:12 +00:00
Steven Rowe 3c26a9167c LUCENE-2167: Implement StandardTokenizer with the UAX#29 Standard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1002032 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 06:16:16 +00:00
Koji Sekiguchi 13ea7a89c7 LUCENE-2529, LUCENE-2668: always apply position increment gap and offset gap between values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001796 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 16:10:29 +00:00
Robert Muir 87496c7a6d LUCENE-2672: speed up automaton seeking in nextString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001781 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 15:32:21 +00:00
Shai Erera 35c9c34ee3 removed unused CHANNEL_CHUNK_SIZE after FileChannel code was removed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001684 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 11:56:06 +00:00
Andrzej Bialecki fa405589da LUCENE-2638 Make HighFreqTerms.TermStats class public.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001664 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 10:32:27 +00:00
Michael McCandless 6e8fe1513c LUCENE-2664: add SimpleText codec; fix -Dtests.seed to XX:YY format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001661 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 10:29:35 +00:00
Robert Muir c5153a2364 LUCENE-2670: allow AutomatonTermsEnum to work on full bytes range
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001588 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 04:28:51 +00:00
Uwe Schindler 877e827489 LUCENE-2669: Fix NumericRangeQuery.NumericRangeTermsEnum sometimes seeks backwards. This also adds an assert to FilteredTermsEnum that seeking only goes forward.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001582 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 04:07:25 +00:00
Ryan McKinley e071186aa3 LUCENE-2649 -- Adding a test to check for changing the parser.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001567 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 01:41:23 +00:00
Ryan McKinley b849d518a0 LUCENE-2649, add svn:eol-style, some missing headers and expose the Parser and SortType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001534 13f79535-47bb-0310-9956-ffa450edef68
2010-09-26 22:00:58 +00:00
Michael McCandless cddf318f8c LUCENE-2666: add assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001420 13f79535-47bb-0310-9956-ffa450edef68
2010-09-26 12:46:20 +00:00
Michael McCandless 671a63fb49 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001419 13f79535-47bb-0310-9956-ffa450edef68
2010-09-26 12:44:26 +00:00
Shai Erera 90ca407e77 removed Suppress(unused) which caused the build to fail when running with IBM Java 5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001315 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 20:55:36 +00:00
Ryan McKinley aeab95d3af LUCENE-2649: Objects in the FieldCache can optionally store valid Bits
Apologies for 'CTR' rather then 'RTC' -- we can always revert if I jumped the gun!  

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001303 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 19:32:37 +00:00
Robert Muir f8c0293d85 LUCENE-1840: QueryUtils should check that equals() properly handles null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001006 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 18:25:09 +00:00
Ryan McKinley b20a4b7097 LUCENE-2493 -- fix test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1000720 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 06:09:45 +00:00
Ryan McKinley 852419b026 LUCENE-2493 -- rename dev jar files to -SNAPSHOT.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1000713 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 05:30:20 +00:00
Michael McCandless 4761317a77 LUCENE-2658: add changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1000581 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 18:58:01 +00:00
Grant Ingersoll 3f547a822e SOLR-2125: change interpretation of bounding box to better fit user expectations on accuracy. fix issues with radians. add more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1000428 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 12:29:40 +00:00
Robert Muir f68b4b4adb LUCENE-2659: LuceneTestCase ease of use improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1000424 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 12:19:07 +00:00
Shai Erera 56ff0c11c2 FileBasedQueryMaker could add a null Query if the query failed to parse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1000030 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 15:14:20 +00:00
Koji Sekiguchi aade8aaa95 fix typo in build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@999984 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 14:37:21 +00:00
Michael McCandless ae61750503 LUCENE-2658: fix case where exception on docs w/ more than field w/ tvs could mess up the ByteBlockPool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@999842 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 09:44:49 +00:00
Michael McCandless 59d4f2c3ca prevent false failure from running out of file descriptors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@999545 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 19:04:26 +00:00
Robert Muir 68ff68ca5f SOLR-2108: Avoid false positive results when ReversedWildcardFilter is enabled
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@999424 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 14:05:54 +00:00
Robert Muir c89d2d3c3b LUCENE-2650: Improve Windows defaults in FSDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@999409 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 13:40:35 +00:00
Grant Ingersoll 2595c91906 remove todo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@999378 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 12:57:23 +00:00
Robert Muir d204e7331c LUCENE-2650: Added extra safety to MMapIndexInput clones
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@999223 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 05:04:19 +00:00
Robert Muir 30f83250d9 LUCENE-2656: if tests fail, don't report about unclosed resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@999016 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 17:27:15 +00:00
Robert Muir c84bd2f1ec LUCENE-2653: ThaiAnalyzer assumes things about your jre
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@998684 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 15:40:06 +00:00
Simon Willnauer 68776ee5d6 LUCENE-2588: Exposed indexed term prefix length to enable none-unicode sort order term indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@998675 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 14:35:16 +00:00
Michael McCandless 7fe5f4bef7 LUCENE-2647: refactor reusable components out of standard codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@998627 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19 10:18:49 +00:00
Simon Willnauer 93f8a01df7 LUCENE-2652: QuickFix for Clover OOM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@998507 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 18:08:40 +00:00
Robert Muir fb9e5a11fc fix this test for JRockit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@998505 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 18:07:29 +00:00
Simon Willnauer 480ee752d6 LUCENE-2648: Allow PackedInts.ReaderIterator to advance by more than one value
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@998445 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 11:50:31 +00:00
Michael McCandless 34cc899c7d fix incorrect ramUSED message to IW infoStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@998055 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 10:30:03 +00:00
Michael McCandless 76a9dc048c don't close reader prematurely
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@997230 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 08:49:17 +00:00
Robert Muir 774eaeada0 LUCENE-2630: fix intl test bugs that rely on cldr version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@997180 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 03:30:35 +00:00
Yonik Seeley 2d9eb62343 SOLR-1900: use bytes instead of strings for bigTerm to find end prefixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@997108 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 21:44:49 +00:00
Yonik Seeley 0e9e44f10d LUCENE-2504: always access the latest generation of field comparators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@997095 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 21:04:29 +00:00
Robert Muir c18ae60c8c LUCENE-2630: look for the correct exception according to javadoc contract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996978 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:32:56 +00:00
Robert Muir f4d106b4d0 LUCENE-2630: allow lucene to be built with non-sun jvms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996942 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 15:09:50 +00:00
Robert Muir 350963de8d simplify encode for surrogates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996893 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 13:36:47 +00:00
Robert Muir 038bf7e72a quiet this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996720 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 23:13:55 +00:00
Uwe Schindler 9a3133c786 LUCENE-2642: Fix small problem with one incorrectly written contrib test and add a extra exception, if somebody uses a static declared test method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996647 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 19:11:21 +00:00
Uwe Schindler d51f194d11 LUCENE-2642: Fix some reflection issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996623 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 18:11:53 +00:00
Robert Muir feabadea20 LUCENE-2642: merge LuceneTestCase and LuceneTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996611 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 17:37:20 +00:00
Robert Muir ab1af14e89 LUCENE-2641: fix perf bugs in PreFlex codec; speed up tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996357 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 18:28:10 +00:00
Yonik Seeley 0ed3b6be9a LUCENE-2504: fix missing ord fill
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996332 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 15:48:06 +00:00
Michael McCandless c783479260 fix silly indentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996301 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 12:41:46 +00:00
Robert Muir c33d37d9cf LUCENE-2640: add LuceneTestCase[J4].newField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996268 13f79535-47bb-0310-9956-ffa450edef68
2010-09-12 09:02:09 +00:00
Robert Muir 98293eaf5a fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996217 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 22:26:39 +00:00
Shai Erera 628b4ed4d2 LUCENE-2636: rename to MultiCollector (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996060 13f79535-47bb-0310-9956-ffa450edef68
2010-09-11 03:50:17 +00:00
Michael McCandless 992f0027a0 LUCENE-2504: speed up sort-by-field by internal code specialization to the native array cases for packed ints
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@995997 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 22:08:14 +00:00
Robert Muir d38ec19a28 LUCENE-2639: remove random juggling in tests, add -Dtests.seed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@995772 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 12:34:18 +00:00
Michael McCandless 5bc959263b LUCENE-2633: fix int/long overflow issue in packed ints impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@995409 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 12:52:45 +00:00
Robert Muir 5fd2316799 LUCENE-2637: FSDirectory.copyBytes isn't safe for SimpleFSDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@995376 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 10:50:15 +00:00
Shai Erera 1fc5c8ee22 LUCENE-2636: Create ChainingCollector (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@995375 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 10:49:52 +00:00
Michael McCandless 44f3a3bfe4 add new test for IndexOutput.copyBytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@995250 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 20:56:33 +00:00
Michael McCandless 4fb8c1b9f3 turn off IFD's verbose ref counts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@995247 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 20:50:42 +00:00
Michael McCandless d0ae4d8260 LUCENE-2634: NRT reader's isCurrent should return false if changes were just committed in the writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@994979 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 10:44:19 +00:00
Michael McCandless f4d567eb06 LUCENE-2635: fix BQ to not provide matching explanation if a required sub-clause has null scorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@994976 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 10:33:38 +00:00
Michael McCandless 5d74641c6c add test verbosity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@994935 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 09:33:00 +00:00
Robert Muir a579dd7d56 fix bug in benchmark build: change a file in lucene, it doesnt know
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@993408 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 16:04:54 +00:00
Michael McCandless a9429d0751 remove silly u from copyright header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@993325 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 12:25:32 +00:00
Michael McCandless 77830a0fc4 prevent false test failure in testThreadInterruptDeadlock: force ThreadInterruptedException to be loaded up-front
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@993287 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 08:56:39 +00:00
Robert Muir aef725ae91 LUCENE-2611: ensure temp directories exist when running tests from an IDE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@993199 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 02:51:47 +00:00
Michael McCandless 6ee1ac44ee LUCENE-2631: fix small perf issues with String/TermOrdValComparator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@992571 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 09:49:18 +00:00
Michael McCandless 6c9af51a92 LUCENE-2598: more cutover to newDirectory(Random)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@992567 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 09:37:46 +00:00
Robert Muir 4794d1eb63 LUCENE-2611: fix tests to run in IntelliJ, dont fork solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@992424 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 19:14:03 +00:00
Robert Muir cf162c2ed5 optimize surrogate case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@991608 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 17:20:57 +00:00
Michael McCandless 72cb709bd6 allow leading wildcard in contrib/benchmark's FileBasedQueryMaker
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@991497 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 10:34:42 +00:00
Simon Willnauer 5fe8094027 LUCENE-2590: Enable access to the freq information in a Query's sub-scorers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@991310 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 19:50:12 +00:00
Robert Muir 912a6152a8 LUCENE-2629: fix analysis/icu's gennorm2 task
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@991053 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 01:33:02 +00:00
Grant Ingersoll 86fbce2608 LUCENE-2272: fix payload near scoring/explain problem
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990939 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 20:58:47 +00:00
Michael McCandless 2f649441fb fix false random test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990854 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 16:42:38 +00:00
Simon Willnauer 838e19beae LUCENE-2604: Added RegexpQuery support to QueryParser. Regular expressions are now directly supported by the standard QueryParser.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990836 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 16:04:49 +00:00
Michael McCandless c5d2165437 javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990823 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 15:28:45 +00:00
Robert Muir e7f171703e remove javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990822 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 15:24:45 +00:00
Robert Muir 46f0f8c559 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990803 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 13:47:24 +00:00
Robert Muir c5256c2445 add basic tests for some untested TFC classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990781 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 12:22:34 +00:00
Robert Muir 2da92a1804 LUCENE-2627: tone down test for slowlaris
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990766 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 11:02:30 +00:00
Robert Muir 13fd70521a LUCENE-2624: add armenian, basque, catalan analyzers from snowball
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990459 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 22:42:25 +00:00
Koji Sekiguchi beb35ff50c LUCENE-2626: FastVectorHighlighter: enable FragListBuilder and FragmentsBuilder to be set per-field override
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990301 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 23:42:07 +00:00
Robert Muir a3e8c0b873 LUCENE-2627: MMapDirectory bug when file size is exact multiple of chunk size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990281 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 21:49:11 +00:00
Yonik Seeley 75e4514ff2 LUCENE-2617: add tests for non-matching clauses and coord
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990195 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 16:23:43 +00:00
Robert Muir e30c1307ee add missing javadoc to base test classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990189 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 16:15:00 +00:00
Robert Muir 48dde8359f LUCENE-2098: speed up BaseCharFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@990161 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 14:33:22 +00:00
Simon Willnauer de49549d88 LUCENE-2239: Documented NIOFSDirectory and MMapDirectory limitations due to Java NIO behavior when a Thread is interrupted while blocking on IO.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989785 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 15:54:25 +00:00
Robert Muir 4378ffce0b LUCENE-2598: run tests varying Directory impl by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989334 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:10:10 +00:00
Robert Muir 6e05f994b8 SOLR-2002: add -Dtests.iter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989321 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 19:45:22 +00:00
Michael McCandless 6621fd22a9 LUCENE-2598: make this test not use so many file descriptors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989315 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 19:27:57 +00:00
Koji Sekiguchi 1238382bf4 LUCENE-2616: FastVectorHighlighter: out of alignment when the first value is empty in multiValued field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989035 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 12:04:05 +00:00
Robert Muir fcfa3ef727 LUCENE-2598: fixes for tests with NIOFS/MMap, add random option (but RAMDirectory is still the default)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989030 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 11:55:51 +00:00
Michael McCandless 5a62c7c81c increase iters to prevent false failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989013 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 11:18:19 +00:00
Michael McCandless 264ad4f440 fix msg in exc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989010 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 11:03:00 +00:00
Michael McCandless 481043e0c5 cut test over to SMS and also try to prevent GC from clearing CachingWrapperFilter's cache entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@989004 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 10:54:32 +00:00
Michael McCandless 4ea872810f move checkpoint inside sync block that sets CFS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988739 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 22:13:16 +00:00
Michael McCandless 5fc6fb34ed sync CMS to address intermittent failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988736 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 21:55:32 +00:00
Robert Muir ba6d2d37dc wire this test for ramdir too for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988710 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 20:27:47 +00:00
Robert Muir 912563e594 LUCENE-2598: wire this test to ramdirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988688 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 19:43:57 +00:00
Robert Muir 142f7926c7 LUCENE-2598: enable simulating a crash on windows+fsdirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988613 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 16:29:05 +00:00
Yonik Seeley 49167fd49a LUCENE-2617: null scorers from optional clauses should still count in maxCoord
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988592 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 15:23:59 +00:00
Michael McCandless 5468b98e94 LUCENE-2598: more fixing tests to run with -Dtests.directory=SimpleFSDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988543 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 13:56:41 +00:00
Robert Muir 66d7bb2f4d LUCENE-2619: improve test system (consistency of var names, args, sysprops passed to solr contribs, etc)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988527 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 13:20:15 +00:00
Shai Erera 8a0d3646dc LUCENE-2596: merging from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988517 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 12:57:35 +00:00
Michael McCandless 728ad83af8 LUCENE-2615: forgot to remove the hardwired 1MB buffer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988478 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 10:56:15 +00:00
Michael McCandless 05655d8c82 LUCENE-2598: fix tests to pass w/ -Dtests.directory=SimpleFSDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988346 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 22:54:26 +00:00
Robert Muir 707617ee02 LUCENE-2598: use the specified -Dtests.directory when tests copy from an existing one too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988259 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 19:15:42 +00:00
Michael McCandless 4e737ef56e LUCENE-2615: don't create files w/ bogus permissions; don't hardwire buffer size to 1MB
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988216 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 17:22:37 +00:00
Robert Muir 07df8d5210 LUCENE-2598: factor the behavior of MockRAMDirectory into MockDirectoryWrapper, add experimental -Dtests.directory= to allow running the tests under different directory impls [but the default is still RAMDirectory]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988206 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 17:00:43 +00:00
Robert Muir b6893064ee LUCENE-2613: workaround bugs in this test for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988087 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 11:43:43 +00:00
Shai Erera d526694314 LUCENE-2610: addIndexes(Directory...) should not trigger merge on flush()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@988084 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 11:39:09 +00:00
Michael McCandless 6a4bfc796f LUCENE-2600: remove IR.isDeleted in favor of getDeletedDocs(); don't cache MultiBits in IR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@987961 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 23:37:23 +00:00
Shai Erera bc6ec5d0fd LUCENE-2592: merge from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@987814 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 19:18:23 +00:00
Yonik Seeley effe89cf3c javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@987622 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 20:01:39 +00:00
Grant Ingersoll 1620366b5c LUCENE-2608: Add per-method and request accuracy to spell checker
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@987179 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 15:01:29 +00:00
Robert Muir 4ec28930c9 LUCENE-2606: optimize contrib/regex for flex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@987129 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 11:20:42 +00:00
Robert Muir f50e111501 remove @override on interface (java6-only)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@987122 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 10:58:32 +00:00
Uwe Schindler 64bdf38619 Make compileAutomaton synchronized, as it can break for queries that are shared constants (like a drop down list in a web interface that provides predefined query constraints. These types of queries are in most places somewhere predefined in your code and then used by different threads/servlets/whatever). As the three transient vars cannot be set atomically, a parallel running thread may see half of the fields assigned and will get NPE).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@987118 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 10:44:35 +00:00
Grant Ingersoll e8344ddee1 SOLR-2053: hook in support for specifying comparators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@986707 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 14:38:53 +00:00
Grant Ingersoll 0a61e87e25 LUCENE-2479: should have been public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@986669 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 13:41:40 +00:00
Grant Ingersoll f39ad7f02e LUCENE-2479: Add support for alternate comparators for spelling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@986477 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 20:40:58 +00:00
Koji Sekiguchi db4b2af8af LUCENE-2603: FastVectorHighlighter: add a method to set an arbitrary char that is used when concatenating multiValued data
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@986173 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 02:39:40 +00:00
Uwe Schindler 8464fadaa6 fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@985875 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 11:22:20 +00:00
Michael McCandless 3f2f77c14a LUCENE-2602: enable calibrateSizeByDeletes in default merge policy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@985455 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 10:13:43 +00:00
Michael McCandless 779bc55ea3 fix false test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@985453 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 10:04:00 +00:00
Robert Muir faed4b4cd0 LUCENE-2598: add newDirectory and track that resources are closed correctly by tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984968 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 20:56:23 +00:00
Michael McCandless a43f67ddab LUCENE-2597: add SlowMultiReaderWrapper to make a composite reader act like an atomic one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984715 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 10:31:37 +00:00
Yonik Seeley 92f4310c11 doc: typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984582 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 21:13:21 +00:00
Michael McCandless 75e34cdba9 LUCENE-2576: simplify IndexWriter's private startCommit method now that it's single thread'd (may fix this intermittent test failure); also add one missing checkpoint() in addIndexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@984510 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 18:19:13 +00:00