Commit Graph

9154 Commits

Author SHA1 Message Date
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
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
Yonik Seeley 09a526f57b tests: enable grouping tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1036064 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 14:36:54 +00:00
Robert Muir de3d057abc SOLR-2237: Added StempelPolishStemFilterFactory to contrib/analysis-extras
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035996 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 12:26:15 +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 608e646da9 LUCENE-2631: only change ord if we are changing the reader gen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035538 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 05:35:27 +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
Mark Robert Miller 3d3e103188 keep trying on this test...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035517 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 02:28:57 +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