Commit Graph

9143 Commits

Author SHA1 Message Date
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
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
Mark Robert Miller 467a25a8f5 harden test against slowness (again...)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035274 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 13:46:58 +00:00
Mark Robert Miller e9e615fe9f raise another timeout for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035240 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 12:05:14 +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
Yonik Seeley 63555ce48d SOLR-236: grouping - set bottom on the pq if changed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035137 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 03:57:07 +00:00
Yonik Seeley 7b33f0d80c SOLR-236: grouping - remove redundant setBottom
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035117 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 01:30:54 +00:00
Yonik Seeley fffce11f1a SOLR-236: grouping - fix collectors when sort != group.sort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035115 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 00:55:57 +00:00