Commit Graph

13990 Commits

Author SHA1 Message Date
Uwe Schindler ae212ff6f6 LUCENE-3866: CompositeReader.getSequentialSubReaders() now returns unmodifiable List<? extends IndexReader>. ReaderUtil.Gather was removed, as IndexReaderContext.leaves() is now the preferred way to access sub-readers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351590 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 07:24:29 +00:00
Chris M. Hostetter f6bd05ca2f SOLR-3522: fixed parsing of the 'literal()' function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351460 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 19:03:21 +00:00
Shai Erera 7d0d55b0bf fix CHANGES issues caused by latest commits to LUCENE-4132,4108
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351339 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 13:46:58 +00:00
Adrien Grand 9cb55ddb17 LUCENE-4149: Fix test case.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351231 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 08:28:58 +00:00
Shai Erera a11013a990 LUCENE-4132: introduce LiveIndexWriterConfig, returned from IndexWriter.getConfig()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351225 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 08:09:31 +00:00
Martijn van Groningen da70cee7ff SOLR-3406: Extended grouped faceting support to facet.query and facet.range parameters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351219 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 07:16:40 +00:00
Uwe Schindler bcaa52c562 The base calculation in ReaderUtil.Gather is so complicated, add some assert to verify that it is still correct. The code lead to another bug I fixed in CompositeReaderContext long time ago (at least it explains why Simon did it wrong...)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351129 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 17:22:28 +00:00
Uwe Schindler 7f9d6b89aa LUCENE-4106: Fix duplicate FieldCache.StopFillCacheException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351108 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 13:56:10 +00:00
David Wayne Smiley 83616468a0 SOLR-3534 dismax should consult 'df' as a default for 'qf' and throw an exception when none set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351026 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 00:27:05 +00:00
Erik Hatcher 97b9307a6e Remove capitalizing of facet values. This is confusing when exact values are expected
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350890 13f79535-47bb-0310-9956-ffa450edef68
2012-06-16 08:55:05 +00:00
Robert Muir b26fe0848e add explicit test for the same token stacked on top of itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350764 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 20:02:05 +00:00
Robert Muir d13f373e15 LUCENE-4065: disable offsets checks for now, in case the ctor gets false as a param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350723 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 18:16:13 +00:00
Erik Hatcher 26cce83bc8 SOLR-3549: Fix DIH db example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350718 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 17:58:54 +00:00
David Wayne Smiley 1ed4c4d40e SOLR-3304 Removed a small bit of redundant testing that tests if [e]dismax defaults to schema defaultSearchField (already tested by TestExtendedDismaxParser). These specific tests will fail for another reason soon if left as is.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350466 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 05:42:51 +00:00
Sami Siren a440c1c1ad SOLR-139 add solrj test that exercises field update and optimistic locking
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350464 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 05:33:30 +00:00
Chris M. Hostetter 77e0c78b04 SOLR-3267: make TestSort.testRandomFieldNameSorts less wishy-washy about random strings that might produce function names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350444 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 02:00:38 +00:00
Koji Sekiguchi dd01aad660 SOLR-3542: add WeightedFragListBuilder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350436 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 01:15:26 +00:00
Michael McCandless d6a8b367d2 javadocs typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350429 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 00:02:32 +00:00
Martijn van Groningen fb1581dbbc LUCENE-4082: Added explain to ToParentBlockJoinQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350416 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 22:40:06 +00:00
Mark Robert Miller 222fb0be9d revert test change - it did not help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350357 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:20:13 +00:00
James Dyer fb4e0a644b SOLR-1958: Empty fetchMailsSince exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350269 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 14:37:51 +00:00
Sami Siren 53a1ce8d69 SOLR-3543 do not catch exceptions in JavaBinLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350199 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 11:37:42 +00:00
Sami Siren 32a1fe42d0 remove single sleep, poll
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350195 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 11:15:56 +00:00
Koji Sekiguchi d22b00ea16 typo: bost -> boost
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350074 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 02:10:52 +00:00
Chris M. Hostetter 49b9a671fe SOLR-2599: CloneFieldUpdateProcessorFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350050 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 22:57:48 +00:00
Uwe Schindler ff9268e067 LUCENE-4137: BaseCompositeReader should throw exception if docids overflow
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350047 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 22:46:41 +00:00
Robert Muir ee0d911d77 LUCENE-4135: checkDateFormatSanity needs to handle ParseException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349992 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 18:59:22 +00:00
Robert Muir 6c459114c3 check that response code is 200 before comparing bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349979 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 18:22:40 +00:00
Michael McCandless 6071ad98c1 fix intermittent test failure: make sure reader pooling is on before we start the index threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349897 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 15:03:53 +00:00
Adrien Grand a71c3e7147 FST.pack: Add a link to Dawid's paper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349837 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:35:58 +00:00
Adrien Grand fb8be86ec8 Update Kuromoji dictionary following changes in FST serialization format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349830 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:17:30 +00:00
Michael McCandless 85d7deda7d add more details on test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349828 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:13:33 +00:00
Adrien Grand 4104901e64 LUCENE-4120: FST.pack: Use packed integer arrays for improved memory efficiency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349826 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:12:44 +00:00
Robert Muir 9182f9f907 beef up test for deletes a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349802 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:39:39 +00:00
Robert Muir 3c69abe29f add stress test for postings reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349795 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:30:54 +00:00
Robert Muir 8f57bd7ea5 LUCENE-4142: AnalyzerWrapper doesn't work with CharFilters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349758 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 11:22:40 +00:00
Sami Siren 7fe65fcbb8 SOLR-3540 set data dir for core0 so that tests don't clash
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349671 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 07:58:34 +00:00
Sami Siren 34082f1a44 SOLR-3541 add missing solrj dependencies to binary package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349664 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 07:41:41 +00:00
Sami Siren a15a51276d SOLR-3511 be less aggressive when killing overseer during the test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349633 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 04:40:43 +00:00
Robert Muir 3b4602a94e fix bad assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349622 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 03:04:35 +00:00
Yonik Seeley 476e83cd4e use ms resolution for replication tmp dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349612 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 02:21:17 +00:00
Robert Muir d0d6478f8a test for correct shift operator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349601 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 01:02:05 +00:00
Robert Muir 919f9ce695 LUCENE-4085: improve TestBackwardsCompatibility to test Lucene 4.x features
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349510 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 20:42:19 +00:00
Simon Willnauer bc9a59a692 LUCENE-4136: reduce checkpoint frequency on regular test vs. nightly to reduce worst case duration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349502 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 20:18:40 +00:00
Robert Muir 362a046571 LUCENE-4139: compute offsets correctly for multivalued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349452 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 17:30:33 +00:00
Michael McCandless 0057c039be javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349437 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 16:55:28 +00:00
Yonik Seeley 97b0066023 logging: improve replication logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349378 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 14:48:16 +00:00
Koji Sekiguchi 2210749fbd LUCENE-4133: FVH: A weighted approach for ordered fragments, part of LUCENE-3440
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349361 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 13:59:37 +00:00
Robert Muir 4b212a7c4f sanity check offsets in checkindex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349349 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 13:42:50 +00:00
Adrien Grand 2397fb9d65 LUCENE-2357: Changing acceptableOverheadRatio from FAST to COMPACT.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349234 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 10:27:27 +00:00