Commit Graph

9127 Commits

Author SHA1 Message Date
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
Robert Muir 836873d779 SOLR-2259: use $tests.luceneMatchVersion in all test files, make this parameter mandatory in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040982 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 12:37:01 +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
Grant Ingersoll ef762e6046 SOLR-2241: upgrade to Tika 0.8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040815 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:33:30 +00:00
Koji Sekiguchi 0511306b53 SOLR-2252: when child entity is the root in nested entities, delta-import doesn't work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040608 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 16:10:29 +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 ff47493dbd fix bug where StandardFilter isn't respected
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1040390 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 02:44:47 +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 84721aab8e remove unnecessary individual mergeprops
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039911 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 17:30:51 +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
Michael McCandless 4e90ddd567 add file so directory is not empty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039778 13f79535-47bb-0310-9956-ffa450edef68
2010-11-27 22:48:51 +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
Yonik Seeley 7b01ebaa11 SOLR-2063: fix incorrect assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038798 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 20:13:22 +00:00
Yonik Seeley a4ecf7b010 SOLR-2063: support group.format=simple
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038787 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 19:55:54 +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
Yonik Seeley 897ec3a8ef SOLR-2063: simple flattened grouped response as main result list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038779 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 19:34:14 +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
Yonik Seeley 2867ab831e SOLR-2068: optimize group by string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038327 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 20:33:26 +00:00
Yonik Seeley bcf1dcccbe SOLR-2198: handle null values in collapse field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038295 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 19:34:32 +00:00
Yonik Seeley 59c9b46422 docs: changes to non-released features don't need entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037994 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 04:53:57 +00:00
Chris M. Hostetter 7b3e358266 SOLR-2081: fix BaseResponseWriter so SingleResponseWriter.end is only called once
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037965 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 01:58:51 +00:00
Yonik Seeley c43b0bfdba docs: clarify changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037916 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 22:16:20 +00:00
Yonik Seeley af6ce50a9d SOLR-2068: fix bugs, but leave disabled due to missing support for null values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037571 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 22:00:04 +00:00
Yonik Seeley 32bb867b08 SOLR-236: change definition of how groups are sorted to fix algorithmic error when sort!=group.sort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037563 13f79535-47bb-0310-9956-ffa450edef68
2010-11-21 21:21:28 +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