Commit Graph

9191 Commits

Author SHA1 Message Date
Robert Muir 0308402397 LUCENE-2791: set the optimal buffersize by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042373 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 15:24:34 +00:00
Robert Muir 4e44804c38 the string can be null, for example failed assertions getMessage(), dont throw NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042359 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 14:24:02 +00:00
Koji Sekiguchi 995abebdec javadoc in DIH
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042315 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 11:12:52 +00:00
Shai Erera 9597e666ad LUCENE-2790: replace Version.LUCENE_40 with TEST_VERSION_CURRENT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042309 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 10:42:33 +00:00
Shai Erera 7439439fd7 LUCENE-2790: added CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042278 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 04:13:52 +00:00
Yonik Seeley 2c64a873d1 SOLR-2265: update jetty to 6.1.26
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042213 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 17:03:51 +00:00
Robert Muir f87ca310ec LUCENE-2797: Upgrade icu to 4.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042185 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 14:08:03 +00:00
Shai Erera 30af48bda8 LUCENE-2790: IndexWriter should call MP.useCompoundFile and not LogMP.getUseCompoundFile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042101 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 05:58:35 +00:00
Robert Muir 7249ebe483 use less RAM/reclaim for the formatter console buffer (e.g. VERBOSE/logging)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1042008 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 21:18:51 +00:00
Yonik Seeley 6d4867eca0 SOLR-2264: CSVRequestHandler can throw NPE when no escape parameter is specified for splitting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1041963 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 19:29:30 +00:00
Robert Muir 8ec36c3f56 LUCENE-2787: disable atime for DirectIOLinuxDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1041954 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 18:59:44 +00:00
Robert Muir aecb6709a7 LUCENE-2791: cleanup for no-copy case, remove VERBOSE prints in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1041914 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 17:09:49 +00:00
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
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