Commit Graph

916 Commits

Author SHA1 Message Date
Robert Muir 8352332b1d LUCENE-2791: add WindowsDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1041844 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 14:54:27 +00:00
Shai Erera 49508c277b LUCENE-2779: fix listAll()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1041039 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 15:03:27 +00:00
Uwe Schindler 86d8937f3a Clean up changes my merging in 2.9/3.0 fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1041007 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 13:37:53 +00:00
Michael McCandless e7214a0f6f LUCENE-1737: make field name -> number congruent so we always use bulk merge for merging doc stores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040940 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 10:46:46 +00:00
Michael McCandless f1ce9abcfb LUCENE-2785: add new TotalHitCountCollector (only counts hits); don't allow numHits=0 to TSDC or TFC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040935 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 10:25:38 +00:00
Michael McCandless 297b3b75c4 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040933 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 10:22:37 +00:00
Robert Muir 88a97b22f8 LUCENE-2781: remove nocommits, this is a TODO if we want more test coverage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040465 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 11:34:16 +00:00
Robert Muir a58c26978f LUCENE-2781: drop deprecations from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040463 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 11:22:39 +00:00
Michael McCandless 14305d9e3c fix false random test failure (take 2)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040447 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 09:22:02 +00:00
Robert Muir 04a44b515d LUCENE-2784: Change all FilteredTermsEnum impls into TermsEnums decorators
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040379 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 01:22:15 +00:00
Robert Muir 937a9981d1 don't use the slowwrapper for all of these tests... just the ones that require it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040376 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 01:06:12 +00:00
Michael McCandless ef914b348a fix false random test failure; make private random instance for RandomIndexWriter and MockDirWrapper so tests are reproducible from seeds when using eg CMS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040290 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 21:01:19 +00:00
Shai Erera 7f443f67ea LUCENE-2779: Use ConcurrentHashMap in RAMDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040138 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 15:07:41 +00:00
Robert Muir 4c724b958b SOLR-2257: fix contrib/spellchecker to be deterministic by adding a tertiary comparison (term text)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040064 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 11:07:05 +00:00
Koji Sekiguchi 115ef9b8dc LUCENE-2393: use class.getName()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039967 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 22:40:47 +00:00
Koji Sekiguchi 522a98f6a0 LUCENE-2393: fix package name in usage message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039962 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 22:16:29 +00:00
Michael McCandless 46d2aa6f12 fix false test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039917 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 18:26:45 +00:00
Robert Muir 031237d921 make RandomCodecProvider insensitive to the order of fields being indexed... its a defined mapping now computed up front in ctor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039869 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 11:57:47 +00:00
Robert Muir feb3a59875 make sure tests.verbose works in solr, print test params when verbose is set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039868 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 11:08:43 +00:00
Uwe Schindler 668fcb76f2 Fix javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039773 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 22:22:47 +00:00
Michael McCandless d7fe260c11 fix false intermittent test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039759 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 21:01:14 +00:00
Michael McCandless cdab6ed653 LUCENE-2782: fix rare thread hazard with IW.commit; also make tests slightly more evil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039737 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 19:38:41 +00:00
Michael McCandless 6ca2755ae7 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039688 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 14:18:54 +00:00
Simon Willnauer 4067f5aaad LUCENE-2777: Revise PagedBytes#fillUsingLengthPrefix* methods names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039382 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 14:36:10 +00:00
Michael McCandless 57a7862f82 LUCENE-2776: don't create term vectors files if no doc uses term vectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039314 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 11:25:42 +00:00
Shai Erera b57c84611b LUCENE-2778: port from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039156 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 19:42:50 +00:00
Michael McCandless 66c8234469 prevent too many open files in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039068 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 15:12:29 +00:00
Simon Willnauer 3c47af1bf0 fixed toString method for SegmentCodecs to print the actual codecs used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039001 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:05:40 +00:00
Simon Willnauer 2d3849f0b4 removed unnecessary import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038998 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 10:52:31 +00:00
Michael McCandless 86922c495c LUCENE-2773: don't de-optimize an optimize index that's already in CFS format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038785 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 19:48:18 +00:00
Michael McCandless a1678b7d81 LUCENE-2773: don't build compound files for large merged segments (by default); default maxMergeMB to 2GB
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038562 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 11:36:09 +00:00
Michael McCandless fb4bb95ef2 fix intermittent test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037458 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 14:10:47 +00:00
Michael McCandless 3f73a2ec04 fix intermittent false test fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037429 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 11:51:31 +00:00
Michael McCandless 7853af4298 fix intermittant false test fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037406 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 10:28:39 +00:00
Uwe Schindler 0b1a67945b LUCENE-2772: SlowMultiReaderWrapper should be closeable. The wrap() method was removed, so even for 1-segment indexes its better to wrap which is no real overhead at all.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037294 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 18:46:55 +00:00
Michael McCandless 88e48eb867 LUCENE-2764: tests use random codec per field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037226 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 14:39:09 +00:00
Michael McCandless fc9c09ea1e factor out test method to configure IW to reduce open file count
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037223 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 14:27:46 +00:00
Michael McCandless bd4a69fb94 LUCENE-2762: fix IW to not hold open but deleted files when CFS is true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037154 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 10:11:29 +00:00
Uwe Schindler 3430ee0ea5 LUCENE-2770: Optimize memory allocation on norms merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037077 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 23:18:59 +00:00
Michael McCandless 23f3a7c311 fix jdoc typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036986 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 19:20:47 +00:00
Uwe Schindler 7a86d09aea LUCENE-2769: FilterIndexReader in trunk does not implement getSequentialSubReaders() correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036977 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 18:49:54 +00:00
Uwe Schindler 24178a6eb8 LUCENE-2770: Make SegmentMerger always work on atomic subreaders, even when IndexWriter.addIndexes(IndexReader...) is used with DirectoryReaders or other MultiReaders. This saves lots of memory during merge of norms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036970 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 18:22:04 +00:00
Robert Muir 58f7005a8e LUCENE-2764: switch existing tests to per-field API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036583 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 19:26:36 +00:00
Robert Muir 90323ccff5 LUCENE-2764: back out temporarily for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036570 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 18:47:21 +00:00
Robert Muir 6a2955fc61 improve readability: no bug since getStartPoints numbered the states anyway
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036548 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 17:33:54 +00:00
Robert Muir 30c2ff16b6 remove code duplication by making getSortedTransitions public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036544 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 17:28:27 +00:00
Simon Willnauer a5d73e7dec LUCENE-2764: Allow tests to use random codec per field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036543 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18 17:28:27 +00:00
Robert Muir e60764241b LUCENE-2768: add support to LuceneTestCase for @Nightly annotated tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036088 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 15:58:55 +00:00
Michael McCandless 204abfb17d LUCENE-2767: add 2 missing sync's in IW when it invokes IFD
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035651 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 15:03:50 +00:00
Yonik Seeley fdff9344de LUCENE-2631: only change ord if we are changing the reader gen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035535 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 05:31:51 +00:00
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