Commit Graph

17883 Commits

Author SHA1 Message Date
Alan Woodward 3f8064c90a SOLR-4914: Close OutputStreamWriter properly, use System.getProperty("line.separator") instead of \n
Fixes Windows test failures.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502468 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 08:25:36 +00:00
Shalin Shekhar Mangar 506a7924e1 SOLR-4997: The splitshard api doesn't call commit on new sub shards before switching shard states. Multiple bugs related to sub shard recovery and replication are also fixed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502458 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:32:13 +00:00
Adrien Grand d24f6c2f5f LUCENE-5100: BaseDocIdSetTestCase.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502448 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:13:47 +00:00
Alan Woodward 5a42052fba SOLR-4914: Factor out core discovery and persistence logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502276 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 16:35:01 +00:00
Grant Ingersoll aade0000a6 SOLR-5010: single field handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502247 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 15:31:58 +00:00
Alan Woodward 417f1ba3b4 SOLR-5028,SOLR-5029: Fix ShardHandlerFactory creation and persistence
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502231 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 14:15:35 +00:00
Uwe Schindler 748cb61e82 SOLR-4916: Fix bugs & usage of NullIndexOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502167 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 09:34:36 +00:00
Uwe Schindler f4557be8c1 SOLR-4916: Re-add missing log="download-only"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502147 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 08:31:11 +00:00
Steven Rowe b2bc345a60 SOLR-4916: Move MiniDfsCluster test dependencies from solr test-framework to solr-core; download solr-core test dependencies to solr/core/test-lib/ instead of solr/core/lib/; download DIH test dependencies to solr/contrib/dataimporthandler/test-lib instead of [...]/lib/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502105 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 04:03:24 +00:00
Yonik Seeley 90d792dd1d tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502006 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 21:19:26 +00:00
Yonik Seeley 884ed33b39 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501978 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:43:41 +00:00
Yonik Seeley 020d816f42 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501967 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:28:01 +00:00
Yonik Seeley 9a77cfbba0 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501950 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:06:06 +00:00
Yonik Seeley ed9d17b991 tests: use json utility method for single quoted json
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501941 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:54:21 +00:00
Yonik Seeley 8607f3b76e tests: add regex capability to JSON test format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501933 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:34:56 +00:00
Adrien Grand f45358ebc1 LUCENE-5081: WAH8DocIdSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501925 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:24:24 +00:00
Mark Robert Miller 7d1e3ba363 SOLR-5018: The Overseer should avoid publishing the state for collections that do not exist under the /collections zk node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501916 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:06:27 +00:00
Mark Robert Miller 6455dec1e0 SOLR-4943: Add a new system wide info admin handler that exposes the system info that could previously only be retrieved using a SolrCore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501898 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 18:28:00 +00:00
Adrien Grand 3eed8a6c55 Avoid javadocs containing only @return statements since they make the method summary blank.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501875 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 17:47:11 +00:00
Erik Hatcher c3bc304aaf SOLR-4991: Register QParserPlugins as SolrInfoMBeans
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501863 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 17:27:08 +00:00
Yonik Seeley 7f1765f1fa tests: use single quoted json for readability
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501809 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:54:35 +00:00
Mark Robert Miller 2310ab22f0 SOLR-5026: org.apache.solr.store.blockcache.BlockDirectoryTest.testRandomAccessWrites would pass a 0 to random#next on 0 file size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501781 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:05:52 +00:00
Grant Ingersoll f007cde66d SOLR-5010: switch to lists for copy fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501715 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 10:55:38 +00:00
Uwe Schindler 46e83f7e60 SOLR-5022: Make the Maven build also automatically populate the tests.disableHdfs property by a build profile. Otherwise the maven build fails by default on Windows.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501678 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 08:51:17 +00:00
Koji Sekiguchi b3acba47e7 fix typo in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501639 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 03:39:13 +00:00
Uwe Schindler d36efc1fe1 SOLR-5022: Pass-through disableHdfs to Maven Surefire
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501595 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 22:41:48 +00:00
Adrien Grand 4adf7c5c10 LUCENE-5084: Move Elias-Fano encoding from Lucene 4.4 to 4.5...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501577 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 21:53:12 +00:00
Adrien Grand f3ca2faaf9 LUCENE-5084: EliasFanoDocIdSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501576 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 21:49:04 +00:00
Yonik Seeley 4617b8da89 tests: don't log expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501498 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 19:50:34 +00:00
Yonik Seeley fd914505ea SOLR-5020: add DelegatingCollector.final()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501376 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 16:54:55 +00:00
Uwe Schindler 2734af0c56 SOLR-5022: Make it possible to disable HDFS tests on ANT command line (so ASF Jenkins can use it). Windows is disabled by default, too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501278 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 14:08:48 +00:00
Steven Rowe e52e98e2f7 Add Lucene 4.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501091 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 05:12:38 +00:00
Steven Rowe 8ad221ee8e SOLR-5010: tweak CHANGES.txt entry to refer to full copyFields creation capabilities
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501054 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 03:46:11 +00:00
Grant Ingersoll 450854e0c5 SOLR-5010: clean up plus POST support on schema/copyfields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501047 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 02:24:39 +00:00
Uwe Schindler b8858ab1ca Update svnkit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501011 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 23:19:37 +00:00
Uwe Schindler 16639538c4 Update build dependencies (Groovy, Pegdown)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501007 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 23:11:36 +00:00
Robert Muir 20a6de0241 SOLR-5012: optimize search with filter when filterCache is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501004 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 23:05:58 +00:00
Yonik Seeley 5b257ac4df SOLR-5019: don't modify original filter list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500903 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 19:39:42 +00:00
Uwe Schindler f092795fe9 LUCENE-5097: Analyzer now has an additional tokenStream(String fieldName, String text) method, so wrapping by StringReader for common use is no longer needed. This method uses an internal reuseable reader, which was previously only used by the Field class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500862 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 17:55:48 +00:00
Grant Ingersoll 33d014f3aa SOLR-5010: add copy field support to the REST API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500737 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 14:00:23 +00:00
Shalin Shekhar Mangar 6e638c8460 SOLR-4978: Time is stripped from datetime column when imported into Solr date field if convertType=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500666 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 11:30:40 +00:00
Shalin Shekhar Mangar e98616b8f1 SOLR-4788: Multiple Entities DIH delta import: dataimporter.[entityName].last_index_time is empty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500652 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 11:11:58 +00:00
Erick Erickson 89ea939a4a Fix broken test checked in with SOLR-4982
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500354 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 02:25:49 +00:00
Alan Woodward 1402e51c70 Move SOLR-4948 CHANGES.txt entry to 4.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500316 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 19:30:36 +00:00
Erick Erickson 3b640360fd Fix for SOLR-4982, creating cores with sysprops does not dereference them properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500284 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 14:45:47 +00:00
Uwe Schindler 0f3e2dd245 Fix broken generics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500243 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 11:48:02 +00:00
Robert Muir f549dc94ff improve variable name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500181 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 00:44:19 +00:00
Uwe Schindler f134d0856b SOLR-5009: CHANGES.txt now only list SOLR-5009 as part of SOLR-4948
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500166 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 23:15:07 +00:00
Uwe Schindler 852b1c79f3 SOLR-5009: fix issue number
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500157 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 22:56:45 +00:00
Uwe Schindler 568f6a398a SOLR-5009: Don't create multiple SolrResourceLoaders for same Solr home, wasting resources and slowing down startup. This fixes the problem where the loader was not correctly closed, making tests fail on Windows.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500156 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 22:45:28 +00:00