Commit Graph

9344 Commits

Author SHA1 Message Date
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
Uwe Schindler 65c09c5119 LUCENE-2754, LUCENE-2757: Missed to clean up imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035103 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 23:48:29 +00:00
Uwe Schindler ac71ebc237 LUCENE-2754, LUCENE-2757: Added a wrapper around MultiTermQueries to add span support: SpanMultiTermQueryWrapper<Q extends MultiTermQuery>. Using this wrapper its easy to add fuzzy/wildcard to e.g. a SpanNearQuery. This patch also refactors all RewriteMethods and Attributes in MTQ (class was unmaintainable).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035096 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 23:13:46 +00:00
Yonik Seeley 18c317a1e6 SOLR-236: grouping - fix NPE if rows=0, add prototype string grouping speedup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035074 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 21:34:10 +00:00
Yonik Seeley a73f5e279c SOLR-2236: random testing for grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035064 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 20:45:03 +00:00
Yonik Seeley 19697da59f SOLR-2236: random testing support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035060 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 20:19:58 +00:00
Mark Robert Miller d699bec7ee raise another timeout for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034994 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 13:26:49 +00:00
Michael McCandless 8c1ecb0ef0 fix intermittent fail: prevent unexpected merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034977 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 11:09:36 +00:00
Michael McCandless da01024477 fix intermittent fail: prevent unexpected merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034975 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 11:01:28 +00:00
Michael McCandless 3a994f36ad LUCENE-2759: fix MockDirWrapper to catch opening file for input that's still open for output; fix 2 cases where we could do that
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034921 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 00:33:39 +00:00
Yonik Seeley ef0b5cd553 SOLR-236: default group.sort to sort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034890 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 21:45:58 +00:00
Michael McCandless 6e28ea8fff LUCENE-2758: fix intermittent fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034804 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 16:43:12 +00:00
Michael McCandless 5f4872152d don't mark merged reader with 'hasChanges' if delCount == 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034763 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 14:23:53 +00:00
Mark Robert Miller 0485fd6351 raise another timeout for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034752 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 13:18:11 +00:00
Mark Robert Miller 20c7f9064d raise another timeout for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034646 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 04:51:31 +00:00
Mark Robert Miller 95d93d52c5 make test more robust to slowness
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034580 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 21:43:35 +00:00
Simon Willnauer e95fbfd1df Renamed getCodecInfo to getSegmentCodecs for consistency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034570 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 21:17:23 +00:00
Robert Muir 69313c1d47 allow static resources to be gced
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034361 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 12:06:46 +00:00
Michael McCandless 15d4b3d65e LUCENE-2576: change segments_N retry logic to re-list the directory before falling back to segments_(N-1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034342 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 11:01:21 +00:00
Shai Erera e71363700c LUCENE-2753: port 3x to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034140 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 21:22:24 +00:00
Michael McCandless 2103675ff0 minor improvements to IW's infoStream output, .toString for various classes, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034017 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 18:08:02 +00:00
Michael McCandless c23af909ad LUCENE-2118: fix separate failure in TestIndexWriter.testOptimizeMaxNumSegments2; cutover to IndexWriter.waitForMerges
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034011 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 17:58:26 +00:00
Michael McCandless 3701a49475 LUCENE-2118: fix intermittent failure in TestIndexWriterMergePolicy.testMaxBufferedDocsChange
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034007 13f79535-47bb-0310-9956-ffa450edef68
2010-11-11 17:37:36 +00:00
Simon Willnauer b8d51b6ce0 LUCENE-2742: Enable native per-field codec support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1033577 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 16:36:31 +00:00
Michael McCandless c715623936 LUCENE-2576: fix one case of intermittent failure (unclosed files when using PreFlex codec)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1033417 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 11:23:00 +00:00
Robert Muir e3232c3289 this 'Priv' wrapper trick isn't portable (seems to work on sun-only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1033074 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 16:34:34 +00:00
Grant Ingersoll 48cfdf0738 trunk only works w/ 1.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1033003 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 15:01:07 +00:00
Grant Ingersoll f2fa2538db LUCENE-2746: add TM to some of the logos, don't have an editor for the others
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032995 13f79535-47bb-0310-9956-ffa450edef68
2010-11-09 14:35:28 +00:00
Robert Muir cc87ac007c simpletext: don't make string for every p here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032786 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 23:32:43 +00:00
Robert Muir 81f8363e51 simpletext: dont create string for every d/p
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032783 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 23:21:32 +00:00
Robert Muir 2e730465b2 SOLR-2211: add UAX29TokenizerFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032776 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 22:40:56 +00:00
Robert Muir ccc4b55bec improve test coverage for the single segment case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032570 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 13:56:18 +00:00
Robert Muir 1a8e2ac596 LUCENE-2743: remove assumption, test is fast now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032557 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 12:22:45 +00:00
Koji Sekiguchi 44b77b4f40 SOLR-2221: DIH: use StrUtils.parseBool() to get values of boolean options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032446 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 02:29:24 +00:00
Koji Sekiguchi 7e1e45bfb9 SOLR-1973: Empty fields in update messages confuse DataImportHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032433 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 00:58:31 +00:00
Koji Sekiguchi 4d0d625e7e use URLDataSource instead of deprecated class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032192 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 01:26:31 +00:00
Yonik Seeley 6f0292db27 tests: test that filter query applies to result grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032109 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 16:30:25 +00:00
Simon Willnauer acacf16ee2 removed super.setParam call since superclass does not understand the param syntax for SearchTravRetVectorHighlightTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032100 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 15:53:02 +00:00
Michael McCandless c49d474454 fix tests-only ob1 in AutomatonTestUtil.getRandomCodePoint
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1032045 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 13:17:06 +00:00
Yonik Seeley d992f81da5 fix filter queries w/ grouping search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031892 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 00:40:40 +00:00
Yonik Seeley cb77786df9 SOLR-792: fix pivot facet native type representation via FieldType.toObject(indexedTerm)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031863 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 22:31:49 +00:00
Yonik Seeley 414751f445 SOLR-792: fix pivot facet native type representation via FieldType.toObject(indexedTerm)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031854 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 22:16:34 +00:00
Michael McCandless 740d556ece LUCENE-2743: speed up SimpleText codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031832 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 21:51:56 +00:00
Robert Muir 53a62306ff LUCENE-588: revert accidentally committed test speedup, sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031768 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 20:14:53 +00:00
Robert Muir a25dc8b9d5 LUCENE-588: Escaped wildcard character in wildcard term not handled correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031765 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 20:07:20 +00:00
Ryan McKinley 2bbfc85aad SOLR-2213: Upgrade to jQuery 1.4.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031722 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 19:08:07 +00:00
Michael McCandless f8f7cb4ec5 LUCENE-2744: only print number of fields w/ norms on 'test: norms....' CheckIndex output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031689 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 18:17:06 +00:00
Michael McCandless e83d2c63bb LUCENE-2744: only print number of fields w/ norms on 'test: norms....' CheckIndex output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031686 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 18:12:09 +00:00
Robert Muir a8fd6068ed LUCENE-2739: Refactor TestIndexWriter, move out term vectors writing tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031496 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 09:44:53 +00:00
Michael McCandless d29a64d182 add comment explaining why flush isn't sync'd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031480 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 09:01:51 +00:00