Commit Graph

9516 Commits

Author SHA1 Message Date
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
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
Yonik Seeley 4194ef01c4 SOLR-2243: support group.limit=0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037068 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 22:42:15 +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