Commit Graph

16797 Commits

Author SHA1 Message Date
Mark Robert Miller d3accc58e6 SOLR-4413: Fix SolrCore#getIndexDir() to return the current index directory.
SOLR-4469: A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be  propagated.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447089 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 22:13:35 +00:00
Mark Robert Miller d51e6f2c29 SOLR-4417: Reopen the IndexWriter on SolrCore reload.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447084 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 21:46:13 +00:00
Mark Robert Miller 608998e97c tests: setup to setUp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447075 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:39:09 +00:00
Mark Robert Miller aee1929695 tests: fix compare bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447071 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:34:01 +00:00
Robert Muir 6fb178efe2 speed up newSearcher a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447040 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 16:42:36 +00:00
Robert Muir 32a43cd1ee LUCENE-4775: speed up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447034 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 16:00:44 +00:00
Steven Rowe 2c95e26af2 LUCENE-4570: Added ForbiddenAPI checks to the Maven build using the ForbiddenAPI Mojo; also removed redundant maven-surefire-plugin configurations in Solr modules' POMs after putting a shared configuration in the Solr parent POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446991 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 02:18:56 +00:00
Robert Muir 3e8bd1e420 beef up tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446990 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 02:14:41 +00:00
Robert Muir 4991491bda file formats
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446988 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 01:16:53 +00:00
Robert Muir a4af217886 Merged /lucene/dev/trunk:r1446754-1446983
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446985 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:45:22 +00:00
Robert Muir 4c9dc9e0cc remove all nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446982 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:24:30 +00:00
Mark Robert Miller 534d8b170e tests: improve cm tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446981 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 00:22:57 +00:00
Robert Muir 5a1a9a27c0 add simpletext sorted_set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446977 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 23:09:19 +00:00
Uwe Schindler 2d60ca9bbd Update forbiddenapis to 1.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446961 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 22:11:55 +00:00
Mark Robert Miller 902e34af55 tests: improve some cloud tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446935 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 20:21:33 +00:00
Robert Muir a74122ef64 clear nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446932 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:57:02 +00:00
Robert Muir 7414c909e2 port test to DV api
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446930 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:38:42 +00:00
Mark Robert Miller b6ca8acdaa SOLR-4467: CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446929 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:20:57 +00:00
Mark Robert Miller b800d08400 SOLR-4467: Ephemeral directory implementations may not recover correctly because the code to clear the tlog files on startup is off.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446928 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:20:05 +00:00
Mark Robert Miller 7dd591ba5d tests: raise default so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446927 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:18:35 +00:00
Mark Robert Miller d540b8e122 SOLR-4421,SOLR-4165: Fix wait loop to sleep, reduce max wait time, wait min 1 second
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446926 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:17:43 +00:00
Robert Muir 34a0e90d05 add test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446925 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 19:14:14 +00:00
Adrien Grand e61398084d SOLR-3855: Doc values support.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446922 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 18:50:20 +00:00
Mark Robert Miller 384d42b5e3 SOLR-4421,SOLR-4165: On CoreContainer shutdown, all SolrCores should publish their state as DOWN.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446914 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 16:59:53 +00:00
Robert Muir 33e60bf352 add all-on-disk codec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446911 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 16:21:00 +00:00
Robert Muir b69a50fb12 add on-disk SortedSet impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446903 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 15:10:06 +00:00
Adrien Grand 156e036022 LUCENE-4780: MonotonicAppendingLongBuffer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446896 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 14:02:42 +00:00
Mark Robert Miller 3a4103d19b SOLR-4459: The Replication 'index move' rather than copy optimization doesn't kick in when using NRTCachingDirectory or the rate limiting feature.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446833 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 01:27:57 +00:00
Robert Muir 8b4207e278 Merged /lucene/dev/trunk:r1445907-1446753
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446801 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 22:58:27 +00:00
Robert Muir 1a12ff7b5c LUCENE-4779: replace old TestSort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446777 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 21:19:11 +00:00
Robert Muir 3d0bd71f49 LUCENE-4779: add remaining tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446776 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 21:17:36 +00:00
Robert Muir af05ac30c4 LUCENE-4779: add missing values tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446762 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 20:58:54 +00:00
Robert Muir 2e40152c14 LUCENE-4779: add custom parser tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446741 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 19:40:37 +00:00
Mark Robert Miller a7630e88c2 LUCENE-4778: Add a getter for the delegate in RateLimitedDirectoryWrapper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446729 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 19:14:12 +00:00
Robert Muir 283f16686b LUCENE-4779: exercise all sorting collectors in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446727 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 19:00:24 +00:00
Mark Robert Miller 2ab630b840 SOLR-4463: Fix SolrCoreState reference counting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446716 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 18:32:31 +00:00
Steven Rowe e0454efd7c SOLR-4462: downgraded Solrj httpcore dependency from 4.2.3 to 4.2.2, and added comments to solrj/ivy.xml describing versioning for httpcomponents httpmime and httpcore, based on httpclient version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446713 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 18:09:13 +00:00
Robert Muir 3572f7a351 fix documentation-lint
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446665 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 16:09:53 +00:00
David Wayne Smiley f46e33ede8 LUCENE-4770: Optional SpatialPrefixTree getNodes simplification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446452 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 06:02:27 +00:00
Mark Robert Miller c2166b9dfa spell fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446449 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 05:46:59 +00:00
Robert Muir ce81eb1c5c LUCENE-4779: add docvalues and reverse tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446440 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 03:30:22 +00:00
Robert Muir 5e688d6512 LUCENE-4779: factor out collector tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446430 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 02:31:15 +00:00
Robert Muir 21b4268c3c LUCENE-4779: more simple tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446427 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 02:14:55 +00:00
Robert Muir 7e02f0fb4b nuke these nocommits by using openbitset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4765@1446411 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 00:25:49 +00:00
Robert Muir 873aca8ec9 LUCENE-4779: factor out testEmptyIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446257 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 16:13:05 +00:00
Robert Muir b17b827eca LUCENE-4779: pull out more standalone tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446226 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 15:07:45 +00:00
Robert Muir 4cca2b258d LUCENE-4779: pull out test completely unrelated to sorting into its own test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446213 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 14:46:15 +00:00
Robert Muir 157ba7389e LUCENE-4779: pull out a few good standalone tests from TestSort into TestSort2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446209 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 14:42:22 +00:00
Robert Muir 0160c32a73 LUCENE-4779: add replacement for TestSort
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446202 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 14:31:39 +00:00
Robert Muir 9797b73c48 don't assert in close(), check docCount in finish()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446144 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 12:34:54 +00:00